My website needs an XML sitemap
Help Google find every page. Generate a valid XML sitemap, submit it in Search Console, and link it from robots.txt.
An XML sitemap lists your site's URLs so search engines can discover and index them faster. Generate one with a sitemap tool by adding your pages, validate the XML, then submit it in Google Search Console and reference it in robots.txt. Our generator and validator run in your browser. Keep it updated as you publish new pages.
4 tools for this
Each one is free, private and runs in your browser. No sign-up, no watermark.
XML Sitemap Generator
Turn a list of URLs into a valid sitemap.xml with per-URL changefreq, priority and lastmod, validated against the 50,000-URL limit and ready to submit to Google. 100% in your browser.
Sitemap Validator
Paste your sitemap.xml and validate it instantly: well-formed XML, every <url> has a <loc>, the 50,000-URL limit, HTTPS locations and valid changefreq/priority. Catches the errors that make Google reject a sitemap. 100% in your browser.
Robots.txt Generator
Build a valid robots.txt with user-agent groups, allow/disallow rules, crawl-delay, sitemap and host directives, with live output, presets and lint warnings. 100% in your browser.
HTML Sitemap Generator
Turn a list of URLs into a clean, nested HTML sitemap page, a linkable <ul> tree grouped by path that you can paste straight into any site. Boosts internal linking and navigation. 100% in your browser.
How to fix it
Follow these steps and you'll have it sorted in a couple of minutes.
- 1
Generate the sitemap
Add your site's URLs to the XML Sitemap Generator to produce a valid sitemap.xml.
- 2
Validate it
Run it through the Sitemap Validator to catch malformed URLs or structure errors before you publish.
- 3
Publish and reference it
Upload it to your site root (e.g. /sitemap.xml) and add a 'Sitemap:' line to your robots.txt.
- 4
Submit in Search Console
Add the sitemap URL in Google Search Console (and Bing Webmaster Tools) to prompt faster indexing.
- Listing URLs that redirect, 404 or are set to noindex, a sitemap should contain only canonical, indexable pages.
- Creating it once and forgetting it. Regenerate when you add or remove pages so it stays accurate.
- Never submitting it in Search Console, so it sits unused: generating it is only half the job.
Frequently asked questions
More problems we solve
Ran into one of these too? Here's the fix.
- My website needs a robots.txt fileControl what search engines crawl, and avoid the classic mistake of accidentally blocking your entire site.
- I want rich results / structured data for my pagesRich results earn more clicks. Add the right Schema.org markup so your pages qualify for enhanced listings.
- My site has no meta tags or preview when sharedA blank preview costs you clicks. Add the right tags so Google and social show a proper title, description and image.
Keep exploring
Related tools
Problems we solve
Definitions
From the blog
Compare formats
By file type
Common tasks
Ready? Start with XML Sitemap Generator
Free, private and instant: everything runs in your browser.