EditSafely

Decrease a Number

Subtract one from the given number. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

Options

How to use Decrease a Number

  1. 1. Paste your numbers. Enter the numbers you want reduced, one per line, into the input pane, for example 5, 0 and 100.
  2. 2. Set Decrease by. Choose the amount to subtract from every number under Decrease by. The default of one turns 5 into 4, but any amount is supported.
  3. 3. Copy the reduced numbers. Copy the adjusted list, such as 4, -1 and 99, from the output pane into your spreadsheet, script or wherever the lowered values are needed.

When to use Decrease a Number

Decrease a Number subtracts a fixed amount from every number in a list in one pass, saving you from editing each value individually. It handles negative results and any size of decrement without extra setup.

  • Adjusting a column of prices after a discount. A spreadsheet column lists product prices and you need to apply a flat dollar-amount markdown to every row without touching each cell manually.
  • Shifting a list of IDs down by a fixed offset. A migration script needs every record ID reduced by a constant amount to realign with a renumbered system, and doing it in bulk avoids per-row edits.
  • Recalculating scores after a penalty. A scoreboard needs every player's score reduced by the same penalty amount after a rule violation, and pasting the list in applies the deduction to everyone at once.
  • Preparing test data with off-by-one values. You're generating edge-case test inputs and need a batch of numbers each decreased by one from a baseline list to check boundary conditions.

Examples

Subtract one from each number

Input

5
0
100

Output

4
-1
99

Subtract a custom amount

Input

10

Output

5

About the Decrease a Number tool

Decrease a Number does its work locally, right in the browser. Subtract one from the given number. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Number Tools collection on EditSafely, a set of 194 small, focused Number utilities that share the same instant, private workspace.

You can shape the output with the Decrease by setting, and the result refreshes the moment you change it. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Is Decrease a Number free to use?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.