Extract Numbers Text
Pull every number out of text, and total them up.
Extract Numbers is a free online tool that pull every number out of text, and total them up. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Text
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- plain JavaScript
- Settings
- None — it just works
- Works offline
- Yes, after the first visit
About Extract Numbers
Numbers are pulled from text including negatives, decimals and values in scientific notation. The ambiguity to be aware of is the thousands separator: "1,234" is one number in English convention and two in a comma-separated list, and no tool can tell which without knowing the context. There is an option for each interpretation, and the default treats a comma as a separator between values.
How to use it
- Paste the text you want to run through extract numbers.
- There is nothing to configure — the result updates as you type.
Under the hood
| Runs on | plain JavaScript — runs the whole thing |
Questions
How are European decimal commas handled?
Turn on the thousands-separator option, which reads "1.234,56" as one value. Mixed conventions in a single document cannot be resolved automatically.
Are percentages and currency symbols included?
The number is extracted and the symbol is dropped — "$42.50" yields 42.5. Extract the symbols separately if you need to know the unit.