{
    "slug": "words-to-pages-and-book-length-calculator",
    "name": "Words to Pages and Book Length Calculator",
    "url": "https://directory.milunir.com/text-tools/word-counters/words-to-pages-and-book-length-calculator/",
    "description": "Turn a word count into typed or handwritten pages, or pages into words, and see if the draft is flash fiction, a novella or a novel by SFWA bands.",
    "inputs": {
        "type": "object",
        "properties": {
            "mode": {
                "type": "string",
                "enum": [
                    "words_to_pages",
                    "pages_to_words"
                ],
                "description": "Mode",
                "default": "words_to_pages"
            },
            "words": {
                "type": "integer",
                "description": "Word count. Total words in the manuscript, essay or story.",
                "default": 40000
            },
            "pages": {
                "type": "number",
                "description": "Page count. Typed US Letter pages, or ruled sheets for handwriting.",
                "default": 10
            },
            "spacing": {
                "type": "string",
                "enum": [
                    "single",
                    "one_half",
                    "double",
                    "handwritten"
                ],
                "description": "Line spacing. Typed pages assume 12 pt Times New Roman with 1-inch margins.",
                "default": "double"
            },
            "chapters": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Chapters. Splits the total into an even word count per chapter.",
                "default": 1
            }
        },
        "additionalProperties": false
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Estimated length"
        },
        {
            "key": "category",
            "label": "Length class"
        },
        {
            "key": "per_chapter",
            "label": "Words per chapter"
        },
        {
            "key": "words_per_page",
            "label": "Words per page"
        },
        {
            "key": "total_words",
            "label": "Total words"
        }
    ],
    "modes": [
        {
            "id": "words_to_pages",
            "label": "Words to pages",
            "inputs": [
                "words",
                "spacing",
                "chapters"
            ]
        },
        {
            "id": "pages_to_words",
            "label": "Pages to words",
            "inputs": [
                "pages",
                "spacing",
                "chapters"
            ]
        }
    ],
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/words-to-pages-and-book-length-calculator",
    "mcp_tool": "words_to_pages_and_book_length_calculator",
    "example": {
        "inputs": {
            "mode": "words_to_pages",
            "words": 40000,
            "spacing": "double",
            "chapters": 20
        },
        "output": "Estimated length: 160 pages\nLength class: Novel\nWords per chapter: 2,000"
    }
}