Utility Tools logo

UtilityBox – Free Online Utility Tools

Smart tools for daily tasks — no sign-up needed

Text Encryption / Decryption

Encrypt and decrypt text with AES-GCM.

Encrypt Text Online — Free AES-256 Text Encryption & Decryption

UtilityBox is a free online encryption tool for text: type a message, choose a secret key and click Encrypt to turn it into unreadable Base64 ciphertext, then decrypt it back with the same key. The default algorithm is AES-256-GCM — authenticated encryption with a key derived from your passphrase using PBKDF2 (SHA-256, 100,000 iterations) and a fresh random salt and IV every time. AES-256-CBC is available for compatibility, and Caesar, ROT13 and Base64 chips are included for puzzles and simple encoding. Everything runs in your browser through the Web Crypto API, so your message and key never leave your device.

How to Encrypt Text Online

  1. Pick an algorithm chip — AES-256-GCM (Recommended) is selected by default.
  2. In the Text Encryption panel, type or paste the message you want to protect.
  3. Keep Encrypt with a custom secret key ticked and enter a secret key of at least 6 characters, or click Generate for a random 20-character key. Save the key somewhere safe.
  4. Click Encrypt, then click Copy to copy the Base64 output and share or store it.
  5. To decrypt, paste the ciphertext into the Text Decryption panel (or click → Use in Decrypt to move it across together with the key), enter the same key and click Decrypt.

Key Features

  • AES-256-GCM (Recommended) — authenticated encryption: a wrong key or altered ciphertext makes decryption fail instead of returning garbage.
  • AES-256-CBC (Legacy) for compatibility with older systems.
  • PBKDF2 key derivation with SHA-256, 100,000 iterations and a random 16-byte salt.
  • Random IV for every encryption, so encrypting the same text twice gives different ciphertext.
  • Base64 output that already contains the salt and IV — safe to paste into email, chat or documents.
  • Generate creates a random 20-character key with the browser's secure random generator; the eye button shows or hides the key.
  • Caesar (shift 1–25), ROT13 and Base64 chips for simple ciphers and encoding — these are not secure encryption.
  • Copy buttons for both outputs and → Use in Decrypt to test a round trip.
  • 100% client-side via the Web Crypto API — free, no sign-up, nothing sent to a server.

Important: Keep "Encrypt with a custom secret key" Ticked

For AES-256-GCM and AES-256-CBC the tool encrypts with your own secret key only while Encrypt with a custom secret key is ticked (the default). If you untick it, a built-in default key is used — the same key for every user — so anyone with this tool can decrypt that output. For private messages, always keep the box ticked and use a long key of your own.

Common Use Cases

  • Storing sensitive credentials: Before saving a password, API key or private token in a shared document, cloud note or config file, encrypt it with AES-256-GCM. Only someone who knows your key can recover the original value, which adds protection if the storage location is ever compromised.
  • Online message encryption: Email, chat apps and SMS are often stored in plain text on third-party servers. Encrypt a sensitive message before sending it, then share the key through a separate channel — a phone call, a different messaging app or in person. Even if the ciphertext is intercepted, it is unreadable without the key.
  • Protecting private notes: Keep a private log or idea list in a cloud service like Google Docs or Notion without exposing the contents. Encrypt your entries before pasting them in, and decrypt them here with the same key whenever you need to read them.
  • Sharing secrets with teammates: Encrypt environment variables or tokens before sharing them in a ticket or chat message. Because encryption happens in your browser, the plain-text secret never touches an external system during the encryption step.

Frequently Asked Questions

What encryption algorithm does this text encryption online free tool use?

By default it uses AES-256-GCM. Your secret key is stretched with PBKDF2 (SHA-256, 100,000 iterations) and a random salt into a 256-bit key, and every message gets a random IV. AES-GCM is authenticated encryption, so it protects against both reading and tampering; it is the same family of cipher used to secure HTTPS. You can also choose AES-256-CBC, or the simple Caesar, ROT13 and Base64 options.

Is this online text encryptor truly free with no sign-up required?

Yes. There is no cost, no account, no subscription and no email required. Open the page, type your text, enter a secret key and click Encrypt. All processing happens in your browser using the native Web Crypto API, with no usage limits and no premium tier.

Does any data leave my device when I encrypt text online?

No. This is a fully client-side encryption tool — your plaintext, your secret key and the resulting ciphertext are processed locally by your browser's built-in Web Crypto API. No network requests are made during encryption or decryption, so the server never sees your input.

How is AES-GCM 256-bit encryption different from other online encryption methods?

AES-GCM is an authenticated mode: along with encrypting your text it adds an authentication tag, so any change to the ciphertext — or a wrong key — makes decryption fail. AES-CBC, offered here as the Legacy option, has no authentication tag; this tool rejects CBC output that does not decode to valid text, but GCM is the better choice unless you need CBC for compatibility. Caesar, ROT13 and Base64 are not real encryption and should not be used for secrets.

What happens if I lose or forget the passphrase used to encrypt text online?

There is no way to recover the original text without the exact key. With a strong key, breaking AES-256 by brute force is not practical; a short or common key is much easier to guess, so use a long one. UtilityBox never sees your key and cannot help you recover data, so store the key safely — a password manager is a good place for it.

Can I decrypt text online using the same tool?

Yes. Paste the Base64 ciphertext into the Text Decryption panel — or click → Use in Decrypt right after encrypting — make sure the same algorithm chip is selected, enter the same secret key and click Decrypt. If the key is wrong or the ciphertext was changed, you see "Failed — wrong key or corrupted data" instead of the text.

What happens if I untick "Encrypt with a custom secret key"?

The AES options then use a built-in default key that is the same for every user, so anyone with this tool can decrypt the result. That is fine for a quick test but not for private data. Keep the box ticked and enter your own key — at least 6 characters, ideally much longer — whenever the message matters.

How do I send an encrypted message to someone?

Encrypt the message with AES-256-GCM and your own secret key, click Copy and send the ciphertext by email or chat. Share the key through a different channel, such as a phone call. The recipient opens this page, selects AES-256-GCM, pastes the ciphertext into the Text Decryption panel, enters the key and clicks Decrypt.

Can I encrypt long text, multi-line content, or special characters?

Yes. The tool handles long paragraphs, multi-line text, JSON and code snippets, and all Unicode characters including emoji, Arabic, Chinese and Hindi. The output is a Base64 string you can paste anywhere. There is no character limit in the tool; leading and trailing spaces are trimmed before encryption.

How is text encryption different from Base64 encoding?

Base64 is an encoding, not encryption — anyone can decode it without a key, which is why the Base64 chip in this tool needs no key. AES encryption, by contrast, uses a secret key so that only someone with the correct key can read the message. To protect sensitive information, use AES-256-GCM with your own key.