Encrypt Text Online
Encrypt text with a passphrase and create a share link. Older formats are available for compatibility.
Use this encrypt online tool to encrypt text, strings, JSON, YAML, and configuration values. The recommended method creates a password-based AES-GCM envelope that includes the parameters the matching Decrypt Tool needs.
- Keep AES-GCM selected for new encrypted values.
- Paste the text you want to encrypt.
- Enter a passphrase to secure the data.
- Click "Encrypt," then copy the result or create a share link.
AES-GCM is the recommended default because decryption checks the authentication tag before returning text. The versioned envelope records the algorithm, salt, IV, and password-derivation settings. AES-256-CBC and 3DES remain available only for older CryptoJS or Encrypt Online values that require those formats.
Use the Decrypt Tool with the same passphrase. For an AES-GCM result, Copy share link opens that page with the encrypted text already loaded.
You can encrypt any text value, including:
- Text
- Strings
- JSON
- YAML
- Config files
- Logs and API payloads
Run a decrypt test first. A share link contains the encrypted EOE1 value, not the passphrase, so send the passphrase through a separate channel. Visit the Guides section for deeper explanations and best practices.
Encryption uses a secret to protect content. Encoding, including Base64, changes how data is represented but does not make it secret. Hashing is one-way and serves a different job again.
For a quick comparison, see our Encryption vs Encoding vs Hashing guide.
For a broader technical overview, read Browser-Side Cryptography Explained.
Use the Base64 Encode tool when you need text-safe encoding without encryption.
Does this tool store my data?
See the Privacy and Security pages for site-level data handling and tool limitations.
Which algorithms are supported?
AES-256-GCM is recommended for new values. AES-256-CBC and 3DES remain available as explicitly selected legacy compatibility methods.
What do I need to decrypt later?
Use the same passphrase with the Decrypt Tool. EOE1 envelopes identify AES-GCM automatically. A share link can load the encrypted value, but it does not include the passphrase. Older values need the matching legacy selection.