
Web Scripts & Software
DEV3 Cipher Decoder & Encoder — Source Code (React + Tailwind)
from $29
Live demoLoading…
Developer tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Try an example
Shifts every letter a fixed number of places along the alphabet.
Named for Julius Caesar, who according to Suetonius used a shift of three to protect military messages. With only 25 useful keys it is broken instantly by trying them all.
Bars: letters in the result. Dashed lines: typical English. Index of coincidence of the input: 0.0889 (English about 0.067, random about 0.038).
Need Cipher Decoder & Encoder built into your own product? We build it as a full app, API and admin included. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The cipher decoder & encoder stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Skip the build: ready-made apps with the code included. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demoPick a cipher, type or paste your text, and the result updates as you type. Use the Encode / Decode switch to choose the direction. Everything runs in your browser.
Each cipher has a short explanation and a history note beside the result.
The Crack tab runs two automatic attacks. For Caesar it tries every shift and scores each result against English letter frequencies with a chi-squared statistic. For Vigenère it finds the likely key length with the index of coincidence and the Kasiski examination, then recovers the key letter by letter. Longer text gives better answers: aim for at least 100 letters for Vigenère.
The chart compares the letters in your text with typical English. A flat chart suggests a polyalphabetic cipher such as Vigenère, while a chart with the English shape but moved letters suggests a simple substitution or shift.
Open the Crack tab. The tool tries all 25 shifts and ranks them by how closely the letter frequencies match English (a chi-squared score), so the correct plaintext is normally at the top. Short messages of under about 20 letters can be ambiguous, so check the top three.
Caesar shifts every letter by the same amount, so it has 25 keys. Vigenère uses a keyword and shifts each letter by the matching keyword letter, so one plaintext letter can become several different cipher letters. That hides single-letter frequencies, but repeating keys still leak the key length.
It estimates the key length from the index of coincidence of every n-th letter (English is near 0.067, random near 0.038) and from repeated trigram distances (the Kasiski examination). Then it solves each key column as a Caesar cipher. It needs roughly 100 or more letters to be reliable.
No. Every cipher here is a historical or educational method and can be broken by a computer in moments, most of them by hand. Use them for puzzles, geocaching, escape rooms and learning. Use modern encryption such as AES for real secrets.
The multiplier a must share no factor with 26 so the cipher can be reversed. Valid values are 1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23 and 25. The b value can be any number from 0 to 25.
Caesar, ROT13, Atbash, Vigenère, Beaufort and Affine keep case, spaces and punctuation. Playfair, Bacon and Polybius work on letters only, treat J as I where the square needs it, and output groups. Rail fence moves every character, spaces included.