πŸ—ΊοΈ Free XML Sitemap Generator

XML Sitemap Generator

Paste your page URLs and generate a valid XML sitemap with optional priority, change frequency and last-modified dates. Live output, ready to copy or download as sitemap.xml. 100% in your browser β€” nothing is uploaded or stored.

0 valid URLs

Tip: list only canonical, indexable URLs. After generating, submit your sitemap in Google Search Console and reference it in your robots.txt file.

Generated sitemap.xml

          
πŸ“ Save as sitemap.xml in your site root, then submit it at Search Console β†’ Sitemaps.

πŸ”’ Everything runs in your browser. Your URLs are never uploaded, logged or stored.

The XML Sitemap Generator turns a list of page URLs into a valid sitemap.xml file that helps search engines discover and crawl your important pages. Paste your URLs, choose optional change frequency, priority and last-modified values, and the tool builds standards-compliant sitemap XML live β€” ready to copy or download.

It belongs to the Crawl & Indexing group of our free SEO Toolkit, alongside the Robots.txt Generator and Sitemap Validator. Once generated, reference the sitemap in your robots.txt, submit it in Google Search Console, and validate its structure with the Sitemap Validator. You can also explore the rest of the Crawl & Indexing tools for full control over how search engines access your site. Everything runs in your browser β€” your URLs are never uploaded or stored.

∞
URLs Supported
100%
Free Forever
0
Data Stored
99.9%
Uptime
β€” Features β€”

Valid Sitemaps, Instantly

Standards-compliant sitemap XML from a simple list of URLs.

Bulk URLs

Paste any number of URLs, one per line. Duplicates and invalid entries are filtered out automatically.

Full Metadata

Add optional changefreq, priority and lastmod values that follow the sitemaps.org protocol.

Auto Validation

Only well-formed http and https URLs are included, and special characters are safely escaped.

Copy & Download

Copy the XML or download a ready-made sitemap.xml to upload to your site's root.

β€” How It Works β€”

Build a Sitemap in Four Steps

From URL list to a valid sitemap.xml in under a minute.

1

Paste Your URLs

Add your page URLs, one per line. The tool counts the valid ones as you type.

2

Set Defaults

Choose change frequency, priority and last-modified date to apply to every URL.

3

Get the XML

Valid sitemap XML builds live in the output panel, fully escaped and well-formed.

4

Submit It

Save as sitemap.xml, upload to your root, and submit it in Search Console.

β€” Example Output β€”

What You'll Get

Clean, valid sitemap XML ready for your site root.

sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

What Is an XML Sitemap?

An XML sitemap is a file that lists the important URLs on your website so search engines can find and crawl them efficiently. Each entry uses the <url> element with a required <loc> (the page address) and optional <lastmod>, <changefreq> and <priority> values. This generator builds that file for you from a plain list of URLs, escaping special characters and keeping the structure valid. It is part of the Crawl & Indexing group.

Sitemap Elements Explained

ElementRequired?What It Means
<loc>YesThe full, canonical URL of the page
<lastmod>OptionalThe date the page last changed
<changefreq>OptionalHow often the page is likely to change
<priority>OptionalRelative importance from 0.0 to 1.0

Google treats lastmod as a useful hint but largely ignores changefreq and priority. They remain part of the protocol and do no harm, so this tool lets you include or omit them as you prefer.

Why a Sitemap Helps SEO

πŸ”

Faster Discovery

Search engines find new and updated pages sooner, especially on large or newly launched sites.

🧭

Complete Coverage

Pages with few internal links still get discovered when listed in the sitemap.

πŸ“…

Freshness Signals

The lastmod date tells crawlers which pages changed and may need re-crawling.

πŸ“Š

Indexing Insight

Submitting a sitemap in Search Console reveals how many listed URLs are indexed.

What This Generator Includes

  • Bulk URL input, one per line, with a live valid-URL counter
  • Automatic removal of duplicates and invalid entries
  • Optional changefreq, priority and lastmod for all URLs
  • Today, none, or a custom last-modified date
  • Proper XML escaping of special characters in URLs
  • Valid sitemaps.org 0.9 protocol structure
  • Live output as you type
  • One-click copy and download as sitemap.xml

