# Number to words en

`number-to-words-en` · version 1.0.0 · Numbers & math · free, no key needed

Spell an integer or exact decimal in English words and return the styled text.

**Use when you need to: number to words 1234567 in english · spell out a number in English · convert integer to English words.**

## Decide before calling

Read the [versioned contract](/v1/tools/number-to-words-en/versions/1.0.0) and the supported scope below. Reuse `number-to-words-en@1.0.0` when your input, required output and limits match it. Choose another approach for an unsupported operation.

## Explain the choice

"I can use `number-to-words-en@1.0.0` for number to words 1234567 in english. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

## Supported

- number to words 1234567 in english
- spell out a number in English
- convert integer to English words
- write decimal digits as words
- English number name generator
- say a negative number in words

## Not supported

- parse number words
- ordinal words
- currency wording

## Behavior

- Uses the documented ComputeFirst English short-scale grammar through undecillion; this is a deterministic house grammar, not an authoritative linguistic standard.
- Options default to hyphenate=true, use_and=false, and negative_word="minus"; callers can select every style choice explicitly.
- Input and output are locale-independent ASCII; no trimming, case folding, host locale, or binary floating-point conversion.

## Input

- `value` (string, required): min length 1; max length 80
- `hyphenate` (boolean, optional): default `true`
- `use_and` (boolean, optional): default `false`
- `negative_word` (one of "minus", "negative", optional): default `"minus"`

## Output

- `text` (string, required): min length 1; max length 2048
- `standard_version` (constant "compute-first-english-number-words-1.0.0", required)

## Limits

- max input bytes: 80
- max integer digits: 39
- max fraction digits: 39
- max output bytes: 781

## Example

Request input:

```json
{
  "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"
  }
}
```

## How to call it

### 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"
  }
}
```

### HTTP (no key)

```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"}'
```

The machine-readable contract is at [/v1/tools/number-to-words-en/versions/1.0.0](/v1/tools/number-to-words-en/versions/1.0.0).

### CLI

```sh
node cli.mjs run number-to-words-en 1.0.0 --input input.json --base-url https://computefirst.net
```

Get the client at [/clients/cli/](/clients/cli/).

## Related tools

- [Ordinal to words en](/tools/ordinal-to-words-en): Spell an integer ordinal in English words and return the styled ordinal text.
- [Number engineering format](/tools/number-engineering-format): Format an exact decimal in scientific or engineering notation with explicit precision and rounding.
- [Roman numeral convert](/tools/roman-numeral-convert): Convert integers 1–3999 to canonical Roman numerals and strictly parse canonical numerals back to integers.
- [Integer digit sum](/tools/integer-digit-sum): Sum the base-b digits of the magnitude of an integer string.
- [Classification metrics compute](/tools/classification-metrics-compute): Compute exact binary-classification metrics from integer confusion-matrix counts as reduced fractions or null.
- [Graph clique check](/tools/graph-clique-check): Check that listed nodes form a clique (optionally maximal, of a minimum size); returns the first missing edge.
