Tool to encode and decode messages with ROT-18 cipher, simple and fast method to encrypt letters and numbers online.
ROT-18 Cipher - dCode
Tag(s) : Substitution Cipher
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
ROT-18 is the name given to 2 shift encryption methods, similar to the famous ROT-13 but using the 36 alphanumeric characters.
— Definition 1: Association of ROT-13 and ROT-5 (and 13+5=18), the letters are shifted by 13 (in the 26-letter alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ) and the numbers by 5 (in the list 0123456789)
— Definition 2: Use of a 36-character alphanumeric alphabet (26 letters and 10 numbers), the characters are then shifted by 18 positions.
These 2 definitions produce different and incompatible results.
To encode by ROT-18, take each character of the message to encode.
— (ROT-13 + ROT-5): Replace the letters (A-Z) with those located 13 positions later in the looping alphabet and replace the numbers (0-9) with those located 5 positions later in the loop
Example: A becomes 'N', Z becomes M and 0 becomes 5 and 9 becomes 4
— (ROT-18): Replace the characters (A-Z0-9) with those located 18 positions later in the 36-character alphanumeric alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
Non-alphanumeric characters remain unchanged (such as spaces, punctuation or symbols)
Decryption is the same as encryption (regardless of the definition used). ROT-18 is a reversible cipher. Decoding involves applying ROT-18 again to the encoded message.
dCode retains ownership of the "ROT-18 Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "ROT-18 Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "ROT-18 Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "ROT-18 Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "ROT-18 Cipher" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
ROT-18 Cipher on dCode.fr [online website], retrieved on 2025-01-09,