Utinzo

Caesar Cipher & ROT13 Encoder/Decoder

Encode or decode text using the Caesar cipher with any shift (1–25) or ROT13. Shows letter-by-letter substitution and frequency analysis.

Result
Enter text to encode or decode.

Did this tool work for you?

AdSense336 × 280
AdSense336 × 280

How to use this calculator

  1. 1

    Select "Encode" to encrypt a message or "Decode" to decrypt one.

  2. 2

    Set the shift amount (1–25). Both sender and receiver must use the same shift.

  3. 3

    Use "ROT13" for quick reversible obfuscation (commonly used on forums for spoilers).

  4. 4

    Use "Brute Force" if you have an encoded message and don't know the shift — scan 25 possibilities.

  5. 5

    Non-letter characters (spaces, numbers) are passed through unchanged.

AdSense · 728 × 90

Frequently asked questions

What is the Caesar cipher?

The Caesar cipher is one of the oldest and simplest encryption methods. It works by shifting each letter in the message by a fixed number of positions in the alphabet. Julius Caesar reportedly used a shift of 3 to communicate with his generals. With shift 3: A→D, B→E, Z→C. It's a "substitution cipher" — every A becomes the same letter throughout the message, which makes it easy to crack by frequency analysis.

What is ROT13?

ROT13 ("rotate by 13") is a Caesar cipher with shift 13. Since the alphabet has 26 letters, applying ROT13 twice returns the original text — making it self-inverse. ROT13 is commonly used on internet forums to hide spoilers, puzzle answers, or mildly offensive jokes. It's not encryption — it's obfuscation. Anyone can decode it with this tool.

Is the Caesar cipher secure?

No. The Caesar cipher is trivially broken. There are only 25 possible shifts (1–25), so a brute-force attack takes seconds. Even without brute force, frequency analysis works: in English, E is the most common letter. Find the most common letter in the ciphertext, and it's probably E. The Caesar cipher is historically significant but should never be used for real security. For modern encryption, use AES-256 or RSA.

About caesar cipher & rot13 encoder/decoder

Free Caesar Cipher Encoder & Decoder — ROT13 Online Tool

The history of substitution ciphers

Julius Caesar used his cipher around 58 BC to communicate with Cicero and other generals. A shift of 3 was standard — simple but effective against enemies who were largely illiterate in Latin and completely unfamiliar with the concept. The Caesar cipher represents the beginning of cryptography as an intentional discipline. Over centuries, ciphers became more complex — the Vigenère cipher (1553), the Enigma machine (1919), and finally modern public-key cryptography (1970s). The Caesar cipher is the entry point for understanding why we encrypt information at all.

Breaking the Caesar cipher with frequency analysis

Frequency analysis is the key to cracking any substitution cipher. In English, the most common letters are E (12.7%), T (9.1%), A (8.2%), O (7.5%), I (7.0%), and N (6.7%). In a Caesar-ciphered text, find the most common letter — it's almost certainly the cipher for E. Subtract to find the shift, then verify with the brute-force option. This technique was first described by the 9th-century Arab mathematician Al-Kindi and effectively ended the era of simple substitution ciphers. For modern secure encryption, use AES-256 — it is resistant to all known frequency and brute-force attacks.

Caesar Cipher & ROT13 Encoder/Decoder – Utinzo

Learn more from an authoritative source:

Wikipedia
Related tools

Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →