LogMeOnce
DownloadAbout
Free Security Tool · No Registration

Text Encryption Tool

Encrypt text in your browser using an encryption passphrase. Losing that passphrase means losing access to the plaintext.

Use the Text Encryption Tool

Encrypt text locally with passphrase-derived AES-256-GCM encryption.

Interactive tool controls

Do not reuse a real password you rely on. Clear the field when finished.

Do not reuse a real password you rely on. Clear the field when finished.

Ready.

← View All Free Tools

What Is a Text Encryption Tool?

Text encryption converts readable text into ciphertext that can only be read with the right key; this tool derives the key from your passphrase.

How to Use This Tool

  1. Enter the text in a trusted browser.
  2. Enter or generate a strong encryption passphrase.
  3. Encrypt and copy the complete versioned envelope.
  4. Keep the passphrase separately and clear the form.

How It Works

AES-256-GCM encrypts UTF-8 text with a 128-bit authentication tag. PBKDF2-SHA256 derives the key from the passphrase using 600000 iterations and a fresh random 16-byte salt; every encryption uses a fresh random 12-byte nonce. A versioned envelope retains the version, algorithm and KDF identifiers, iteration count, salt, nonce, and ciphertext including the tag. Base64 encodes binary fields; it is not encryption. The paired decryptor must validate the supported version and parameters.

Benefits and Use Cases

  • Keep plaintext out of an upload workflow.
  • Detect ciphertext modification during authenticated decryption.
  • Retain the parameters needed by the paired decryptor.

Security Best Practices

  • Keep a tested backup of the passphrase.
  • Send the passphrase through a separate channel.
  • Use a trusted device because local processing cannot stop malicious extensions.

How Do I Read the Results?

Share the encrypted text and the passphrase through different channels; without the passphrase it cannot be recovered.

Assumptions and Limitations

Security depends on passphrase strength; lost passphrases cannot be recovered.

Related LogMeOnce Resources

Sources and Further Reading

Frequently Asked Questions

Can the passphrase be recovered?

No recovery mechanism is provided; retain it securely before relying on the encrypted output.

Why include the salt and nonce?

They are nonsecret cryptographic parameters needed to derive the same key and decrypt the message.

Does Base64 protect the text?

No; Base64 is only a transport encoding for the binary envelope fields.

Can I edit the encrypted output?

Changes can invalidate the format or authentication tag and prevent decryption.

Does encryption hide message length?

No; output size reveals approximate plaintext length and the envelope is not an anonymity system.

Published by LogMeOnce. Last updated November 27, 2026.

Keep your accounts easier to protect

Store generated credentials in your secure vault and simplify safer sign-ins with LogMeOnce.

Create a free LogMeOnce account