Encrypt any file with a password using AES-256-GCM, entirely in your browser, and decrypt it again later. Each file is checked before download.
Initializing in your browser…
Encrypt text with a passphrase using AES-256-GCM, or encode and decode Caesar, Vigenere, Base64, Morse and more, with each method's real strength explained.
Password-protect a PDF with AES-256, choose what readers may do, or change the password of a protected PDF.
Percent-encode and decode URLs as you type in four character sets, build query strings, and take any URL apart parameter by parameter.
You want to email a short text file containing account details, protected by the passphrase "correct horse battery".
File and password
small.txt, 45 bytes Password: correct horse battery (typed twice)
Result
Strength: 124 bits if chosen at random Encrypted: small.txt.tbxenc, 171 B Decrypted again and compared: identical to the original original SHA-256 b47cc0f104b62d4c7c30bcd68fd8e67613e287dc4ad8c310ef10cbadea9c4380 round trip SHA-256 b47cc0f104b62d4c7c30bcd68fd8e67613e287dc4ad8c310ef10cbadea9c4380 AES-256-GCM in 1 authenticated chunk PBKDF2-HMAC-SHA256, 600,000 iterations, recorded in the file 45 B in, 171 B out (126 B of header and authentication tags)
The 45-byte file grows by 126 bytes: a header holding the format version, the iteration count and a random salt, the encrypted file name and type, and a 16-byte authentication tag for each part. The tool then opens the new file with the same password and compares fingerprints, and both SHA-256 values match, so the file can be sent with confidence. The recipient chooses Decrypt, drops in small.txt.tbxenc and types the passphrase to get small.txt back; a single wrong character in the password, or a single changed byte in the file, is reported instead of producing garbage.
Lock any file with a password using AES-256-GCM, the same strong encryption used by banks and messaging apps, and open it again later on this page. Everything happens in your browser, so the file and the password never leave your device, and every encrypted file is checked by opening it again before you download it.
Choose Encrypt, drop in a file of any type, and type a password twice. The tool turns the password into a 256-bit key with PBKDF2-HMAC-SHA256, using 600,000 iterations by default, the figure OWASP currently recommends, and a random salt so the same password never produces the same key twice. The file is then encrypted with AES-256-GCM in 1 MB chunks, each with its own authentication tag, so large files are handled piece by piece and any change to the encrypted file is detected when it is opened. The result downloads with a .tbxenc extension. The original name and file type are stored inside the encryption too, so the encrypted file reveals nothing about what it contains except its approximate size.
Before you download, the tool decrypts the new file again and compares a SHA-256 fingerprint of the result with the original, for files up to 100 MB. If they did not match, it would tell you not to delete the original. You can switch this check off under More options for speed.
To open a file, choose Decrypt, drop in the .tbxenc file and enter the password. Every setting needed to decrypt is stored in the file itself, the iteration count and salt included, so there is nothing to choose. The tool tells you plainly what went wrong when something does: a wrong password, a file that was altered after encryption, a file that is incomplete, or a file that was not made by this tool. Files made by an older version of the tool still open; those encrypted with AES-CBC, an option that version offered, are marked, because that mode cannot detect tampering.
Your password is the only key. There is no recovery and no back door, so a forgotten password means a lost file. While you type, the tool estimates the password's strength in bits and how long a high-end graphics card would need to guess it if it had been chosen at random. A long passphrase of several unrelated words is both easier to remember and much harder to guess than a short password with symbols. Passwords are normalised to the standard Unicode form before use, so a password with accented letters works however your keyboard produces them.
This tool is ideal for protecting a document before emailing it, storing a backup in the cloud, or putting sensitive files on a USB stick. It is not a replacement for full-disk encryption, and the person you share a file with needs the password and this page, or a program that implements the same documented format, to open it.
Encrypt a tax return or a contract before attaching it, and give the recipient the password by phone or another channel, never in the same email.
Encrypt files before uploading them to a cloud drive, so the provider stores only data it cannot read.
Keep personal files encrypted on a memory stick that could be lost, or on a computer other people use.
Encrypt a ZIP of old records for long-term storage; the format stores everything needed to open it again later.
The file cannot be opened. There is no reset or recovery, by design: anyone who could recover it for you could also open it without you. Store the password in a password manager.
No. Reading, encrypting and decrypting all happen inside your browser. The page never sends the file or the password over the network.
It is the standard choice for strong encryption today, used in TLS, disk encryption and messaging apps. In practice the weak point is the password: a long, random passphrase makes the file effectively impossible to open without it.
Turning your password into a key runs 600,000 rounds of PBKDF2 on purpose. It takes a fraction of a second for you, but it makes every guess an attacker tries just as slow.
Each chunk carries an authentication tag. If even one byte of the encrypted file changed, for example through corruption or tampering, the tag no longer matches and the tool refuses to return the altered data.
The format is documented: a header with the settings, then AES-256-GCM chunks keyed with PBKDF2-HMAC-SHA256, so any program that implements it can decrypt the file with the password. Keep a copy of the original too if you might need it without this tool.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.