Convika

این صفحه هنوز به فارسی نیست و به انگلیسی نمایش داده می‌شود.

Preview free, no signup

Password protect an HTML file and share it as a link

Drop the .html file ChatGPT, Claude, or Gemini made, or paste its code, and get a preview link in seconds. Then keep the page behind a password on Pro, $12 a month.

Drop an .html file, folder, or .zip here

.html, .htm, or .zip, up to 2 MB in all

No file handy?

6,077 pages turned into links so far, 464 in the last 24 hours

Without an account, your preview link stays live for 3 minutes. Create a free account to keep your page.

Preview mode turns off scripts and forms. Sign up for a free account and publish to run scripts.

How it works

  1. 1

    Upload the HTML file

    Drop the .html file or a .zip of the page's files, or paste the code. You get a preview link that works for 3 minutes, with no account. The preview has no password.

  2. 2

    Choose the password

    Click Keep it with a password and sign up. The page moves into your account, and publishing opens on Only people with the password. Type a password of 8 to 128 characters and start Pro, $12 a month, charged when you subscribe.

  3. 3

    Send the link and the password

    The page goes live behind the password once Pro is paid. Send the link in one message and the password in another. Anyone who opens only the link sees the password screen.

Why a password script in the HTML file doesn't protect it

A JavaScript password prompt checks the password in the visitor's browser. By then the browser has downloaded the whole file, so the password and the hidden text are both in View Source. Convika checks the password on its server and sends none of the page until it is right.

What your visitors see

  • A password screen at your link, with one field.
  • None of the page until the password is right: the server answers 401, with neither the page's title nor its text.
  • After the right password the page opens, and that browser remembers it for 7 days.
  • After too many wrong passwords in a row, a wait before the next try.
  • Search engines see only the password screen, which is marked noindex.

Questions about password protecting an HTML file

Is it free to password protect an HTML file?

The upload and the preview link are free, with no signup. The password comes with Pro, $12 a month, charged when you subscribe. Without Pro you can keep the page free, as a public page.

Can someone read the page without the password?

No. Convika checks the password on its server before it sends the page, so a visitor's browser gets none of the page's text until the password is right. A password script written into the HTML file is different: the browser downloads the whole file first.

Does the preview link have a password?

No. The preview link is a temporary link without a password, and it works for 3 minutes. The password protects the page you publish from your account.

Can I change the password or update the page later?

Yes. On Pro, Page password in Page settings changes or removes it. A new password shows the password screen again to everyone who entered the old one. A new version published at the same link keeps the password.

What happens to the page if I stop Pro?

It never becomes public by itself. When Pro ends without payment, a page behind a password goes offline. Choose Pro again, or publish it as a public page on Free, to bring it back.

What can I upload?

One .html or .htm file up to 2 MB, pasted code, or a .zip of a page's files, which the box combines into one HTML file in your browser.

Guides on sharing a page with only some people