What is an XML sitemap and why do SEO teams use it?
An XML sitemap is a machine-readable inventory of important pages on your site. Search systems like Google Search Console use it to discover URLs, especially on large sites, new domains, or deep sections with few internal links. The file follows the public sitemaps.org protocol: a root urlset with child url elements, each containing a required loc (canonical URL) and optional lastmod, changefreq, and priority hints. Submitting a sitemap does not guarantee indexing, but it aligns your technical SEO signals with what you want crawlers to prioritize.
How to use this XML sitemap generator (step by step)
- Decide whether you will paste full URLs only or also path-only lines. If you use paths, set the site origin field to your canonical scheme and host (for example
https://www.example.com). - Enter URLs in the text area—one per line—or use Upload .txt to load a file from your computer. Invalid lines are listed so you can fix typos or protocol mistakes.
- Toggle lastmod when you want a single date on every URL (useful after a bulk update). Choose changefreq and priority only if you have a consistent policy; omitting them is valid and common.
- Click Copy XML and save the result as
sitemap.xml(or another name) on your HTTPS host. In Google Search Console, open Sitemaps and submit the public URL of the file. Add a robots.txtSitemap:directive if your workflow relies on discovery.
Keywords and topics this sitemap tool supports
Content and growth teams often search for an XML sitemap generator, sitemap.xml generator, Google sitemap format, Search Console sitemap submit, urlset lastmod changefreq, and SEO sitemap for new site. This page explains the fields, limits, and how to combine a sitemap with robots.txt and on-page structured data. For rich results markup, use the schema markup generator; for social previews, see the Open Graph tag generator.
Limits, best practices, and migration audits
Each sitemap may contain up to 50,000 URLs and must stay under roughly 50 MB uncompressed; bigger sites use a sitemap index and multiple segment files. Prefer HTTPS locations, avoid session parameters in loc, and keep lastmod truthful when you use it. When you change URL structures, combine this workflow with the redirect type checker so old URLs resolve cleanly. For snippet tuning before launch, the meta title and description checker helps keep titles and descriptions within common display limits.
Related SEO and site utilities
Explore the full SEO tools section on the homepage, or open a focused utility below.
- Meta Title & Description Checker — Check title and meta description lengths against common search snippet limits before publish.
- Keyword Density Checker — Measure keyword frequency, density, and prominence in your page copy for on-page SEO.
- Readability Score Checker — Run Flesch-Kincaid style analysis with grades and suggestions for clearer content.
- robots.txt Generator — Build a valid robots.txt with allow/block rules and sitemap URL for crawler control.
- Schema Markup Generator — Fill forms to output JSON-LD for articles, FAQs, products, reviews, and more.
- Open Graph Tag Generator — Generate Open Graph meta tags and preview social share cards for marketing QA.
- Hreflang Tag Generator — Pair URLs with language and region codes to output correct hreflang clusters for multilingual SEO.
- Redirect Type Checker — See whether a URL returns 301, 302, or other redirects plus timing for migration audits.
- UTM Link Builder — Add UTM parameters for source, medium, campaign, and term to track campaigns in analytics.