Codes and ciphers

Classic ways to hide or send a message, from Roman shift ciphers to Morse code and the phonetic alphabet. Great for puzzles, escape rooms, classrooms and history buffs. Each tool explains how the cipher works and how it can be broken.

Atbash Cipher

Swap each letter with its mirror in the alphabet (A↔Z, B↔Y…). Atbash is its own inverse: run the result through again to get the original back.

Caesar Cipher

The oldest-known substitution cipher: every letter moves the same number of places along the alphabet. Encode or decode with a shift you choose, or see every shift side by side to crack a message without the key.

Encrypt Text with a Password

Type a message and a password to turn it into encrypted text that you can paste anywhere or share as a link. The recipient opens it here and types the same password to read it. Uses AES-256-GCM with a key derived from the password by PBKDF2 (600,000 rounds), all with your browser’s built-in cryptography.

Morse Code Translator

Turn text into Morse code or decode Morse back into text, then listen to it at your chosen speed and pitch. Includes letters, numbers, punctuation and common accented letters.

NATO Phonetic Alphabet Translator

Type a name, booking code or serial number and get it spelled with the international (ICAO/NATO) radio alphabet, with digits too. The full alphabet is shown for reference.

Playfair Cipher

A Victorian-era cipher that encrypts letters two at a time using a 5×5 square built from a keyword. Encode or decode, with the key square and the letter pairs shown so you can follow it by hand.

Polybius Square and Tap Code

Encode text as row-and-column number pairs with the ancient Greek Polybius square, or as the tap code knocked between prison cells, and decode either back to letters. The 5×5 grid is shown for reference.

Rail Fence Cipher

Write a message in a zigzag across a number of rails, then read it off one rail at a time. Encode or decode with 2 to 20 rails and see the zigzag pattern drawn out.

ROT13 & Caesar Cipher

Encode or decode text with ROT13 or any Caesar shift from 0 to 25. Move the slider to see how the alphabet lines up, and the result updates as you type.

Scytale Cipher

Encrypt and decrypt with the scytale, a transposition cipher from ancient Greece: a strip wound around a rod. Choose the number of turns and see the message written on the rod.

Vigenère Cipher

The classic keyword cipher: each letter is shifted by the matching letter of a repeating key. Encode or decode, with the key’s shifts shown so you can check the work by hand.