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.
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.
Beaufort Cipher
Variant of the Vigenère Cipher created by Admiral Sir Francis Beaufort. Subtracts the text from the key instead of adding.
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.
Rail Fence (Iron Fence)
Transposition cipher that writes text in a zigzag pattern across several "rails" and then reads row by row.
Columnar Transposition
The text is written in rows under a keyword, then read column by column in the alphabetical order of the key letters.
Morse Code
Character encoding system developed by Samuel Morse. Uses sequences of short (dots) and long (dashes) signals to represent letters, numbers and punctuation.
- Use a single space to separate letters
- Use " / " (space-slash-space) to separate words
- Example: "SOS" = "... --- ..."
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) | / |
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.
Example with font:
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.
Example with font:
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.
Example with font:
Masonic Cipher (Decorative)
Decorative variant of the Pigpen cipher used in Masonic contexts. Uses geometric symbols specific to the Masonic tradition.
Example with font:
Penguin Cipher
Cipher inspired by Masonic ciphers, created for the online game Club Penguin. Uses unique and fun symbols for secret messages.
Example with font:
Lucius Cipher
Decorative font inspired by mystical and occult symbols.
Example with font:
Bill Cipher
Based on the alphabet of the demon Bill Cipher from Gravity Falls.
Example with font:
Templars Cipher
Symbols inspired by the Order of the Knights Templar.
Example with font:
Egyptian Letters
Symbols inspired by hieroglyphs from Ancient Egypt.
Example with font:
Interworlds Cipher
Alternative alphabet for communication between dimensions.
Example with font:
Code 39
Alphanumeric barcode widely used in logistics and industry. Can encode uppercase letters, numbers and some special characters.
Example with font:
Code 128
High-density barcode used in packaging and transport. Supports the full 128-character ASCII character set.
Example with 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.