Text utilities

Extract Numbers from Text

Extract signed decimal numbers and scientific notation from plain text in their original order.

Text stays in your browserCopy your result
Text workspace
Text workspace

Edit on the left, review and copy the result on the right.

See the method

Your original text

Runs on your device

Your processed text

Your result

Let’s calculate.

Use the Calculate button to see your result.

Your content is processed locally.

How to use this tool

  1. Enter source text.
  2. Select Update result to view the result.
  3. Check the method and assumptions below before using the result.

The method, explained

Read optional signs, ASCII decimal digits, a decimal point and an optional exponent. Return each matched numeric token on its own line.

A WORKED EXAMPLE

Using source text = Temperature -12.5 C; amount 2.4e3; count 18, the result is -12.5 2.4e3 18. Change these example inputs to match your task; use the method above to check each step.

Understanding your result

No. It extracts ASCII numeric tokens without inferring locale or units. Remove thousands separators first when a comma belongs inside one number.

What to keep in mind

A comma is a separator, not a thousands or decimal marker: 1,200 produces 1 and 200. Digits embedded in identifiers are included.

Common questions

Does it interpret currency or regional number formats?

No. It extracts ASCII numeric tokens without inferring locale or units. Remove thousands separators first when a comma belongs inside one number.

Does my text leave my device?

Processing runs locally in this browser. Your pasted text is not uploaded to an API or stored in a ClarityKit account.

Methodology maintained by ClarityKit. How these tools are built and checked.