Turn files or a short message into one encrypted HTML file. The recipient opens it in a browser, types the password, and downloads the originals. Nothing is uploaded.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsPassword
At least 8 characters. If you forget it, the file can't be opened.
The note and hint are shown to anyone who opens the file, before the password is entered. Don't put the password or anything sensitive in them.
Original size
0 B
Estimated HTML size
6 KB
Encrypt a file into a single HTML page
This tool encrypts your files or text with AES-256-GCM, entirely in your browser, and packs the result into one HTML file. The file contains the encrypted data and a small unlock page. There is nothing to install and no account to create.
The recipient opens the HTML file in any current browser, enters the password, and downloads the original files. The password is never written into the file, so anyone without it sees only encrypted data.
It works well when you need to send something sensitive to a person who cannot install software or sign up for a cloud service. Send the file by email or chat, and give the password through a different channel, such as a phone call or text message.
When to use this instead of a ZIP file or cloud link
Sending a contract or financial document by email
Attach one HTML file and share the password by phone or text. The recipient opens it in a browser and does not need an account on any service.
Sharing a customer or employee list
Spreadsheets with personal details cause real harm if they leak. Without the password, a stolen copy of the HTML file shows only encrypted data, including the file names.
Passing along a short secret
Switch to text mode to encrypt a Wi-Fi password, a recovery phrase, or a short instruction without creating a file first.
Reaching someone who can't install or sign up for anything
Family members, clients, or vendors on locked-down computers can still open a browser. That is all this method requires.
How to encrypt and send a file in 4 steps
- Choose File or Text, then add the files (up to 10) or type the message you want to encrypt.
- Set a password. Use the dice button to generate a random one, and check the strength meter.
- Optionally add a note or hint for the recipient. These are not encrypted and are shown before the password is entered.
- Click Encrypt and Create HTML File, download the result, and send it. Share the password separately, such as by phone or text message.
Note: Use the copy button to get ready-made instructions for the recipient and paste them into your email.
Before you send: password and size tips
- Send the password through a different channel than the file. If both travel in the same email thread, anyone who can read that mailbox gets both.
- If the password is lost, the file cannot be opened by anyone, including this site. Save it in a password manager first.
- The HTML file is about one-third larger than the original. Over 25 MB in total, creating and sending it can take a while.
- Some email systems block or strip HTML attachments. Ask the recipient to confirm they received it, and have a backup way to deliver it.
ZIP vs. HTML vs. share link: how to send a sensitive file
A quick comparison of three common ways to send a protected file. The right choice depends on what the recipient can use.
| Method | Recipient needs | Account required | Works offline |
|---|---|---|---|
| Password-protected ZIP | An unzip app that supports the encryption method used | No | Yes |
| Encrypted HTML (this tool) | A current web browser | No | Yes |
| Cloud share link | A browser and internet access | Depends on the service | No |
How to choose
If the recipient may not have a particular unzip app or a cloud account, an encrypted HTML file is the simplest thing to open. If you need to withdraw access after sending, a cloud link that lets you disable it is the better fit.
Whichever method you use, send the password through a different channel than the file.
AES-256-GCM and PBKDF2: what the encryption does
What happens to your data between clicking the button and receiving the HTML file, based on how the tool is built.
What is encrypted
Your file contents, file names, file types, and sizes are bundled together and encrypted as one block. The note and hint are the only parts left readable, because the recipient sees them before entering the password.
How the password becomes a key
Your password is not used as the key directly. PBKDF2 with SHA-256 combines it with a random 16-byte salt and repeats the calculation 250,000 times to produce a 256-bit key. That repetition makes every guess slower for someone trying many passwords.
Why GCM mode matters
AES-GCM encrypts the data and also authenticates it. If the password is wrong or the file has been damaged or altered, decryption fails and the page shows an error instead of returning garbled data. Each generated file gets a fresh random 12-byte nonce.
What encryption can't protect
A strong cipher does not help if the password is easy to guess or travels with the file. A short or common password can be guessed no matter how strong AES-256 is. Use the random generator or a long passphrase, and never put the password in the note or hint.
Common mistakes when sending encrypted files
The password goes in the same email as the file
If someone gains access to that mailbox, they get the file and the password together, and the encryption protects nothing.
π‘ See the solutionβΌ
The password is weak or easy to guess
A name, a date, or a word like 'password1' can be guessed far faster than a random string, even with strong encryption underneath.
π‘ See the solutionβΌ
The password is lost after the file is created
The tool does not store passwords. Without the password, the HTML file cannot be opened by anyone.
π‘ See the solutionβΌ
The recipient's email blocks HTML attachments
Some mail systems remove or quarantine .html files, so the message arrives without the attachment or does not arrive at all.
π‘ See the solutionβΌ
The file is too big for email
The HTML file is about one-third larger than the original, so a 20 MB file can exceed the attachment limit of many email services.
π‘ See the solutionβΌ
Encrypted HTML file FAQ
Q.What is a self-decrypting HTML file?
A. It is a single .html file that contains your data in encrypted form, plus a small page that asks for the password. When the recipient opens it in a browser and enters the correct password, the page decrypts the data on their device and offers the original files for download.
Q.Does the recipient need special software or an account?
A. No. They open the HTML file in a current browser such as Chrome, Safari, Edge, or Firefox, enter the password, and download the original files. The generated page makes no network requests, so it also works without an internet connection.
Q.Are my files or password uploaded anywhere?
A. No. Encryption runs in your browser using the Web Crypto API, and decryption runs in the recipient's browser when they open the generated file. The tool does not send your files or password to a server, and the password is not stored in the generated file.
Q.How strong is the encryption?
A. Files are encrypted with AES-256-GCM. The key is derived from your password with PBKDF2 (SHA-256, 250,000 iterations) and a random 16-byte salt. The cipher is strong, but the real limit is your password, so use the random password button or a long passphrase. The tool requires at least 8 characters.
Q.What if I forget the password?
A. There is no recovery. The password is not saved anywhere, so nobody, including this site, can reset it or open the file. If you lose it, encrypt the original files again with a new password and resend them. Store the password in a password manager before you send the file.
Q.Is there a file size limit?
A. You can add up to 10 files at a time. The tool has no hard size cap, but everything is processed in your browser's memory, so very large files can be slow or fail. It shows a warning when the total goes over 25 MB. The HTML file is about one-third larger than the original because the data is Base64-encoded.
Q.My email system blocks HTML attachments. What can I do?
A. Some email systems block or strip .html attachments. You can ask the recipient to check with their IT team, send the file through a file-transfer service instead, or rename it to .txt for sending and ask the recipient to rename it back to .html before opening. Confirm with the recipient that it arrived.
Q.Are the note and password hint encrypted?
A. No. The optional note and hint are stored as plain text in the HTML file and are shown before the password is entered. Anyone who has the file can read them, so never put the password or sensitive details in those fields. File names, file types, and file contents are encrypted.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.