ToolsKit

Text Encryptor

Encrypt and decrypt text with a password using AES-GCM.

Encrypt a message with a password using AES-GCM and PBKDF2, then decrypt it later with the same password.

Loading the interactive tool… This page needs JavaScript to run the Text Encryptor.

How to use Text Encryptor

  1. Enter the value or choose the generation settings you need.
  2. Run the operation in the browser.
  3. Review the generated or transformed result.
  4. Copy or download only what you actually need.

How Text Encryptor works

Choose Encrypt or Decrypt, enter a passphrase of at least 6 characters and the text. A key is derived from the passphrase with PBKDF2 (600,000 iterations of SHA-256, with a random salt), and the text is encrypted with AES-256-GCM using a random IV. The output begins with tk1. and is Base64. Decrypting needs the full output and the same passphrase; a lost passphrase cannot be recovered.

Worked example

Input mode Encrypt, passphrase hunter22, text hi → Output: a string starting tk1. that differs each time. Decrypting it with hunter22 returns hi.

Common uses

  • Protecting a short note before pasting it into an email or chat.
  • Storing a sensitive snippet in a document under a passphrase.
  • Trying out authenticated encryption without installing software.

Best for

  • sharing private notes
  • protecting small secrets
  • learning cryptography

Tips for better results

  • Choose a long, unique passphrase.
  • Never paste private credentials or secrets unnecessarily.
  • Use cryptographically secure generation for passwords and identifiers when the tool provides it.
  • Hashing is not encryption, and a digest should not be treated as reversible.

Frequently asked questions

Can you recover a lost password?

No. The password is never stored, so lost passwords cannot be recovered.

Which algorithm is used?

AES-GCM with a key derived via PBKDF2 and a random salt and IV.

Is my data sent to a server?

No. This tool runs in your browser, so what you enter stays on your device.

Related tools

Explore tool categories