Encrypted Notes - AES-256
Encrypt and decrypt private notes with a password using AES-256 encryption. Everything stays in your browser -- nothing is sent to a server.
Runs in your browser. No data leaves your device.
About this tool
Encrypts a text note with a password and turns it into a Base64 string, and decrypts such strings back to the original text. It uses the Web Crypto API: PBKDF2-SHA-256 key derivation and AES-256-GCM encryption. Use it to protect a short message before sending it over a channel you do not fully trust, then share the password separately.
Features
- Encrypt and Decrypt modes (switching modes clears the text and output; editing the text or password clears the previous output)
- Key derivation: PBKDF2 with SHA-256, 600,000 iterations (the OWASP Password Storage Cheat Sheet figure for PBKDF2-HMAC-SHA256) and a random 16-byte salt, producing a 256-bit AES key
- Encryption: AES-GCM with a 256-bit key and a random 12-byte IV, so encrypting the same text twice gives different output
- Output format (since 2026-10-29): "SN2:" followed by Base64 of the iteration count (4 bytes) + salt (16 bytes) + IV (12 bytes) + ciphertext with the GCM authentication tag; the "SN2:" tag and iteration count are authenticated too
- Older notes (plain Base64 of salt + IV + ciphertext, 100,000 iterations) still decrypt, with a note suggesting you encrypt them again in the stronger format
- AES-GCM authentication: a wrong password or tampered data fails with "Wrong password, or the encrypted text was changed"; text that is not a note from this tool, or is cut short, says so instead
- Non-blocking weak-password warning while encrypting (length and character-variety check plus a short list of the most common passwords)
- Copy button and pipeline button on the result
How to use it
- Choose Encrypt, type your message and a password, then click Encrypt.
- Copy the Base64 output and send it; share the password through a different channel.
- To read it, choose Decrypt, paste the encrypted text, enter the same password and click Decrypt.
Inputs
- Encrypt: plain text (any Unicode, encoded as UTF-8) and a password
- Decrypt: a Base64 string produced by this tool and the password used to create it
Outputs
- Encrypt: a single Base64 string
- Decrypt: the original plain text
Limits and notes
- Security depends on the password. The weak-password warning is a rough check (it cannot spot every guessable password, such as a name plus a year) and never blocks you; there is no recovery, so a forgotten password means the note cannot be decrypted.
- The format is specific to this tool, so other software will not read it without reimplementing the same scheme.
- The 600,000-iteration key derivation takes a moment on older phones; the result area shows "Encrypting..." / "Decrypting..." meanwhile.
- Large notes (megabytes) work: the Base64 conversion is done in chunks. Spellcheck is off on the note so browser spell-check services never see it.
- Nothing is stored: notes, passwords and outputs exist only in page memory and are not saved to localStorage or sent anywhere.
- Needs a browser where crypto.subtle is available (secure HTTPS context).
Frequently Asked Questions
How does Secure Notes work?
Your password is stretched into a 256-bit key using PBKDF2-SHA-256 with 600,000 iterations (the figure OWASP recommends) and a random 16-byte salt via the Web Crypto API. That derived key encrypts your text with AES-256-GCM using a random 12-byte IV. The output is "SN2:" followed by the iteration count, salt, IV and ciphertext in Base64. Decryption reads the count, salt and IV back from the note.
Will notes I encrypted before still open?
Yes. Notes made before the October 2026 update used 100,000 iterations and no "SN2:" prefix; they still decrypt with the same password, and the tool suggests encrypting them again in the stronger format.
How secure is the encryption?
It uses AES-256-GCM via the Web Crypto API, an authenticated cipher, so a wrong password or altered text is detected. The encryption happens entirely in your browser -- the encrypted text never touches a server.
What happens if I forget my password?
There is no way to recover your encrypted note without the password. No server stores your password or a recovery key. This is by design -- it means nobody else can access your note either.
Can I share an encrypted note with someone?
Yes. Copy the encrypted output text and send it to them through any channel (email, chat, etc.). They can paste it into this same tool and decrypt it with the password you share separately.