Toolstia / ROT47 cipher

ROT47 cipher

ROT47 is a cousin of ROT13 that shifts every printable character, so digits and punctuation change too. ROT18 handles letters and digits, and ROT5 handles digits only. Paste text, choose a variant, and apply it. Running it a second time brings back the original.

ROT47 shifts every printable ASCII character by 47, ROT18 combines ROT13 with ROT5 for digits, and ROT5 shifts digits only. Applying the same variant twice returns the original text. This is a puzzle cipher, not security.

How it works

  1. Choose ROT47, ROT18 or ROT5.
  2. Paste your text.
  3. Copy the result. Paste it back in to decode it.

ROT47

It rotates the 94 printable ASCII characters, from ! to ~, by 47 places. Since 47 is half of 94, doing it twice returns the original.

ROT18

ROT13 for letters plus ROT5 for digits, so both are scrambled and the operation is its own inverse.

ROT5

Only the digits 0 to 9 move, by 5 places. Letters and symbols stay as they are.

Characters outside the range

Accents, emoji and other non-ASCII characters are left unchanged.

Questions

Is it secure?

No. It is a puzzle and spoiler cipher that anyone can reverse. Everything happens in your browser, and nothing you enter is sent anywhere.

How is it different from ROT13?

ROT13 only moves letters. ROT47 also changes digits and punctuation, so the result looks less like words.

How do I decode?

Use the same variant on the result. All three are their own inverse.