Extract Numbers
Pull decimal numbers out of pasted text.
Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator.
What Extract Numbers does
Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator.
Extract Numbers sits in the Text group on purpose. It is not Word Counter (Count words, characters, lines, and UTF-8 bytes.) and not Extract IPv4 (Pull IPv4 addresses from text.). Choose this page when you need Pull decimal numbers out of pasted text. If you stretch Extract Numbers into a neighbor’s job, the result will look wrong even though the site chrome looks the same.
How to use Extract Numbers
- Keep this tab on Extract Numbers (/extract-numbers). Pasting into the wrong Text tool (for example Word Counter) changes the job.
- Paste or type the input Extract Numbers expects. Path hint: extract numbers. Pull decimal numbers out of pasted text.
- Apply the Extract Numbers action only. Extract IPv4 is a different transform (Pull IPv4 addresses from text.). Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator.
- Copy the output of Extract Numbers if you need it elsewhere. Size/complexity still follows: Optional sign and fraction. Duplicates removed. Scientific notation not kept as one token. Max 200,000 characters.
- If the text job is actually Count words, characters, lines, and UTF-8 bytes., leave Extract Numbers and open Word Counter.
When not to use Extract Numbers
Skip Extract Numbers when a neighbor tool matches better — start with Word Counter or Extract IPv4 — or when the description already warns the job will fail. In the tool’s own words: Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator.
Questions about Extract Numbers
- What does Extract Numbers do that other Text pages on this site do not?
- Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator. Short version: Pull decimal numbers out of pasted text.
- Does Extract Numbers upload my file or text to Tool-You servers?
- No. Extract Numbers runs in this browser tab. Files stay on the device. Limit note: Optional sign and fraction. Duplicates removed. Scientific notation not kept as one token. Max 200,000 characters.
- Should I use Word Counter instead of Extract Numbers?
- Use Extract Numbers when you need Pull decimal numbers out of pasted text. Use Word Counter when you need Count words, characters, lines, and UTF-8 bytes. They share a category (Text) but not the same job.
- What are the limits of Extract Numbers?
- Optional sign and fraction. Duplicates removed. Scientific notation not kept as one token. Max 200,000 characters. Also: Keeps optional signs and a fractional part. Duplicates dropped. 1.2.3.4 is read as 1.2 and 3.4, not four octets. Not a calculator.