X Xerobit

ROT13 / Caesar Cipher

Encode and decode ROT13 (the classic 13-letter shift) and any Caesar cipher with shift −25 to +25. Bonus: brute-force "show all 26 shifts" view for cracking unknown-shift ciphers without effort.

Try every shift (frequency analysis)
Show all 26 candidate decryptions →
Type or paste text. ROT13 is its own inverse.

Live Market Insight

DataForSEO · 2026-04-25
Cluster volume
73,300
"caesar cipher" + variants
CPC
$7.66
Cluster size
3 kws
Top competitor
rot13.app
2/10 SERPs — weak

What is a Caesar cipher?

A Caesar cipher shifts every letter by a fixed amount in the alphabet. Shift 1: A → B, B → C. Shift 13 (ROT13): A → N, B → O. Non-letter characters (digits, punctuation, spaces) pass through unchanged. Named after Julius Caesar, who used a shift of 3 to encrypt military messages around 50 BCE.

Why ROT13 specifically?

Shift 13 is special because the English alphabet has 26 letters — applying ROT13 twice gets you back to the original. So one tool encodes and decodes. ROT13 was popular on Usenet in the 80s–90s as a mild "spoiler protection" — readers had to deliberately decode to read the answer to a riddle or the ending of a movie.

Is this real encryption?

No. Caesar ciphers are trivial to break — there are only 26 possible shifts, and modern letter-frequency analysis can crack any text longer than ~30 characters. They're useful for:

For real secrecy, use AES-GCM via WebCrypto, libsodium, or a battle-tested library. Never roll your own crypto for production.

The brute-force "all shifts" view

If you don't know the shift used, expand the "Show all 26 candidate decryptions" panel below the tool. Visually scan the 26 lines — the readable English text is your answer. Frequency analysis (the most common letter in English text is E, second is T) accelerates this even more, but with only 26 options, eyeballing is fast enough.

Caesar variants beyond ROT

This tool only does Caesar (single-shift). Vigenère and Affine are on the roadmap as separate tools.

Frequently asked questions

Why is ROT13 the default?

It's the most-searched and most-used Caesar variant. The exact-keyword cluster ("caesar cipher", "rot13", "rot13 decoder") is one of the surprisingly large search verticals on the web.

Does case matter?

Both upper- and lowercase letters are shifted independently and case is preserved in the output. Hello → Uryyb.

Negative shifts?

Yes. Shift −13 is equivalent to shift +13 (because 26 − 13 = 13). Shift −1 maps B → A. Negative shifts are useful when you know the message was encoded with a positive shift and you need to reverse it.

Is this safe to paste sensitive text into?

The tool runs entirely in your browser. But again — Caesar isn't security. Don't paste your bank PIN. Paste a riddle's answer.

Related tools

Pillar

Part of Encoding & Crypto.


Written by Mian Ali Khalid. Last updated 2026-04-25.