onlineintegertools logo

Integer digit incrementer

World's simplest integer tool

This browser-based utility increases individual digits in the given integers. The integers can be embedded in any textual data and the utility will find them and update the digit values in-place. You can increase all digits of integers by the same amount or enter a pattern that will increase specific digit positions by specific amounts. You can also control the overflow by stopping at 9 or overflowing to 0 if the digit value gets larger than 9. Created by math nerds from team Browserling.
working with other numbers? check out number tools!
We also have Online Number Tools — utilities for doing numbery things. Check it out!
Increase Control
Add this amount to every digit. (Enter value between 0 and 9).
Add this pattern to integer digits.
Overflow Control
If the digit exceeds 9, then continue to increase from 0.
If the digit exceeds 9, stop at this value.
Integer digit incrementer tool What is a integer digit incrementer?
With this online program, you can increase the value of all or some digits of an integer by the specified amount. In the input, you can enter any text data that contains integers. The program will extract the integer values, increase the digits in them, and put them back in the data in their original positions. We have implemented two methods for increasing integer digits. The first is to increase all digits at the same time by the same amount. To use this method, you need to select the "Increase All Digits" option and enter the addend value from 0 to 9 in the amount field below it. For example, if you enter the value "3", then the integer "12345" will turn into "45678". The second way to increase digits is to use a pattern with individual addends for each digit. To do this, select the "Increase Individual Digits" option and enter a multi-digit pattern in the field below. For example, the pattern "000123" will increase integer's ones by 3, tens by 2, hundreds by 1, and other digits will remain as they were. Additionally, you can control the digit overflow. As you know, digits go from 0 to 9. What happens when the incremented value is larger than 9? In this case, you can choose between two behaviors. The first one will overflow the digit to 0 if it gets larger than 9. For example, if the input is "45" and you increase both digits by "6", then the output will be "01" because 4+6 is 10 and 5+6 is 11 and only the last digit remains. The second one will stop the digits at 9 and no overflow will happen. For example, if the input is "45" and the digits are incremented by "6", then the output will be "99" because 4+6 is larger than 9, so it's capped at 9, and similarly 5+6 is larger than 9 and it stays at 9. Integerabulous!
Integer digit incrementer examples Click to use
Increase All Digits
In this example, we increment all integer digits by 2 and enable the "Increase All Digits" mode to apply this operation to all digits. We also select the "Overflow to Zero" mode, which means that if a digit exceeds the value of 9, then it turns into 0 and begins to increase again. Thus, the digit 7 turns into 9, digit 8 turns into 0, and digit 9 turns into 1.
1234567890 100000 999999
3456789012 322222 111111
Required options
These options will be used automatically if you select this example.
Add this amount to every digit. (Enter value between 0 and 9).
If the digit exceeds 9, then continue to increase from 0.
Increase Every Second Digit
This example uses the "Increase Individual Digits" mode and applies a unique increment pattern "010101" to the input integers. This pattern increases every odd digit of an integer by 1. As some of the digits are 9, then it uses the overflow option to make them smoothly increase from 9 to 0 when they overflow. It increments the digits in nine integers at once and returns them with the same delimiters that were used in the input.
111111, 222222, 333333 444444; 555555; 666666 777777. 888888. 999999
121212, 232323, 343434 454545; 565656; 676767 787878. 898989. 909090
Required options
These options will be used automatically if you select this example.
Add this pattern to integer digits.
If the digit exceeds 9, then continue to increase from 0.
Order Numbers
In this example, a sales assistant got a new job in an online store and made a mistake when processing customer orders. She didn't know that because of a peculiarity in the sales system, every order number must begin with two nines. To quickly fix the problem, she used this program. She chose the "Increase Individual Digits" mode and entered the pattern "990000000" in the field below. This pattern increases only the first two digits by 9 and leaves the other digits unchanged. She also activated the "Stop at 9" option, so that the first two digits after incrementing didn't overflow to zero.
Product Delivery Order # Printer yes 253366456 Lamp no 253355551 Toaster yes 253262499 Camera no 255375771 Hairdryer no 253411255
Product Delivery Order # Printer yes 993366456 Lamp no 993355551 Toaster yes 993262499 Camera no 995375771 Hairdryer no 993411255
Required options
These options will be used automatically if you select this example.
Add this pattern to integer digits.
If the digit exceeds 9, stop at this value.
Pro tips Master online integer tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlineintegertools.com/increment-integer-digits?input=1234567890%0A100000%0A999999&overflow-to-zero=true&increase-all-digits=true&amount=2
All integer tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly rewrite integer digits using pretty Unicode glyphs.
Quickly generate random two-dimensional integer points.
Quickly generate random three-dimensional integer points.
Quickly print a list of integers that are palindromes.
Quickly convert the given integer to a palindromic integer.
Quickly find all integers in the given text or string.
Quickly make integer digits go in a triangle wave.
Quickly unleash the destructive force of Zalgo on integers.
Quickly find two or more integers that add up to the given integer.
Quickly find several integers that multiply up to the given integer.
Quickly randomize the given sequence of integers.
Quickly mix the order of digits in an integer.
Quickly put integers in increasing or decreasing order.
Quickly sort the individual digits of an integer.
Quickly increase all integers by a certain amount.
Quickly increase individual digits by a certain amount.
Quickly decrease all integers by a certain amount.
Quickly decrease individual digits by a certain amount.
Quickly randomly select an integer from a list of integers.
Quickly create groups from the digits of an integer.
Quickly write integer digits backwards.
Quickly remove one or more digits from an integer.
Quickly replace one or more digits in an integer.
Quickly drop digits from an integer and make it shorter.
Quickly add the thousands separator to integers.
Quickly remove the thousands separator from integers.
Quickly find the largest integer in a list of integers.
Quickly find the smallest integer in a list of integers.
Quickly find the total sum of a bunch of integers.
Quickly find the sum of all the digits in an integer.
Quickly find the total product of a bunch of integers.
Quickly find the product of all the digits in an integer.
Quickly calculate the partial sum of a bunch of integers.
Quickly calculate the partial product of a bunch of integers.
Quickly flip the sign of one or more integers.
Quickly split an integer into chunks of a given length.
Quickly merge partial integers together to form a larger integer.
Quickly round integers up or down to the required precision.
Quickly convert integers to a downloadable picture.
Quickly generate a list of von Neumann ordinals.
Quickly generate a list of Zermelo ordinals.
Quickly generate an ordered sequence of integers.
Quickly generate an ordered list of even integers.
Quickly generate an ordered list of odd integers.
Quickly write an integer spelling in words.
Quickly convert spelled integers to regular integers with digits.
Quickly generate an array of integers for programming.
Quickly find the number of occurrences of digits in integers.
Coming soon These integer tools are on the way
Draw von Neumann Universe
Create a drawing that visualizes von Neumann hierarchy of sets.
Create Integer n-Tuples
Generate a list of tuples of integers with n elements.
Convert Integers to Unary Base
Quickly convert integers to base one.
Convert Unary Base to Integers
Quickly convert base one to integers.
Convert Integers to Binary Base
Quickly convert integers to base two.
Convert Binary Base to Integers
Quickly convert base two to integers.
Convert Integers to Octal Base
Quickly convert integers to base eight.
Convert Octal Base to Integers
Quickly convert base eight to integers.
Convert Integers to Hex Base
Quickly convert integers to base sixteen.
Convert Hex Base to Integers
Quickly convert base sixteen to integers.
Convert Integers to Any Base
Quickly convert integers to a custom base.
Convert Integers to Base64
Quickly encode integers to base-64.
Convert Base64 to Integers
Quickly decode base-64 to integers.
Convert Integers to HTML Entities
Quickly encode integers to HTML encoding.
Convert HTML Entities to Integers
Quickly decode HTML entities to integers.
Create Random Integers
Generate a list of random integers.
Check if an Integer is Symmetric
Check if the given integers are palindromes.
Generate an Integer Matrix
Create a matrix whose entries are all integers.
Generate an Integer Vector
Create a vector with integer coefficients.
Rotate Integers
Rotate the digits of an integer to the left or right.
Shift Integer Digits
Move the digits of an integer to the left or right.
Subtract Integers
Quickly find the difference of a bunch of integers.
AND Integers
Quickly apply the bitwise AND operation to integers.
OR Integers
Quickly apply the bitwise OR operation to integers.
XOR Integers
Quickly apply the bitwise XOR operation to integers.
NOT Integers
Quickly apply the bitwise NOT operation to integers.
NAND Integers
Quickly apply the bitwise NAND operation to integers.
NOR Integers
Quickly apply the bitwise NOR operation to integers.
XNOR Integers
Quickly apply the bitwise NXOR operation to integers.
Convert an Integer to Ordinal
Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.
Convert an Oridinal to Integer
Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.
Filter Integers
Find integers that match a filter (greater, less, equal).
Left-pad Integers
Add padding to integers on the left side.
Right-pad Integers
Add padding to integers on the right side.
Right-align Integers
Position all integers so that they align on the right.
Center Integers
Position all integers so that they align in the middle.
Take Absolute Value of Integers
Turn all integers into positive integers.
Make All Integers Negative
Turn all integers into negative integers.
Convert Integers to Fractions
Rewrite an integer in fractional form.
Convert Fractions to Integers
Extract the numerator and denominator from a fraction.
Find and Replace Integers
Search for all occurrences of an integer and replace it.
Generate Integers from Regex
Create integers that match the given regular expression.