
Encode and decode text or files to and from Base64.
Encrypt and decrypt text with AES-256-GCM and a PBKDF2 passphrase key, entirely in your browser.
Your files never leave your device. Everything runs in your browser.
Text Encrypt / Decrypt turns a message and a passphrase into a Base64 payload that only the same passphrase can turn back. The work happens with the Web Crypto API: PBKDF2 derives a 256-bit key from the passphrase, and AES-GCM encrypts the text with it.
The parameters as implemented are PBKDF2-HMAC-SHA256 with 150,000 iterations and a random 16-byte salt, a 256-bit AES-GCM key, and a fresh random 12-byte IV for every encryption. The output is three dot-separated Base64 values: salt, IV and ciphertext. The ciphertext includes the GCM authentication tag, so a modified payload fails to decrypt.
Security therefore rests on the passphrase. A short or reused passphrase can be guessed offline, and there is no recovery path: lose it and the data is gone. The implementation has not been independently audited, so treat it as a convenient way to move text rather than a replacement for mature encryption tools when the stakes are high.
correct horse battery staple and text meet at the old bridge produced 1CNqwun2IsR8EvyZASMA4A==.vSgq/1QUcW9My4iZ.n6GjvRQWgj7Mw0NW9VEqgHZXAQATqr0SArEBw8do4b5UFGhSGlM=, and decrypting it returned the original sentence. The three parts are 24, 16 and 52 Base64 characters: a 16-byte salt, a 12-byte IV and a 39-byte ciphertext.PBKDF2-HMAC-SHA256 derives a 256-bit key with 150,000 iterations and a 16-byte salt, then AES-256-GCM encrypts with a 12-byte IV. The GCM authentication tag is part of the ciphertext.
No. There is no backdoor, no hint and no reset; the passphrase is the only key.
No. Key derivation, encryption and decryption run in the browser, and nothing is uploaded or stored.
Because a new random salt and IV are generated for every encryption. Both are stored in the payload, which is why it still decrypts correctly.
Only with an implementation that reads salt.IV.ciphertext and uses the same PBKDF2-HMAC-SHA256 parameters and iteration count. The payload does not identify them, so the other tool has to be configured to match.
It provides confidentiality and integrity for the ciphertext, but real security depends on the passphrase and on how you handle the payload. GCM does nothing to stop someone guessing a weak passphrase.
Related security tools: Base64 Encoder, Password Generator, Passphrase Generator.
Encryption and decryption happen in your browser; the passphrase and the text are never uploaded or stored.