UtilitySansar
Encoding

Caesar Cipher / ROT13

Encode or decode text with the classic Caesar shift cipher. Adjust the shift from 0 to 25 with a slider, jump to ROT13, or scan a clickable brute-force list of all 26 shifts to crack a hidden message.

  • Published
  • Last reviewed

Tool Summary Answer Block

This tool accepts structured input and returns deterministic output in the browser with no server upload.

Tool name
Caesar Cipher / ROT13
Input intent
Provide source content to transform, validate, or analyze.
Output intent
Receive normalized output suitable for copy, reuse, or debugging.
Example input
Attack at dawn!
Example output
Nggnpx ng qnja!
12letters+13shift
Non-letters (digits, punctuation) are left untouched.
Show all 26 shifts (brute-force preview)

Tool Introduction

Encode or decode text with the classic Caesar shift cipher. Adjust the shift from 0 to 25 with a slider, jump to ROT13, or scan a clickable brute-force list of all 26 shifts to crack a hidden message.

Tool Overview

The Caesar cipher shifts each letter a fixed number of positions through the alphabet. ROT13 is the well-known case where the shift is 13, which makes it self-inverse — encoding twice returns the original. Digits, punctuation, and spaces pass through untouched. This tool converts live as you move the slider, includes a ROT13 preset and an Invert button to flip the shift for decoding, and shows every one of the 26 possible shifts so you can pick the one that turns ciphertext into readable English. It is a classical cipher for puzzles and learning — it offers no real cryptographic security, since trying all 26 shifts breaks it instantly.

Use Cases

  • Hide a spoiler or answer with ROT13 the way forums do
  • Create or solve a Caesar-cipher puzzle for a class or escape room
  • Brute-force an unknown shift to reveal a hidden message
  • Demonstrate how a substitution cipher works while teaching cryptography
  • Quickly encode a short note that only needs casual obfuscation

Input/Output Examples

ROT13 (shift 13). Punctuation is left unchanged.
Input Intent
Attack at dawn!
Output Intent
Nggnpx ng qnja!
Decoding a shift of 3 (invert to -3).
Input Intent
Khoor Zruog
Output Intent
Hello World

FAQ

Is the Caesar cipher secure?+
No. It is trivially broken by trying all 26 shifts — exactly what the brute-force panel does. Treat it as a learning or puzzle tool, never as real cryptography.
How do I decode a message?+
Use the Invert button to flip your current shift, or open the brute-force list and click the row whose output reads as normal text.
What is ROT13?+
ROT13 is a Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying it twice returns the original text, which is why forums use it to hide spoilers.
Does it shift non-English letters?+
The shift applies only to the 26 letters A–Z (in either case). Digits, punctuation, spaces, and characters from other alphabets pass through unchanged.

Explore More Tools

Discover related utilities in the Encoding category below.

Browse all Encoding

Related tools

Handpicked utilities you might find useful