Loona Automation logoLoona Developer Tools
Home › Encoders & Decoders

Caesar Cipher (Shift Cipher)

In short: shift every letter by a fixed amount of your choice — the cipher Julius Caesar used for military messages. Set the shift, choose encode or decode, and convert.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

Hello

Output:

Khoor

About this converter

The Caesar cipher substitutes each letter with the one a fixed number of places further along the alphabet (wrapping from Z back to A). Caesar reportedly used a shift of 3; ROT13 is the shift-13 special case. With only 25 possible shifts, the cipher falls to brute force instantly — trying every shift and picking the readable one takes seconds by hand — which makes it a teaching tool and puzzle staple rather than security. Its real modern value is pattern intuition: frequency analysis (E is the commonest English letter) breaks it without even trying all shifts, and that same idea, scaled up, is how classical ciphers of every kind were defeated.

Frequently Asked Questions

How do I decode without knowing the shift?

Try all 25 shifts and read the outputs — the correct one is the only readable text. That is exactly why the cipher is not secure.

Does it handle other alphabets?

This implementation shifts A–Z and a–z only; other characters pass through. Historical Caesar ciphers worked on the alphabet of their language.

What is the difference from ROT13?

ROT13 is the Caesar cipher fixed at shift 13, which uniquely makes encoding and decoding the same operation.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.