Text with numbers to decrement

Result

How does it work?

This tool finds all numbers in your text and decrements them by the specified value. It works with:

  • Integers (e.g., 42 → 41)
  • Decimal numbers (e.g., 3.14 → 2.14)
  • Negative numbers (e.g., -10 → -11)

You can specify how much to decrement by using the "Decrement by" field. The default is 1.

Example

Original text

Version 2.0
There are 42 items in the list.
The price is $19.99
Room numbers: 101, 102, 103
Temperature: -5°C

After decrementing by 1

Version 1
There are 41 items in the list.
The price is $18.99
Room numbers: 100, 101, 102
Temperature: -6°C

This tool is useful for downgrading version numbers, reducing quantities, or modifying any numerical values in text.

Note that decrementing can result in negative numbers. For example, decrementing 1 by 2 will result in -1.

Related Tools

All Tools

See all available tools