Increment Integer Digits
Increment each digit of an integer by a specified amount. Digits wrap around modulo 10.
Bump each digit of your integers up by any amount, with 9 either wrapping around to 0 or clamping in place. Handy for quick ciphers, obfuscating sample data, or poking at digit-level math puzzles. And everything runs in your browser. Nothing gets uploaded.
How It Works
This tool takes each digit of your integers and adds the specified increment value. In "wrap" mode, digits cycle: 9 + 1 = 0, 9 + 2 = 1, etc. In "clamp" mode, digits cap at 9. Non-digit characters (like a leading minus sign) are preserved as-is. Each line is processed independently.
Frequently Asked Questions
What happens to negative numbers?
The minus sign is preserved, and only the digit characters are incremented. For example, -123 with increment 2 becomes -345.
Can I decrement digits instead?
Use the companion tool "Decrement Integer Digits" for that. Alternatively, incrementing by 9 in wrap mode is equivalent to decrementing by 1.
What is the wrap-around mode?
Wrap mode uses modular arithmetic (mod 10). If a digit is 7 and you increment by 5, the result is 2 (since 12 mod 10 = 2). Clamp mode caps at 9.
Does this change the actual value of the number?
Yes — this operates on individual digits, not the number's arithmetic value. It's a digit-level transformation useful for simple ciphers, obfuscation, or mathematical exploration.