{
    "slug": "number-to-words-converter",
    "name": "Number to Words Converter",
    "url": "https://directory.milunir.com/math-calculators/number-tools/number-to-words-converter/",
    "description": "Write any number up to 15 digits in English words using million or lakh and crore grouping, read words back as digits, or list each digit's place value.",
    "inputs": {
        "type": "object",
        "properties": {
            "mode": {
                "type": "string",
                "enum": [
                    "to_words",
                    "to_number",
                    "place"
                ],
                "description": "Mode",
                "default": "to_words"
            },
            "number_in": {
                "type": "string",
                "description": "Number. Up to 15 digits before the decimal point; commas are ignored.",
                "default": "125000"
            },
            "system": {
                "type": "string",
                "enum": [
                    "international",
                    "indian"
                ],
                "description": "Grouping",
                "default": "international"
            },
            "currency": {
                "type": "string",
                "enum": [
                    "none",
                    "rupees",
                    "dollars"
                ],
                "description": "Write as money",
                "default": "none"
            },
            "words_in": {
                "type": "string",
                "description": "Number in words. English words; hyphens, \"and\" and \"only\" are fine.",
                "default": "two thousand and five"
            },
            "place_in": {
                "type": "string",
                "description": "Number",
                "default": "4325"
            },
            "pv_system": {
                "type": "string",
                "enum": [
                    "international",
                    "indian"
                ],
                "description": "Place names",
                "default": "international"
            }
        },
        "additionalProperties": false
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Result"
        },
        {
            "key": "digits",
            "label": "Digits"
        },
        {
            "key": "figures",
            "label": "Grouped figures"
        },
        {
            "key": "word_count",
            "label": "Word count"
        }
    ],
    "modes": [
        {
            "id": "to_words",
            "label": "Number to words",
            "inputs": [
                "number_in",
                "system",
                "currency"
            ]
        },
        {
            "id": "to_number",
            "label": "Words to number",
            "inputs": [
                "words_in"
            ]
        },
        {
            "id": "place",
            "label": "Place value",
            "inputs": [
                "place_in",
                "pv_system"
            ]
        }
    ],
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/number-to-words-converter",
    "mcp_tool": "number_to_words_converter",
    "example": {
        "inputs": {
            "mode": "to_words",
            "number_in": "125000",
            "system": "international",
            "currency": "none"
        },
        "output": "Result: one hundred twenty-five thousand\nDigits: 6\nGrouped figures: 125,000"
    }
}