What is sitemap xml generator?
A sitemap lists the important URLs of your site so search engines can find them. It helps most for new sites, large sites and pages that few links point to.
This tool turns a plain list of URLs into correct XML, with special characters escaped. You can then upload the file to your site root and submit it in Google Search Console and Bing Webmaster Tools.
How to use the sitemap xml generator
- Paste your full URLs, one per line.
- Choose a change frequency and priority, and whether to include a last modified date.
- Press Generate, save the file as sitemap.xml, upload it and add a Sitemap line to robots.txt.
How the sitemap xml generator works
Each URL becomes a url element with loc, optional lastmod, changefreq and priority. Ampersands are escaped. The first URL gets a priority of 1.0.
Worked example
Common uses of the sitemap xml generator
- Launching a new small website.
- Creating a sitemap for a static or hand coded site.
- Submitting a list of key pages quickly.
- Testing the format before building an automated version.
- Helping crawlers find orphan pages.
Tips and common mistakes
Include only canonical, indexable URLs that return a 200 status. Leave out redirected, blocked and duplicate pages.
A single sitemap can hold up to 50,000 URLs or 50 MB. Larger sites need a sitemap index.
Background: what to know before you rely on it
XML sitemaps were introduced by Google in 2005 and adopted by other search engines in 2006. They are a hint and not a command. A good sitemap lists only URLs that you want indexed, and lastmod should reflect real content changes, since search engines learn to ignore dates that always change. Large sites often generate sitemaps automatically and split them by type. If your site is small and well linked, search engines can find pages without a sitemap, but it still helps you monitor indexing in Search Console. Keep the sitemap in sync with robots.txt and avoid including pages blocked by noindex.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.
Frequently asked questions
Where do I put sitemap.xml?
In the root of your site, for example example.com/sitemap.xml.
Do I need to set priority and changefreq?
Google mostly ignores them. They do no harm.
How do I submit it?
In Google Search Console under Sitemaps, and by adding a Sitemap line to robots.txt.
Does a sitemap guarantee indexing?
No. It helps discovery only.
Related tools
Robots.txt Generator
Enter the paths you want to block, add your sitemap and download a ready robots.txt for the root of your...
SEO Tools.htaccess Redirect Generator
Choose the redirect type and fill in the paths. The generator writes the .htaccess rules for Apache...
SEO ToolsMeta Tag Generator
Enter your page title, description and URL and the generator writes the HTML meta tags, including Open...
SEO ToolsFAQ Schema Generator
Write each question on one line and the answer on the next, with a blank line between pairs. The tool...
SEO ToolsUTM Link Builder
Enter your URL with a source and medium, plus optional campaign details. The tool returns a tagged link...
SEO ToolsSERP Preview Tool
Type a title, URL and description to see a preview of a Google search result and a check of the...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.