Number to Words API - Spell Numbers in English
Converts a numeric value into its English word form. Handles negative numbers, decimals, and values up to the billions. Decimals are spelled digit-by-digit after "point" (e.g., 3.14 becomes "three point one four"). Pass a locale hint to mark output intent; non-English locales return English spelling with a note, since only English is currently supported.
Code examples
curl -X POST https://api.botoi.com/v1/number/spell \
-H "Content-Type: application/json" \
-d '{"number":1234.56,"locale":"en"}'When to use this API
Print check amounts
Checks require the amount in words as a fraud control. Convert 1523.45 to "one thousand five hundred twenty-three point four five" before rendering the PDF.
Legal contracts and invoices
Many jurisdictions require figures to be written both numerically and in words. Auto-generate the word form so templates stay consistent across thousands of documents.
Screen readers and accessibility
Some assistive tech mispronounces long numeric strings. Ship the spelled-out form as aria-label text to guarantee a natural read-aloud for prices or IDs.
Voice prompts in IVR systems
Generate TTS-ready copy for amounts, confirmation numbers, or statistics without relying on the voice engine's built-in number handling, which varies by vendor.
Frequently asked questions
What is the maximum supported number?
How are decimals handled?
Are negative numbers supported?
Which locales are supported?
Does it handle ordinals like "first" or "twenty-third"?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.