DevTools

Ciphers and Codes

Encrypt text with customisable historical ciphers: Caesar, Vigenère, ROT13, Atbash, Beaufort, Porta, Rail Fence, columnar transposition, Freemason Pigpen, Club Penguin and Morse Code. Learn classical cryptography with adjustable parameters.

Caesar Cipher

Shifts each letter of the alphabet by a fixed number of positions. Used by Julius Caesar for secret communications.

Current value: 3 positions
ROT13

Special variant of the Caesar Cipher with a fixed shift of 13 positions. Applying it twice returns to the original text.

Atbash

Ancient Hebrew cipher that replaces the first letter with the last, the second with the second-to-last, and so on (A↔Z, B↔Y, C↔X...).

Vigenère Cipher

Uses a keyword to apply multiple Caesar ciphers. Each letter of the key determines the shift for the corresponding letter of the text.

Current key: KEY
Beaufort Cipher

Variant of the Vigenère Cipher created by Admiral Sir Francis Beaufort. Subtracts the text from the key instead of adding.

Current key: KEY
Porta Cipher

Polyalphabetic cipher created by Giovanni Battista della Porta in the 16th century. Uses a special table where pairs of letters share the same cipher alphabet.

Current key: KEY
Rail Fence (Iron Fence)

Transposition cipher that writes text in a zigzag pattern across several "rails" and then reads row by row.

Current rails: 3
Columnar Transposition

The text is written in rows under a keyword, then read column by column in the alphabetical order of the key letters.

Current key: KEY
Morse Code

Character encoding system developed by Samuel Morse. Uses sequences of short (dots) and long (dashes) signals to represent letters, numbers and punctuation.

Letters (A-I)
A .-
B -...
C -.-.
D -..
E .
F ..-.
G --.
H ....
I ..
Letters (J-R)
J .---
K -.-
L .-..
M --
N -.
O ---
P .--.
Q --.-
R .-.
Letters (S-Z)
S ...
T -
U ..-
V ...-
W .--
X -..-
Y -.--
Z --..
Numbers
0 -----
1 .----
2 ..---
3 ...--
4 ....-
5 .....
6 -....
7 --...
8 ---..
9 ----.
Punctuation
. (period) .-.-.-
, (comma) --..--
? (question mark) ..--..
! (exclamation) -.-.--
(space) /
Note on Pigpen: Pigpen ciphers use special fonts to display symbols rendered as geometric shapes. Without the font, text remains readable as normal letters.
Pigpen Cipher (Masonic)

Geometric cipher used by Freemasons since the 18th century. Also known as the Masonic cipher or tic-tac-toe cipher. Replaces letters with geometric symbols based on grids.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Pigpen Leeson

Variant of the Pigpen cipher based on the Leeson version. Uses a different arrangement of geometric symbols while maintaining the concept of substitution by shapes.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Rosetta Stone

Decorative font with symbols inspired by the hieroglyphs of the Rosetta Stone. The original stone was a historical key to deciphering Egyptian script, not a cipher.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Masonic Cipher (Decorative)

Decorative variant of the Pigpen cipher used in Masonic contexts. Uses geometric symbols specific to the Masonic tradition.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Penguin Cipher

Cipher inspired by Masonic ciphers, created for the online game Club Penguin. Uses unique and fun symbols for secret messages.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Lucius Cipher

Decorative font inspired by mystical and occult symbols.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Bill Cipher

Based on the alphabet of the demon Bill Cipher from Gravity Falls.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Templars Cipher

Symbols inspired by the Order of the Knights Templar.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Egyptian Letters

Symbols inspired by hieroglyphs from Ancient Egypt.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Interworlds Cipher

Alternative alphabet for communication between dimensions.

Uses special font for symbols
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Code 39

Alphanumeric barcode widely used in logistics and industry. Can encode uppercase letters, numbers and some special characters.

Uses barcode font
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Code 128

High-density barcode used in packaging and transport. Supports the full 128-character ASCII character set.

Uses barcode font
Example with font:
HELLO WORLD
Normal text: "HELLO WORLD"
Note on special fonts: Special fonts are used to display the symbols. Text remains readable as normal letters without the font.
About Classical Cryptography

Classical ciphers have been used throughout history to protect sensitive information. Although they are not secure by modern standards, they are excellent educational tools for understanding the fundamentals of cryptography.

  • Substitution Ciphers: Replace letters with other letters (Caesar, ROT13, Atbash, Vigenère)
  • Transposition Ciphers: Rearrange the order of letters without replacing them (Rail Fence, Columnar)
  • Symbolic Ciphers: Replace letters with geometric symbols (Masonic Pigpen)
  • Codes: Representation systems like Morse
Security Warning

These ciphers MUST NOT be used to protect real information!

Classical ciphers can be easily broken with modern computers. For real security, use:

  • AES (Advanced Encryption Standard)
  • RSA for asymmetric cryptography
  • TLS/SSL for web communications
  • Modern password managers

This tool is for educational and entertainment purposes.