Text & String Utilities100% Client-Side

Extract Numbers from Pasted Text

Paste a passage to pull out the number strings it contains. Choose all matches, integers only, or decimals only, and decide whether repeated text should be kept. The output presents one match per line in source order. This is useful for inspecting amounts or item IDs in notes, especially when the original spelling and digits matter more than applying arithmetic to the values.

Configuration Options
Input
43 chars•1 lines
Output

How to Use the Extract Integers and Decimals Online

  1. 1Paste the source that contains the values you need.
  2. 2Choose the Number Mode that fits the values you want to extract.
  3. 3Enable Remove Duplicates when repeated numeric strings should appear only once.
  4. 4Compare the results with the source spelling, especially around minus signs and grouping punctuation.

Input & Output Examples

All Numbers keeps the negative decimal. Duplicate removal collapses the repeated 03 but preserves 3 separately.

Input Sample
Offset -12.5, count 03, repeated 03 and 3
Expected Output
-12.5
03
3

Decimals Only skips the integer and keeps the fractional digits as written.

Input Sample
Readings 2.50 and 7, then 0.25
Expected Output
2.50
0.25

Practical Developer Workflows

  • Extract invoice numbers and amounts from a synthetic invoice fixture for review.
  • Pull positive decimal measurements from a short note to compare their lengths.
  • Collect repeated numeric labels and keep the first occurrence of each exact spelling.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Deduplication compares matched text exactly. Leading zeros remain, so 03 and 3 are distinct results. Convert the output to a numeric representation separately if you want those different spellings to be grouped together.

Explore Other Tools

12 suggested tools

View all tools