Safe Encryption

Paste text, and get back an encrypted block you can keep anywhere. The encryption is ordinary 7-Zip AES-256, so the result is a real .7z archive that 7-Zip can open years from now — this page is a convenience, not a format you are locked into. Everything happens in this browser tab: nothing is uploaded, and the plain text is never written to your drive.

1 · Key

Freshly generated in your browser from crypto.getRandomValues — about 186 bits, far past anything guessable. Type your own if you prefer. Nobody can recover your text without it, including whoever runs this site.

2 · Plain text

empty

Ready.

3 · Encrypted text

empty

Getting it back without this page

The encrypted block is a real 7-Zip archive in base64. If this site ever disappears, any copy of 7-Zip still opens it — that is the whole point of using a standard format.

  1. Save the encrypted text to a file, say message.b64.
  2. Turn it back into an archive:
    base64 -d < message.b64 > message.7z     # macOS: base64 -D
    certutil -decode message.b64 message.7z    # Windows
    Or skip this step entirely by pressing Download .7z above.
  3. Read it back without ever writing the plain text to disk:
    7z x -so message.7z -p'your-key-here'
    -so prints the text to your terminal instead of extracting a file. Drop it and 7-Zip writes message.txt to the current folder, which is exactly what you may be trying to avoid.

Technically: one file (message.txt) stored with Deflate, encrypted with AES-256-CBC, key derived by 7-Zip's own function (SHA-256 iterated 219 times over a random 16-byte salt and your key as UTF-16LE). The archive header is encrypted too — 7-Zip's “encrypt file names” mode — so a stray copy on a disk gives away nothing but its size.

What this does and does not protect