Home › Blog › How to encrypt text with a password
Security and Password Tools guide

How to encrypt text with a password

To keep notes or messages private, encrypt them before saving or sending. The key is derived from your password with PBKDF2, and encryption happens in your browser.

Open the Text Encryption tool

Step by step

  1. Enter your text. Type or paste the text.
  2. Choose a password. Use at least 8 characters; longer is better.
  3. Encrypt and copy. Copy the encrypted text. Decrypt it later with the same password.

Tips for better results

  • Use a long, unique password. A weak password makes strong encryption pointless.
  • There is no recovery: if you forget the password, the text cannot be decrypted.
  • Send the password through a different channel than the encrypted text.

Limits to know

  • Formats: Plain text in, Base64 text out
  • Size: Limited by browser memory
  • Notes: Works only with text produced by this tool (format JTP1). Not compatible with other encryption tools. There is no password recovery.

At a glance

ToolText Encryption
CategorySecurity and Password Tools
Works withPlain text in, Base64 text out
Size limitLimited by browser memory
Where it runsIn your browser tab; your input is not uploaded
CostFree, no sign-up

Frequently asked questions

How secure is it?

It uses AES-256-GCM with a key made from your password by PBKDF2-SHA-256 (250,000 rounds) and a random salt and IV. It is only as strong as your password.

Can you recover my text?

No. Nothing is sent to us and we do not have your password.

Where do I decrypt it?

Use the Text Decryption tool on this site with the same password. The format is specific to JavaToolPro.

If something does not work

  • The result says a value is invalid. Check that every field has a number in the allowed range; the message names the field.
  • The numbers look different from another calculator. Rounding, rate and date conventions differ between calculators. Compare the assumptions shown with the result.
  • The page does not update. Reload it and try again; if it still fails, report it.
  • Is the answer advice? No. Results are estimates for general information.

Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.

Related tools and guides

More tools like this are in Security and Password Tools, or browse all tools.