Encrypt text with 12 methods: Caesar, Vigenère, XOR, Atbash, ROT13, Base64, Morse, Binary, Hex, Affine, Rail Fence ciphers
Transform text with 12 classical ciphers and encodings: Caesar, Vigenere, XOR, Atbash, ROT13, Affine, Rail Fence, plus Base64, Hexadecimal, Binary, and Morse code. This is an educational and hobbyist tool for learning how historical ciphers work and for puzzle/CTF use. It is NOT secure encryption: do not use it to protect passwords, private keys, or any real secret. Everything runs in your browser, nothing is uploaded.
Initializing in your browser…
Convert text between 12 cases: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Sentence, and Alternating
Compare texts with side-by-side and unified diff views, line-by-line or character-level comparison, change statistics, and export to patch file
Analyze text complexity, readability, and detailed statistics
You need to store a recovery note in a shared doc but want only people with the passphrase to read it.
Input
Plaintext note + passphrase
Output
U2FsdGVkX1+… (AES-256-GCM ciphertext, salt + IV embedded, paste-safe Base64)
The passphrase is stretched with a key-derivation function and the text sealed with authenticated AES-256, so it cannot be silently altered and is unreadable without the passphrase. It runs locally, the point of client-side encryption is that you do not have to trust the page hosting it.
Transform text with 12 classical ciphers and encodings: Caesar, Vigenere, XOR, Atbash, ROT13, Affine, Rail Fence, plus Base64, Hexadecimal, Binary, and Morse code. This is an educational and hobbyist tool for learning how historical ciphers work and for puzzle/CTF use. It is NOT secure encryption: do not use it to protect passwords, private keys, or any real secret. Everything runs in your browser, nothing is uploaded.
Every method here is either a classical cipher or a reversible text encoding, all implemented in plain JavaScript that runs in your browser. None of them provide real cryptographic security, and each carries a security label in the tool (Encoding, Weak, or Moderate) to make that clear.
The substitution ciphers shift or swap letters within the A-Z alphabet and leave other characters untouched. Caesar shifts every letter by a fixed amount you choose (1 to 25); ROT13 is just Caesar with a shift of 13, which is its own inverse. Atbash mirrors the alphabet (A maps to Z, B to Y) and needs no key. The Affine cipher applies the formula (a * x + b) mod 26, where key A must be coprime with 26 (the tool restricts A to 1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23, 25 so a modular inverse exists for decryption). Vigenere is a polyalphabetic cipher that shifts each letter by a different amount derived from a repeating keyword, which hides the simple letter-frequency signature that breaks Caesar - but it falls to Kasiski examination and index-of-coincidence analysis once the key length is found.
The Rail Fence cipher is a transposition cipher: it writes your text in a zigzag across a chosen number of rails (2 to 10) and reads it back off row by row, rearranging letters without changing them. The XOR cipher combines each character code with a repeating key byte using bitwise XOR, which is symmetric (applying it twice with the same key restores the original). The remaining methods are encodings, not ciphers at all: Base64, Hexadecimal, and Binary re-express the bytes of your text in another representation, and Morse maps letters to dots and dashes. Anyone can reverse an encoding instantly without a key, so they offer zero secrecy - they are useful for transport, display, or learning, not protection.
See Caesar, Vigenere, Affine, and Rail Fence encrypt and decrypt step by step to understand substitution and transposition.
Encode clues with ROT13, Atbash, Morse, or Base64, or decode messages you have been handed in a game or challenge.
Convert text to and from Base64, hex, or binary for inspection, transport, or copying into another tool.
Demonstrate why classical ciphers fall to frequency analysis and why encodings provide no secrecy at all.
No. Every method here is a classical cipher or a reversible encoding, and all of them can be broken or trivially decoded. Do not use this tool to protect passwords, keys, or any real secret. For genuine security use modern encryption such as AES-256 or RSA in a dedicated, audited tool.
The encodings (Base64, Hexadecimal, Binary, Morse) just re-express your text in another form and need no key, so anyone can reverse them instantly. The ciphers (Caesar, Vigenere, XOR, Affine, Rail Fence) use a key, but they are classical schemes that are weak by modern standards.
Atbash, ROT13, Base64, Hexadecimal, Binary, Morse, and Reverse need no key. Caesar (shift), Vigenere and XOR (keyword), Affine (two keys), and Rail Fence (rail count) all require a key.
No. All transformation happens in your browser in plain JavaScript. Nothing is transmitted.
Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.