Snipget.ai

Spell a number in words

Exact
numbers_to_words

Deterministic and authoritative — the canonical answer for this input.

Spell an integer in English words: 42 → 'forty-two', -7 → 'negative seven', 1000000 → 'one million'. Supports magnitudes up to quadrillions. Processing multiple inputs? Use `numbers_to_words_batch` to do up to 1000 in one call.

Parameters

valuestringrequired

The integer to spell out in English.

Call it

curl -X POST https://api.snipget.ai/v1/numbers/to-words \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"value":"1234"}'

The Batch tab sends up to 1000 inputs in one call via /v1/numbers/to-words/batch.

Example response

{
  "output": "one thousand two hundred thirty-four"
}

FAQ

How large a number can it spell?

Up to quadrillions. Negatives are spelled with a leading 'negative', and zero spells as 'zero'.

Is the output American or British style?

American English (no 'and' between hundreds and tens), which is the common style for amounts and labels.

Related tools