Extract Numbers from Text

Pull every number out of a block of text — integers, decimals and negatives — then deduplicate, sort and copy them as a list or comma-separated line. A free number extractor that runs entirely in your browser.

This tool extracts numbers from any text you paste, so you do not have to pick them out of an invoice, a log or a report by hand. It finds integers and, by default, decimals and negative numbers too, and lists each one. You can remove duplicates, sort the results in numeric order rather than as text, and choose whether they come out one per line or joined with commas. Turn the decimal and negative options off when you only want plain whole numbers. Everything runs on your device.

  • No sign-up, ever
  • 100% free
  • Nothing uploaded
  • Works offline after first load
  • No limits, no email wall
Your text
Numbers

How to use it

  1. 1

    Paste the text

    Add anything with numbers in it: an invoice, a table, a log, a paragraph.

  2. 2

    Set what counts

    Include decimals and negatives or not, and choose to dedupe and sort the results.

  3. 3

    Copy the numbers

    A count shows how many were found. Copy them as a list or a comma line.

When it comes in handy

Pulling figures

Extract the amounts from an invoice or statement to add up or paste into a sheet.

Cleaning data

Get just the numbers out of mixed text where they sit among words and labels.

Quick maths prep

Collect the values scattered through a paragraph into a tidy column you can total.

Instant & 100% private — nothing is uploaded

Every keystroke is handled right here in your browser. Your text is never sent to a server, so there is no sign-up, no email wall, and no length cap from us. Load the page once and it keeps working even if you go offline.

Frequently asked questions

How does it decide what is a number?
It matches runs of digits, optionally with a single decimal point and, if enabled, a leading minus sign. So 42, 3.14 and -7 are all found. It does not join numbers separated by commas as thousands groupings, so "1,000" is read as 1 and 000; if your data uses comma grouping, remove the commas first.
Can I sort the numbers by value?
Yes. Turn on Sort and the results are ordered by numeric value, so 2 comes before 10, unlike a plain text sort where "10" would come before "2". It makes the extracted list easier to scan and check.
Does it keep duplicates?
By default it keeps every number it finds, in the order they appear. Turn on Unique to collapse repeats so each distinct value appears once, which is useful when you only care about the set of values rather than how many times each occurs.