AES-GCM Text Encryptor
Encrypt text locally with AES-256-GCM and a password-derived key.
Your workspace
Processed in your browserThis utility encrypts text using the AES-256-GCM algorithm. It generates a portable JSON envelope that includes the necessary parameters for decryption, such as the salt and initialization vector, while keeping your secret key protected.
How to encrypt your data
- Enter the text you wish to secure into the Input field.
- Provide a strong password. The tool uses PBKDF2-SHA256 with 600,000 iterations to derive a secure key from this password.
- Copy the resulting JSON envelope. This output contains all the metadata required for decryption on the companion tool.
Understanding the Output
The output is a JSON object containing the encrypted ciphertext and the parameters needed to unlock it. Because the salt and IV are randomly generated for every operation, encrypting the same text twice with the same password will result in different JSON envelopes. This is a standard security feature that prevents pattern analysis.
Encryption check
Input: 'Secret message', Password: 'my-strong-password'
A JSON object with fields 'v', 'algorithm', 'kdf', 'iterations', 'salt', 'iv', and 'ciphertext'.
Questions about encryption
Is my password stored anywhere?
No. All cryptographic operations occur entirely within your browser's memory. The password is used only to derive the encryption key and is discarded immediately after the operation.
What happens if I lose the password?
There is no recovery mechanism. If you forget the password, the data inside the JSON envelope cannot be decrypted. Always store your passwords in a secure password manager.
Continue your workflow
Explore more tools in this category for your next step.
Batch Checksum Manifest Generator
Create a SHA-256 JSON manifest containing original filenames, byte counts and hashes for selected local files.
BLAKE2 Generator
Hash UTF-8 text with BLAKE2b-512 or BLAKE2s-256 in your browser.
Certificate and Private Key Matcher
Sign a local random challenge with an unencrypted PKCS#8 private key and verify it using the certificate public key.
Compare Checksums
Compare two hexadecimal checksum strings while ignoring letter case and whitespace.