Encrypt text in your browser without uploading it
Encrypting locally means the plaintext and the passphrase never leave your machine, which is the only arrangement in which the claim to have encrypted something means anything. Strength then rests entirely on the passphrase.
At a glance
- Tool
- /tools/aes-encryption
- Algorithm family
- AES
- Stays on your machine
- The plaintext, the passphrase and the result
- What determines strength
- The passphrase, not the algorithm
- If the passphrase is lost
- The content is not recoverable
- What it does not hide
- That an encrypted message exists, its size, and who you sent it to
In detail
A remote encryption service is a contradiction in terms. To encrypt something for you it has to receive the plaintext, and usually the passphrase along with it, so at the exact moment of use your confidential content is sitting in the clear on somebody else's machine. Doing it locally is not a preference about convenience; it is the only version of the operation that is coherent.
AES has never been the weak point, and it is not the thing to worry about. A short, memorable or reused passphrase is. Generate a long random one rather than inventing something you will remember, and accept that you have now traded a confidentiality problem for a key management problem, which is the real difficulty in every encryption story ever told.
Getting the passphrase to the other person is the part people fumble. The ciphertext and the passphrase have to travel by different routes, because anyone reading the single channel you used for both has everything. Sending an encrypted file and its passphrase in the same thread is the most common mistake here, and it undoes the entire exercise.
Verify by disconnecting the network before you type anything sensitive. Encrypt, copy the result, then reconnect. Nothing you typed, and no passphrase you used, was in a position to go anywhere, which is exactly the guarantee a hosted encryption form cannot offer no matter what it says.
Things that catch people out
- Lose the passphrase and the content is gone. That is the design, not a fault, and there is no recovery path.
- Never send the ciphertext and the passphrase through the same channel.
- Encryption hides content, not the existence of the message, its size, or who it went to.
- Encrypting a copy leaves the original where it was. Deal with the plaintext file, the draft in your notes and the version sitting in a sent folder as well.
Try it: Hash Generator
The file hasher is on every page here because it takes any file at all and proves the point: disconnect from the network, drop a file in, and it still returns a checksum you can compare against a published one.
Hash Generator
LOCAL · Browser-OnlyGenerate MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, Keccak-256, CRC32, and HMAC hashes from text or files
MD5 is cryptographically broken and should not be used for security purposes. Use SHA-256 or SHA-512 instead.
Related Working without uploading
All working without uploading →Generate a password without a server seeing it
Create passwords in your browser. A password produced by a remote service is a password that existed on somebody else's machine first.
Base64 encode a file without uploading it
Encode files or text in your browser, with a URL-safe variant and line wrapping. Base64 is a transport encoding, never encryption.
Hash a file without uploading it
Checksum a file in your browser with SHA-256 and eight other algorithms. A hash proves the bytes match; it keeps nothing secret.
Generate a QR code without uploading what it encodes
Make a QR code in your browser. The payload never leaves, and the result points where you said rather than through somebody else.
Merge PDF files without uploading them
Combine PDFs on your own machine. What merging does to the metadata of every source document, and how to check nothing was sent.
Split a PDF without uploading it
Pull pages out of a PDF on your own machine. Why a single extracted page still carries the whole document's properties with it.
Tools for this
- AES Encryption Tool Free online AES encryption tool - encrypt and decrypt text using AES-256 encryption
- Password Generator Strong password generator online - generate secure random passwords that never leave your browser
- Base64 Encoder/Decoder Base64 encode and decode online - convert text to Base64 or decode Base64 strings instantly, free