XML Sitemap
XML Sitemap Generator
Paste the URLs of your pages, one per line, to create a sitemap.xml file. Duplicate and invalid URLs are removed automatically. This tool does not crawl your site, so list every page you want search engines to find.
sitemap.xml
Excluded (0)
After creating the file
- UploadUpload sitemap.xml to the top folder of your site so it opens at https://your-domain/sitemap.xml.
- Add it to robots.txtAdd a line such as “Sitemap: https://your-domain/sitemap.xml” to robots.txt.
- Submit it in Search ConsoleIn Google Search Console, open “Sitemaps”, enter the sitemap URL and click Submit. In Bing Webmaster Tools, submit it from “Sitemaps”.
- Google ignores changefreq and priority, and uses lastmod only when it is accurate. Leaving them out is fine.
- Only list pages you want to appear in search: no redirected pages, error pages or pages with noindex.
- If your CMS (WordPress and others) already creates a sitemap automatically, use that instead so it stays up to date.
- Everything runs in your browser. What you enter is not sent anywhere.
About this tool
Paste a list of page URLs, one per line, to create an XML sitemap (sitemap.xml) that helps search engines find your pages. Add lastmod, changefreq and priority only if you need them. Duplicate URLs, non-http(s) URLs and lines with spaces are removed automatically with the reason shown. Copy or download the file, then follow the guide to add it to robots.txt and submit it in Google Search Console.
How to use
- Paste the URLs you want search engines to find into “Page URLs (one per line)”, or click “Try a sample”.
- Under “Options”, choose whether to include lastmod, changefreq and priority.
- Check the number of URLs in the sitemap and the excluded lines.
- Click “Copy” or “Download” and upload sitemap.xml to the top folder of your site.
- Add a Sitemap line to robots.txt and submit the sitemap in Google Search Console.
Useful for
- Adding a sitemap to a static site without a CMS
- Telling search engines about pages after a site redesign
- Quickly creating a sitemap for a landing page or small site
- Cleaning up the URLs in an existing sitemap
FAQ
What is an XML sitemap?
An XML file listing the URLs of your pages. It helps search engines discover new and updated pages, but it does not guarantee that pages will appear in search results.
Does this tool crawl my website?
No. It only builds sitemap.xml from the URLs you paste and never accesses your site. Nothing you enter leaves your browser.
Do I need lastmod, changefreq and priority?
Google ignores changefreq and priority and uses lastmod only when it is accurate. You can safely leave them out.
How do I submit a sitemap to Google?
Upload sitemap.xml to your server, then enter its URL under “Sitemaps” in Google Search Console and submit it. You can also add “Sitemap: https://your-domain/sitemap.xml” to robots.txt.
How many URLs can a sitemap contain?
Up to 50,000 URLs or 50 MB per file. For more, split the list into several sitemaps and list them in a sitemap index.
Want search engines to find every page?
We set up sitemaps, Search Console and site structure so your pages are crawled and indexed properly.
Ask about SEOUpdates to this tool
All updatesReleased 6 SEO and developer tools: SERP preview, UTM builder, XML sitemap generator, color code converter, Markdown to HTML and JWT decoder
Other free tools
All 183 free tools- OGP Checker (Social Share Preview)See how a URL looks when shared on X, Facebook and LINE, and find missing tags.
- Title, Meta and Heading ExtractorCheck a page's title, description, canonical and h1–h6 structure.
- Structured Data (JSON-LD) GeneratorCreate JSON-LD for your business, FAQs, breadcrumbs or articles.
- llms.txt GeneratorCreate an llms.txt file that summarizes your site for AI tools.
- .htaccess Redirect Generator (301)Create 301 redirect rules for Apache: http to https, www, index.html and old-to-new URL lists.
- robots.txt Generator and CheckerCreate robots.txt with per-crawler rules, AI crawler blocking and sitemap lines, with a quick check for mistakes.
- Keyword Density CheckerCount words and keywords in your text, see their density and highlight where they appear.
- SERP Preview (Search Result Preview)Preview how your title, meta description and URL may look in search results on desktop and mobile, with truncation estimates.