what is it
pagecrypt is a free tool that locks a single html file behind a password. you upload a page, choose a password, and it hands you back a new, encrypted version of that same page. anyone who opens the encrypted file gets a password prompt instead of the actual content, and only typing the correct password reveals the page underneath.
the encryption and password check both happen entirely in the visitor's browser using javascript, there's no server involved at any point, not even pagecrypt's own server. that also means the tool works on literally any host, including neocities, since you're not relying on any special server feature to check the password, the password check is baked directly into the html file itself.
what it's for
a few common uses:
- sharing a page only with a specific group of people (patrons, close friends, a private commission preview) without building a whole login system.
- hosting something semi-private on a free static host like neocities, which has no built in way to require a password for a page.
- gating a page temporarily, like an early access page or a draft you want feedback on before it goes public.
how to use it
- go to pagecrypt.lupine.dev.
- step 1, choose html file: upload the
.htmlfile you want to protect. - step 2, choose password: type your password, then type it again to confirm.
- step 3, protect: click submit. the tool encrypts the file right there in your browser and automatically downloads the protected version.
- upload that downloaded file to your site (replacing the original, or under whatever filename you like) and you're done. visitors will see a password prompt instead of the page content.
things to keep in mind
- there's no password recovery. if you forget the password, the only way back in is re-running the original, unprotected file through pagecrypt again with a new password, so keep a safe copy of the original file somewhere.
- the password never leaves your browser, pagecrypt's own creator points out you can check this yourself by looking at the tool's source code, which is public on github.
- this protects a single page, not folders or whole sites. to protect several pages, run each one through the tool separately.
- it's meant for casual gating, not for protecting anything highly sensitive, someone with technical knowledge could still attempt to brute force a weak password against the encrypted file, so pick something that isn't easy to guess.