More
More
Encrypt & Decrypt Text or Files
Lock text or a file with a password using AES encryption, and unlock it again.
Free tools that run in your browser. Nothing you type, open or create is uploaded to NerdBible or anyone else.
No file chosen.
Encryption uses AES-256-GCM through your browser's built in Web Crypto. The key is made from your password with PBKDF2 (SHA-256, 600,000 rounds) and a random salt, and every message gets a fresh random nonce, so encrypting the same text twice gives different results. GCM also detects any change to the encrypted text. There is no way to recover the content without the password: not here, and not anywhere else.
How to use it
- Enter a password. A long passphrase of four or more random words is strongest.
- For text, type or paste it and press Encrypt; copy the result, which starts with NBENC1:
- For a file, choose it and press Encrypt file to download a .nbenc copy.
- To read it again, use the same password with Decrypt or Decrypt file.
Questions
Is my text or file sent anywhere?
No. Everything is encrypted and decrypted by your browser on your device. The page works offline once it has loaded.
What if I forget the password?
The content is lost. The password is not stored anywhere and there is no back door, which is the point of encrypting it.
How do I send encrypted text to someone?
Send the encrypted text by one route, such as email, and the password by another, such as a phone call or a messaging app. Anyone with both can decrypt it on this page.
Is this compatible with other encryption tools?
The format is specific to this page: a version prefix, then the salt, nonce and AES-GCM ciphertext in base64. It uses standard algorithms, so it can be decrypted with any crypto library that knows the layout, but not by opening it in another app directly.
How strong is it?
AES-256-GCM is a current standard used by governments and banks. In practice the password is the weak point: a short or common password can be guessed, however strong the cipher.
About this tool
About the text and file encryption tool
This tool locks a piece of text or a whole file behind a password, so you can send or store it somewhere you do not fully trust and still be the only one who can read it. To open it again, paste the encrypted text or drop the encrypted file back in and enter the same password.
How it works
Your password is turned into an encryption key, and that key encrypts your data with AES, the same standard used by disk encryption and secure messaging. Everything is done by the Web Crypto engine built into your browser.
- Text comes out as a block of characters you can paste into an email, a chat or a note.
- Files come out as a new encrypted file to download.
- Wrong password: decryption simply fails. There is no back door and no recovery.
Tips
The protection is only as good as the password. Use a long random passphrase and send it to the other person through a different channel from the encrypted message, for example by phone if the message went by email. Keep the password safe: if it is lost, the data is gone for good.
Your text, files and password never leave your device; the page sends nothing anywhere.
Related tools
- Private Note LinkWrite a note, get a link that holds it encrypted. Nothing is stored anywhere.
- Password GeneratorStrong random passwords, passphrases and custom random strings, made on your device.
- Hash Generator & File ChecksumSHA and MD5 hashes of text or files, HMAC signatures, and checking a download against its published checksum.
- ZIP Viewer & CreatorOpen a ZIP or make one from files.