LLM Sitemap Creator
Turn a keyword list with search volumes into a site structure up to five levels deep, using GPT.
#about
Builds a sitemap hierarchy from your keywords and search volumes.
The model, GPT Luna by default or GPT Terra, groups related keywords and generally places higher-volume terms higher.
The 16,000-token response cap, which also has to cover the model's reasoning, can cut off very large lists.
Including every keyword is requested but not enforced, and the app warns about missing ones and notes invented categories.
Output is a CSV, JSON and a text tree with volumes.
Streamlit appRequires an API key
- Platform
- Browser-based (no installation required)
- Input
- OpenAI API keyKeywords CSV with volumes
- Output
- CSV: Level, Parent, Keyword, Volume. JSON: nested hierarchy. TXT: ASCII tree with volume annotations.
- Category
- Technical SEO
Use cases
- Planning new site architecture
- Organising keyword research into content structure
- Category taxonomy planning
- Information architecture design
#features
- GPT Luna (default) or GPT Terra models
- OpenAI JSON mode output
- Post-generation check warns of missing and model-invented keywords
- Max top-level categories (3-15, default 8)
- Max depth (2-5, default 3)
- Recursive tree rendering
#how-to-use
- Enter your OpenAI API key
- Select model (GPT Luna by default, or GPT Terra)
- Upload keyword CSV and map columns
- Set max categories (3-15) and depth (2-5)
- Generate sitemap
- Download CSV, JSON, or TXT tree
#faq
- Why are some of my keywords disappearing before generation?
- Every keyword must have a whole-number search volume. CSV rows where the volume cell is empty are skipped silently, but a non-numeric volume (including one written with a thousands comma, such as 1,200) stops the CSV read at that row with an "Error reading CSV" message, and rows after it are not loaded. In manual entry any line that is not a keyword,volume pair with a whole-number volume is ignored. Compare the "Prepared N keywords" count against your file before generating.
- Is every keyword guaranteed to appear in the sitemap?
- No. Inclusion is requested in the prompt, then after generation the app compares output against input case insensitively and shows a warning listing missing keywords, plus an info notice for extra category names the model invented. There is no automatic retry, so regenerate if the missing list matters.
- Is there a practical size limit on the keyword list?
- The model response is capped at 16,000 tokens, which also covers the model's reasoning, and the entire hierarchy including every keyword has to fit in that JSON response. Very large lists can be truncated mid JSON and fail to parse, so split big keyword sets into batches if generation errors.
- What does it cost to run?
- One OpenAI chat completion per generation on your own API key. Input tokens scale with the keyword list, which is sent as JSON with volumes, and output tokens with the hierarchy size. GPT Luna is the default and the cheaper of the two model options; GPT Terra is the other.
/contact
Want me to run this for you? I run this tool as a managed service, or build something custom around your data. You get the insights without touching the code.