Increment Numbers in Text
Find every number in your text and add a fixed amount to each one — updating version numbers, list indices, or any numeric values in bulk.
What Does This Tool Do?
This tool scans through your text, finds every number (integers and decimals), and adds your specified value to each one. The surrounding text stays exactly as it is — only the numbers change. For example, if you have "version 1.0 requires 3 dependencies" and increment by 1, you get "version 2.0 requires 4 dependencies".
Key Features
How to Use This Tool
- Paste your text containing numbers.
- Set the increment value (e.g., 1 to add one to each number).
- Click Increment to update all numbers.
- Copy the result from the Output box.
How It Works
A regular expression finds all number patterns (integers and decimals, including negatives). Each match is converted to a floating point number, the increment is added, and the result replaces the original number. Integer results are displayed as integers; decimal results are trimmed of trailing zeros.
Common Use Cases
Frequently Asked Questions
Does it increment negative numbers?
Yes — a negative number like -5 incremented by 1 becomes -4.
Can I increment by a decimal amount?
Yes — set the increment value to any decimal. Decimal results are displayed with minimal decimal places.
Related Tools
Link to This Tool
Copy and paste the code below to link to this tool from your website: