Caesar Cipher Encoder

Type a message, pick a shift, choose Encode or Decode, then Transform. Letters move along the alphabet by N while spaces, digits, and punctuation pass through unchanged.

Updated 2026-08-07 · Utilities

Click Transform.

About this tool

A Caesar cipher rotates A–Z and a–z by a fixed offset. This tool accepts any integer shift and normalizes it modulo 26, so 29 behaves like 3 and negative values wrap correctly. Decode applies the inverse shift. It is not limited to a fixed ROT13 offset.

How to use

  1. Open the encoder: Load the page with Text, Shift, Mode, and Transform.
  2. Enter your message: Type or paste the plaintext or ciphertext you want to process.
  3. Set shift and mode: Choose an integer shift and Encode or Decode from the Mode list.
  4. Transform: Click Transform and copy the Result line from the output panel.

Common use cases

Tips

FAQ

How is this different from ROT13?

ROT13 always shifts by 13; here you choose any integer shift (normalized mod 26).

What happens with shift 29?

It wraps with mod 26, so 29 acts like a shift of 3.

Are lowercase and uppercase preserved?

Yes. Case is kept; only the letter identity moves within its alphabet.

Why was my shift rejected?

Non-integer shifts fail validation. Use whole numbers such as 3 or -5.

Related keywords

Related tools