How to Use the XML Sitemap Generator

  1. Paste your URLsAdd one URL per line; only valid http and https addresses are counted.
  2. Choose defaultsPick a change frequency, priority and last-modified setting.
  3. Copy the XMLThe valid sitemap builds live; copy or download it as sitemap.xml.
  4. Submit itUpload to your root, link it in robots.txt, and submit in Search Console.

Technical Notes

A single XML sitemap can hold up to 50,000 URLs and must be no larger than 50MB uncompressed. For larger sites, split URLs across multiple sitemaps and list them in a sitemap index file. This generator is ideal for sitemaps within that limit.

List only canonical, indexable pages that return a 200 status. Exclude redirected, noindex, blocked or duplicate URLs, as including them sends mixed signals. Keeping the sitemap clean helps search engines trust it.

No. They are hints, not ranking factors, and Google largely ignores them. The lastmod date is more useful. You can include all three for protocol completeness or leave them out without harming your SEO.

No. The sitemap is built locally in your browser with JavaScript. The URLs you paste are never uploaded, logged or stored, so the tool is safe to use for unpublished or staging sites.

Common Use Cases

πŸš€

New Sites

Help search engines find every page of a freshly launched site quickly.

πŸ“

Blogs

Keep a current list of posts so new articles are discovered and crawled fast.

πŸ›οΈ

Online Stores

List product and category URLs so they are all found by search engines.

πŸ”§

Custom Sites

Build a sitemap for static or hand-coded sites that have no automatic generator.

Use the XML Sitemap Generator with these tools from the SEO Toolkit: validate the result with the Sitemap Validator, reference it in your Robots.txt Generator output, control indexing with the Meta Robots Tag Generator, set canonical URLs with the Canonical Tag Generator, clean up addresses with the URL Slug Generator, and complete your head tags with the Meta Tag Generator.

β€” Who It's For β€”

Built for Everyone

Anyone who wants search engines to find every important page.

πŸ–ŠοΈ Bloggers & Writers πŸ’» Web Developers πŸ“ˆ SEO Specialists 🏒 Agencies πŸ›οΈ E-commerce Owners πŸ”§ Site Owners πŸŽ“ Students & Learners πŸš€ Startup Founders
β€” FAQ β€”

Frequently Asked Questions

Everything about generating and submitting XML sitemaps.

It turns a list of page URLs into a valid sitemap.xml file. You paste your URLs and choose optional change frequency, priority and last-modified values; the tool builds well-formed, escaped sitemap XML live. You then copy it or download sitemap.xml to upload to your site.

Yes, completely. There is no cost, no sign-up and no limit on the number of sitemaps you create. The tool runs entirely in your browser, so there are no server costs and nothing to pay for.

You can paste a large list; the practical sitemap limit set by search engines is 50,000 URLs and 50MB per file. For bigger sites, split the URLs across multiple sitemaps and combine them with a sitemap index file.

Yes. All processing happens locally in your browser with JavaScript. The URLs you paste are never uploaded, logged or stored on any server, which makes the tool safe to use for staging or unpublished sites.

Save the output as sitemap.xml and upload it to your site's root, so it is reachable at https://yoursite.com/sitemap.xml. Then reference it in your robots.txt and submit it in Google Search Console under the Sitemaps report.

Include only canonical, indexable pages that return a 200 status. Leave out redirected, noindex, blocked or duplicate URLs. A clean sitemap of pages you genuinely want indexed sends the clearest signal to search engines.

They are optional hints, not ranking factors, and Google largely ignores them. The lastmod date is more useful for signalling updates. You can include all three for completeness or leave them out with no SEO downside.

No. A sitemap helps search engines discover URLs, but indexing depends on content quality, crawl budget and other factors. It improves discovery and gives you indexing data in Search Console, but it is not a guarantee of indexing.

Yes. This tool is ideal for static or hand-coded sites that lack an automatic sitemap plugin. Paste your URLs, generate the XML, and upload the file β€” no CMS or server-side software is required.

After generating the file, run it through the Sitemap Validator in this toolkit to check the structure and required tags. Google Search Console will also report errors once the sitemap is submitted and processed.

Yes. The generator is fully responsive, so you can build a sitemap from a phone or tablet. Pasting URLs, choosing options, and the copy and download buttons all work the same as on desktop.

Generate Your XML Sitemap Now

Turn a list of URLs into a valid sitemap.xml in seconds β€” free, private and instant in your browser.

πŸ—ΊοΈ Open the Generator ← All Crawl & Indexing Tools