Encrypt Online
Theme

Encrypt Text Online

Create a password-protected AES-GCM envelope, or choose a legacy format when an older system requires it.

Encrypt a value
Add text and a passphrase to enable encryption.
AES-256-GCMLegacy compatibility
Encrypt Online Encryption Tool

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.

Encrypt a value
  1. Keep AES-GCM selected for new encrypted values.
  2. Paste the text you want to encrypt.
  3. Enter a passphrase to secure the data.
  4. Click "Encrypt" and copy the output on the right.
Algorithms on this page

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.

Decrypt later

Use the Decrypt Tool with the same passphrase.

Text this tool can handle

You can encrypt any text value, including:

  • Text
  • Strings
  • JSON
  • YAML
  • Config files
  • Logs and API payloads
Before you share

Run a decrypt test first. The recipient needs the same format support and passphrase, and the passphrase should travel through a different channel from the encrypted text. Visit the Guides section for deeper explanations and best practices.

Encryption is not encoding

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.

Need Base64 instead?

Use the Base64 Encode tool when you need text-safe encoding without encryption.

FAQ
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; older values need the matching legacy selection.

EO
Maintained by Encrypt Online. Encrypt, decode, hash, inspect certificates, and troubleshoot tokens in your browser. Read more on the About page.