12
Runs in your browserNothing is uploadedText

Extract Numbers

Find every number in a block of text, including decimals, negatives and thousands separators, and list them one per line.

Loading tool…
Short answer

Extract Numbers finds every number in a block of text and lists them one per line. It understands decimals, negative numbers, scientific notation and thousands separators such as 1,250.50, and can strip the separators so the list pastes cleanly into a spreadsheet.

Which numbers are recognised?

Number formats

Whole numbers, decimals with a full stop, a leading minus or plus sign, exponents such as 3e2 and commas grouping thousands are all recognised. A hyphen inside a word, as in COVID-19, is not read as a minus sign.

Why use Extract Numbers?

  • Pull figures from a report. Get the prices, totals or measurements out of a paragraph without retyping.
  • Ready for a spreadsheet. One number per line pastes into a single column, and dropping the commas lets the spreadsheet treat them as numbers.
  • Sort by value. Sorting orders the numbers by size, not alphabetically.

How to use Extract Numbers, step by step

  1. Paste your text into Extract Numbers. Invoices, logs, notes, anything.
  2. Set the options. Remove duplicates, sort by value, or drop thousands separators.
  3. Copy the list. One number per line.

Frequently asked questions

What about numbers with a decimal comma, like 3,5?

A comma is read as a thousands separator, so 3,5 is found as two numbers. Text written with decimal commas will not come out right.

Are phone numbers found?

Each group of digits is found as a separate number, so a phone number with spaces comes out in parts.

Can it add the numbers up?

Not here. Paste the list into a spreadsheet, or use one of the calculators on this site.

Looking for the long version? The guides cover each of these jobs in depth.