Home / Extract numbers

Extract numbers from text

Paste any text to pull out every number, one per line, with the sum, average and median worked out.
Your text never leaves your device: everything runs in this page. No upload, no sign-up.

Text with numbers

Empty

Numbers found

How numbers are read

  • Number style: 1,234.56 (US and UK) reads the comma as a thousands separator. Choose 1.234,56 for European style, or the plain style when commas separate numbers.
  • Decimals and negative numbers are on. A minus sign counts only when it stands before the number, so 2026-10-06 gives 2026, 10 and 6, not negative numbers.
  • Keep as written outputs the numbers exactly as in the text (1,250.00); otherwise they are written plainly (1250), ready for a spreadsheet.

The totals use every number found (after removing duplicates if you ask for it). Median is the middle value: half the numbers are smaller and half larger.

Related tools

Questions

How do I extract numbers from text?

Paste the text. Every number appears on the right, one per line.

Can it add up the numbers?

Yes. The sum, average, median, smallest and largest are shown above the boxes.

Does it handle decimals with a comma?

Yes. Choose the 1.234,56 number style.