# Write a number in English words from an AI agent

You need a number spelled out in English, for example on a check, in a contract or in generated text.

Use `number-to-words-en@1.0.0`. It is free and needs no key or sign-up. Spell an integer or exact decimal in English words and return the styled text.

## Why call a tool for this

Long numbers are where spelled-out text drops or repeats a group. The tool spells integers and exact decimals. For example, 1234567 returns one million two hundred thirty-four thousand five hundred sixty-seven.

## Call it over HTTP

```sh
curl -X POST https://computefirst.net/v1/tools/number-to-words-en/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"value":"1234567"}'
```

Response:

```json
{
  "result": {
    "text": "one million two hundred thirty-four thousand five hundred sixty-seven",
    "standard_version": "compute-first-english-number-words-1.0.0"
  }
}
```

## Call it over MCP

Connect `https://computefirst.net/mcp` ([setup](/docs#connect)), then call `execute` with:

```json
{
  "id": "number-to-words-en",
  "version": "1.0.0",
  "input": {
    "value": "1234567"
  }
}
```

## Check the result

Pass the number as a string, up to 39 digits before and after the point. Decimals are read digit by digit, so 12.05 returns twelve point zero five. Set use_and to true for the British style (one hundred and five). This is not a currency formatter: it does not add dollars or cents.

Full contract, limits and unsupported cases: [Number to words en](/tools/number-to-words-en).

## Related tools

- [Ordinal to words en](/tools/ordinal-to-words-en)
