Toolnova
Text & Writing

Caesar Cipher Encoder

Encode or decode text with a Caesar cipher — choose any shift from 0 to 25, or apply ROT13 with one click.

  • 100% free
  • No signup
  • Private — in your browser
  • No watermark
Live tool · runs in your browser
Highlights

Why use Caesar Cipher Encoder?

  • Shift slider from 0 to 25 with a live alphabet-mapping preview
  • One-click ROT13 — the self-inverse shift used in online spoiler tags
  • Encode or decode mode — decoding simply applies the negative shift
  • Non-letter characters (digits, spaces, punctuation) are passed through unchanged
Overview

About Caesar Cipher Encoder

The Caesar cipher is one of the oldest and simplest encryption techniques, named after Julius Caesar who reportedly used a shift of 3 to protect his messages. Each letter in the plaintext is replaced by the letter that is a fixed number of positions later in the alphabet — wrapping around from Z back to A. Only letters are shifted; digits, punctuation and spaces pass through unchanged.

This tool lets you drag a slider to set any shift from 0 to 25, switch instantly between encoding and decoding, and apply ROT13 (shift 13) with a dedicated button. An alphabet mapping preview shows you exactly how each letter transforms for the current shift. The Caesar cipher is a classic teaching tool for cryptography concepts, but it offers no real security — anyone can crack it by trying all 25 possible shifts.

Step by step

How to use Caesar Cipher Encoder

  1. 1

    Set your shift

    Drag the slider to choose a shift between 0 and 25, or click the ROT13 button to jump straight to shift 13.

  2. 2

    Choose encode or decode

    Select "Encode" to encrypt plaintext, or "Decode" to reverse a previously encoded message.

  3. 3

    Type and copy

    Enter your text in the input box. The result appears instantly. Click Copy to grab it to your clipboard.

FAQ

Frequently asked questions

What is ROT13?

ROT13 is a special case of the Caesar cipher with a shift of 13. Because there are 26 letters in the alphabet, applying ROT13 twice returns the original text — making encoding and decoding the same operation. It is widely used online to hide spoilers.

How do I decode a Caesar cipher if I do not know the shift?

Try all 25 possible shifts (1–25) and look for the one that produces readable English. This brute-force approach is quick by hand for short messages. Our tool makes it easy — just drag the slider while watching the output change.

Does the cipher affect numbers and symbols?

No. Only the 26 letters of the Latin alphabet (A–Z and a–z) are shifted. Digits, spaces, punctuation and other characters are left exactly as they are.

Is the Caesar cipher secure?

No — it provides virtually no security. With only 25 possible keys, an attacker can try every shift in seconds. Use it for puzzles, games or learning about classical cryptography, not to protect sensitive information.

Related text & writing

See all text & writing

Browse more free tools

Explore every category in our toolbox.