Secret Message Encoder
Encode or decode text with Caesar, ROT13, Atbash, Vigenere, Base64, URL, Morse or binary as you type, or encrypt it with AES-256-GCM in your browser.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Secret Message Encoder
Encode or decode text with Caesar, ROT13, Atbash, Vigenere, Base64, URL encoding, Morse or binary, or encrypt it with AES-256-GCM in your browser.
A secret message encoder turns readable text into a code and back again. With a Caesar shift of 3, HELLO becomes KHOOR; this tool also does ROT13, Atbash, Vigenere, Base64, URL encoding, Morse and binary as you type. For a message that must actually stay private, encrypt it with AES-256-GCM and a passphrase, entirely in your browser.
How to use Secret Message Encoder
Type into the Message box, which starts on "Meet me at the old bridge at nine.", and pick an Algorithm: Caesar shift, ROT13, Atbash, Vigenere (keyword), Base64 (RFC 4648), URL percent-encoding (RFC 3986), Morse code (International) or Binary (8 bits per byte).
Set Direction to Encode or Decode; Caesar adds a "Shift (k)" field defaulting to 3 and Vigenere a "Keyword (letters only)" field defaulting to LEMON. For real confidentiality, type a "Passphrase (8 characters or more)" and press "Encrypt the message above".
The read-only Result box fills as you type, with Algorithm, input and output characters/bytes and FNV-1a fingerprints listed underneath; AES output appears separately as AES payload (or Decrypted message when decoding), and "Copy output" copies whichever is present.
Why use Secret Message Encoder
Checked against known answers
Base64 reproduces the RFC 4648 test vectors (foobar gives Zm9vYmFy) and Vigenere reproduces the classic LEMON example, both covered by the tool's own tests.
Honest about security
Classical ciphers are labelled as puzzles; only the AES panel claims confidentiality.
Nothing leaves the browser
All encoding and the Web Crypto AES work happen locally on your device.
Common use cases
- Building a treasure-hunt clue in Caesar or Atbash and decoding the answer to check it
- Decoding a Base64 blob pasted out of an API response or a config file
- Sending a note that genuinely must stay private, using the AES-256-GCM panel and a shared passphrase
Frequently asked questions
Is ROT13 or Base64 actually secure?
No — neither hides anything. ROT13 is a Caesar shift of 13 with no key at all, and Base64 is a printable representation of bytes that any tool can reverse in a keystroke. Use the AES-256-GCM option when the message genuinely needs to stay private.
Link to answerHow does the Vigenere cipher work?
Each plaintext letter is shifted by the letter of a repeating keyword: C = (P + K) mod 26, where A shifts by 0 and Z by 25. With the keyword LEMON, the classic example ATTACKATDAWN encrypts to LXFOPVEFRNHR. Punctuation and spaces pass through and do not consume key letters.
Link to answerHow many PBKDF2 iterations should be used for AES encryption?
This tool uses 600,000 iterations of PBKDF2-HMAC-SHA256, the figure given in the OWASP Password Storage Cheat Sheet. Each message also gets a fresh 16-byte random salt and a 12-byte IV, and the iteration count is stored in the payload so it can be decrypted later.
Link to answerWhat does SOS look like in Morse code?
Three dots, three dashes, three dots — written ... --- ... with single spaces between letters. This tool uses International Morse code, separates letters with one space and words with a forward slash, so HI THERE encodes as .... .. / - .... . .-. . Characters with no Morse code are skipped and listed under the result.
Link to answerHow do I decode a secret message?
Set Direction to Decode, pick the scheme the sender used and paste the coded text into Message; the Result box fills in as you type. Caesar needs the same shift and Vigenere the same keyword: KHOOR with shift 3 decodes to HELLO. ROT13 and Atbash need no key, because applying them twice returns the original.
Link to answerHow do I decrypt an AES message someone sent me?
Set Direction to Decode, paste the whole JSON payload into Message, type the shared passphrase and press "Decrypt the payload above". A wrong passphrase or an altered payload fails the GCM authentication check and shows an error instead of garbled text.
Link to answer