# Extract numbers from text

- Human page: https://happytails.ai/en/text-tools/extract-numbers/
- Markdown: https://happytails.ai/en/text-tools/extract-numbers.md
- Structured JSON: https://happytails.ai/agents/en/text-tools/extract-numbers/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `extract-numbers` |
| Category | text-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Automatic updates after valid input or file selection. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Extracts signed decimal and scientific-notation numbers in order, keeping their spelling. A period is the decimal point; grouping commas and locale-specific number formats are not interpreted.

### Inputs and settings

Text input: Your text.

Example or placeholder shown in the interface (not a validated fixture):

```text
Type or paste your input…
```

Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.

No additional settings are declared for this tool.

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Extracts signed decimal and scientific-notation numbers in order, keeping their spelling. A period is the decimal point; grouping commas and locale-specific number formats are not interpreted.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "extract-numbers",
  "category": "text-tools",
  "built": true,
  "requirements": "Extracts signed decimal and scientific-notation numbers in order, keeping their spelling. A period is the decimal point; grouping commas and locale-specific number formats are not interpreted.",
  "implementation": {
    "fields": [],
    "live": true,
    "note": "Extracts signed decimal and scientific-notation numbers in order, keeping their spelling. A period is the decimal point; grouping commas and locale-specific number formats are not interpreted.",
    "experience": {
      "automatic": true,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
      "action": null
    },
    "mode": "automatic",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Pull numbers out of text and keep their original order.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Extract numbers from text

1. Paste text containing decimal, integer or scientific-notation values. The result puts each recognized number on a new line without changing leading zeros.
2. The sample returns 001, -2.5 and 6e-3 on separate lines. A comma in 1,000 separates two matches rather than denoting a thousand.

## Useful next steps

- [Average](https://happytails.ai/en/calculators/average/) ([Markdown](https://happytails.ai/en/calculators/average.md))

- [Sort lines](https://happytails.ai/en/text-tools/sort-lines/) ([Markdown](https://happytails.ai/en/text-tools/sort-lines.md))

- [Number to words](https://happytails.ai/en/text-tools/number-to-words/) ([Markdown](https://happytails.ai/en/text-tools/number-to-words.md))

## How to use it

Paste text containing decimal, integer or scientific-notation values. The result puts each recognized number on a new line without changing leading zeros.

### Try a small example

The sample returns 001, -2.5 and 6e-3 on separate lines. A comma in 1,000 separates two matches rather than denoting a thousand.

### What to know

Extracts signed decimal and scientific-notation numbers in order, keeping their spelling. A period is the decimal point; grouping commas and locale-specific number formats are not interpreted.
