ROT5 Encoder & Decoder

Rotate digits 0-9 by 5 positions — the numeric counterpart to ROT13 for letters.

"12345""67890"(ROT5)
ROT5
Shift 5
numbers
Numbers only (0-9)

ROT5 Conversion Reference

Numbers (0-9)

0 1 2 3 4 5 6 7 8 9
5 6 7 8 9 0 1 2 3 4

Examples

HELLOHELLO
1234567890
Note: Only digits 0-9 are converted

How ROT5 Works

ROT5 applies a simple substitution to digits 0-9. Each digit moves forward by 5 positions with wraparound, so 0 maps to 5 and 9 maps to 4. Letters and punctuation stay unchanged.

ROT5 and ROT18

ROT5 is often paired with ROT13 in a combined scheme called ROT18. In ROT18, letters use ROT13 while digits use ROT5, allowing both alphabetic and numeric content to be obscured in one pass.

Common ROT5 Use Cases

ROT5 is useful for lightly obscuring phone numbers, identifiers, ZIP codes, and sample numeric data. It is a convenience transformation, not a security feature.

ROT5 Conversion Table

The mapping is straightforward: 0↔5, 1↔6, 2↔7, 3↔8, and 4↔9. Because the digit set has 10 characters and the shift is 5, ROT5 is perfectly self-inverse.

Frequently Asked Questions About ROT5

What does ROT5 stand for?

ROT5 means rotate by 5. It shifts digits forward by 5 positions in the 0-9 range.

Does ROT5 affect letters?

No. ROT5 only transforms digits. Letters, spaces, punctuation, and symbols pass through unchanged.

Is ROT5 similar to ROT13?

Yes. ROT13 rotates letters by half of the alphabet, and ROT5 rotates digits by half of the digit range. Both are self-inverse for that reason.