Sitemap Generator
Build a valid sitemaps.org XML sitemap with loc, lastmod, changefreq and priority for each URL, then copy or download sitemap.xml. Free.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Sitemap Generator
Create standard XML sitemaps containing page URLs, update frequency, priority levels, and modification dates to optimize crawling.
The Sitemap Generator builds a valid XML sitemap against the sitemaps.org 0.9 schema, writing a <url> block for each page with its <loc>, <lastmod> date, <changefreq> and <priority>. You add URLs one at a time — the protocol is filled in as https:// if you leave it off — watch the XML update live, then copy it or download it as sitemap.xml to drop at your site root. It suits small and mid-sized sites and hand-built pages where no CMS is emitting a sitemap for you.
How to use Sitemap Generator
Review Configured Pages, which starts with three yourdomain.com placeholders (home, /about and /contact), and remove any with its bin icon
Type a page into Page URL Address, for example https://www.yourdomain.com/blog — https:// is added automatically if you leave it off
Choose its Crawling Priority from 1.0 (Home / Primary) down to 0.1 (Archives), with 0.8 preselected, a Change Frequency from Always to Never (Weekly by default) and a Last Modified Date, today by default
Press Add URL to Sitemap; the File Preview (sitemap.xml) box updates with a <url> entry holding loc, lastmod, changefreq and priority under the sitemaps.org 0.9 urlset, with characters such as & in the URL written as XML entities (&)
Press Copy to copy the XML or Download to save it as sitemap.xml, ready to place in your domain root and submit to Google Search Console
Why use Sitemap Generator
Valid structure by construction
The namespace, element order and nesting are written for you, so the common failures — a missing xmlns, tags in the wrong order — cannot happen.
The XML is visible while you build
Every field you change is reflected in the output pane immediately, so you can see exactly what a lastmod or priority change does to the file.
Priority and changefreq as guided choices
Priority is offered on the 0.1 to 1.0 scale with sensible labels and changefreq as the seven values the protocol actually permits, instead of free text a parser will reject.
Common use cases
- You have launched a ten-page static site with no CMS behind it and need a sitemap.xml to submit in Google Search Console before the pages get discovered on their own.
- A handful of new landing pages went live outside the main build and you want a supplementary sitemap listing just those, with today's date as lastmod.
- Your generated sitemap is being rejected and you want a known-good reference file to compare the element order and namespace against.
Frequently asked questions
How many URLs can one sitemap file hold?
50,000 URLs, or 50 MB uncompressed, whichever comes first — that is the sitemaps.org protocol limit. Larger sites split into multiple sitemap files referenced by a sitemap index file.
Link to answerWhere do I put sitemap.xml and how does Google find it?
Put it at your site root, for example https://example.com/sitemap.xml, then either submit it in Google Search Console or add a `Sitemap:` line pointing to it in your robots.txt. A sitemap only has to cover URLs at or below its own directory level.
Link to answerDo priority and changefreq actually affect ranking?
No. Google has stated it ignores both — priority does not raise a page's ranking and changefreq does not control crawl frequency. They remain part of the schema and some other crawlers read them, which is why the fields are here, but lastmod is the value worth keeping accurate.
Link to answerWhat date format does lastmod need?
W3C Datetime — YYYY-MM-DD is the usual form, optionally with a time and timezone. Set it to the date the page's content genuinely changed; a lastmod that updates on every deploy while the content is unchanged teaches crawlers to stop trusting it.
Link to answer