Number to Words
Turn integers into English word form, ordinal word form, and ordinal-number form directly in your browser.
What does Number to Words do?
Number to Words converts numbers into English cardinal words, ordinal words, and ordinal suffixes.
- Primary use: Number to Words converts numbers into English cardinal words, ordinal words, and ordinal suffixes.
- Key technical fact: English ordinals use suffix rules such as
1st,2nd,3rd, and4th, with special cases for 11th-13th. - Practical check: Review Unicode, whitespace, line break, and punctuation behavior before treating the output as production text.
| Topic | Direct answer | Source |
|---|---|---|
| Direct answer | Number to Words converts numbers into English cardinal words, ordinal words, and ordinal suffixes. | Browser JavaScript |
| Key fact | English ordinals use suffix rules such as 1st, 2nd, 3rd, and 4th, with special cases for 11th-13th. |
Browser JavaScript |
| Processing model | Runs locally in the browser; no production Node server receives the input. | Browser JavaScript |
Convert integers into English words and ordinals
Number to Words converts an integer into three English forms: cardinal words, ordinal words, and an ordinal number with suffix. It is useful for labels, examples, educational material, generated copy, reports, and quick checks of ordinal spelling.
The converter is for integers, including zero and negative integers. It does not handle decimals, fractions, currencies, scientific notation, locale-specific wording, or legal check-writing formats. Very large numbers may be limited by browser number precision or the conversion library.
How to use
- Type or paste a number into the input field.
- Click Convert or simply type to see live results.
- Three results are displayed: the word form (e.g. "forty-two"), the ordinal word (e.g. "forty-second"), and the ordinal number (e.g. "42nd").
- Use Copy to copy the word result to the clipboard, or Clear to reset.
What is Number to Words?
Number to Words is a local English integer formatter. It turns values such as 42 into forty-two, forty-second, and 42nd so you can copy the form that fits your text.
Input notes
Enter a plain integer with an optional leading minus sign. English ordinal suffixes usually follow the last digit, but 11, 12, and 13 use th, so values such as 11th, 12th, and 13th are special cases.
Example
Each input produces a cardinal word, an ordinal word, and an ordinal-number form:
--- Number: 42 --- Word: forty-two Ordinal Word: forty-second Ordinal Number: 42nd --- Number: 1000000 --- Word: one million Ordinal Word: one millionth Ordinal Number: 1000000th --- Number: -7 --- Word: negative seven Ordinal Word: negative seventh Ordinal Number: -7th
MCP integration
MCP (Model Context Protocol) lets AI agents and apps discover and run Coding.Tools utilities for repeatable conversions, formatting, hashing, and generation workflows.
MCP tool name: number-to-words
MCP endpoint: https://coding.tools/mcp
Call tools/list first. Each tool entry includes inputSchema, outputSchema, and examples so an AI agent or client can build valid arguments without guessing.
For tools/call, read result.content[0].text for the display value and result.structuredContent for machine parsing. Tool-level failures return isError: true; protocol failures return a JSON-RPC error.
Example tools/call request:
curl -s https://coding.tools/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"number-to-words","arguments":{"input":"12345"}}}'
Most text and data tools accept an input string plus optional options. Browser-only image tools are listed for discovery and return a web UI link when they need browser image APIs.