ZapKit

Encrypt & Decrypt Text with a Password

Turn a private note into unreadable text locked with a password, using AES-256 encryption, and unlock it again whenever you need it.

What is text encryption?

Text encryption converts readable text into ciphertext that can only be turned back with the right key. With password-based encryption, the key comes from a password you choose, so anyone with the password can read the message and nobody else can.

People use it to store recovery codes, private notes or account details in cloud notes, to send a sensitive message over an ordinary chat or email, or to keep information in a shared document that only some people should read. This tool uses authenticated AES-256-GCM and runs entirely in your browser.

How to use the Encrypt

  1. 1.Type or paste the text

    A note, a list of codes, an address, anything private.

  2. 2.Choose a strong password

    A passphrase of four or more words is ideal.

  3. 3.Share or store the result

    Send the password a different way, such as a call or another app.

Example: a short private note

Encrypting a 13-character note with a password:

Output
Base64 text of about 80 characters
Contents
"ZK1", 16-byte salt, 12-byte nonce, ciphertext and 16-byte tag
Encrypt again
a completely different string
Wrong password
"Wrong password, or the encrypted data has been changed."

Only the right password turns the block back into the original note.

Real encryption, not a scramble

The password is stretched with PBKDF2-SHA-256 over 600,000 iterations, the level OWASP recommends, into a 256-bit AES-GCM key. A fresh random salt and nonce are used every time, so encrypting the same text twice gives different results, and GCM detects any tampering when decrypting.

The output is plain Base64 text that pastes safely into email, chat or a notes app. Your text and password never leave the page. Security depends on the password, so a short or guessable one can be cracked offline.

Frequently asked questions

Can you recover my text if I forget the password?

No. Nobody can, which is the point. Keep the password somewhere safe.

Is AES-256 secure?

Yes. It's the standard used by governments and banks; the weak point is usually the password.

Why is the encrypted text different each time?

A new random salt and nonce are used for every encryption, so identical messages don't look identical.

Can other tools decrypt it?

Not directly: it uses this tool's own layout of salt, nonce and ciphertext. Decrypt it here.

More Developer tools