ROT5 Encoder and Decoder

Shift the digits 0 to 9 by five positions with ROT5. Your input is converted directly in the browser.

ROT5 Encoder and Decoder

Only digits are rotated. Letters, whitespace and punctuation remain unchanged.

What this tool does

ROT5 replaces each digit with the digit that is five positions away on the decimal number wheel.

The rotation affects only 0 to 9 and leaves the rest of the text untouched.

How to use the tool

  1. Paste a string that contains digits into the input field.
  2. Choose Encode or Decode to view the ROT5 version.
  3. Copy the output when you need it for an example or note.

Useful applications

  • Check the numeric part of a ROT18 string separately.
  • Create a learning example for cyclic digit rotations.
  • Reverse a number sequence that was obfuscated with ROT5.

Notes and limitations

  • ROT5 is a simple transformation and not encryption for sensitive data.
  • Because five is half of ten, encoding and decoding produce the same ROT5 string.
  • The conversion is local to the browser and does not send input to petuja.tools.

Frequently asked questions

What does ROT5 turn the digit 8 into?

The digit 8 becomes 3 because the rotation continues at 0 after 9.