Text Tool

Extract Numbers

Extract Numbers pulls matching values out of mixed content and returns a clean list. Use it online on EasyTools99.

Tool area

Everything runs in the browser.

Reference results

InputResult
12 boxes, 8 cases, 12 boxes12 8
48 King Street, floor 248 2
Balance -12.50 GBP12.50
Amount 1,250.40 GBP1 250.40
Code 00420042
Weight 1 250 kg1 250

How it works

The filter looks for runs of digits, with an optional fractional part after a period. It returns one match per line and removes identical repeats. Signs next to the digits and units after them stay outside the matched string.

Worked examples

  1. A stock clerk compares extracted figures with the receiving sheet and checks repeated quantities in the original note.
  2. A receptionist finds a building number and a floor in copied text, then uses the source to assign them to the correct fields.
  3. An accounts assistant sees several digit groups in a formatted price and switches to the ledger’s numeric export.

Common pitfalls

  • Treating the output as signed amounts.
  • Assuming grouping separators survive extraction.
  • Interpreting a building number as a quantity.

A minus sign is lost and a comma separates two digit sequences. Standardize decimal notation before pasting and keep the original to check signs and units.

FAQ

How do I extract decimal numbers from text?

Use a decimal point between the whole and fractional parts.

Do numbers stay in their original order?

Yes. Each distinct match stays in order of first appearance.

Can I count every occurrence of a number?

The extractor deduplicates identical matches. Count occurrences in the original text.

Related tools

Browse all text tools

Related guides

Previous tool Extract Mentions Next tool Extract URLs