Free XML Sitemap Generator
Generate a valid sitemap.xml for your site in seconds. Paste your URLs — one per line — set default change frequency and priority, and get standards-compliant XML ready to upload and submit to Google Search Console.
sitemap.xml
How to Use the Sitemap Generator
- Paste your URLs, one per line, into the input box.
- Set the default change frequency and priority.
- Toggle lastmod to stamp today’s date on every URL.
- Click Generate, then copy or download sitemap.xml.
Features
The generator validates each line as a URL (adding https:// when you paste bare domains), escapes XML special characters in URLs, and emits a proper urlset with the sitemaps.org namespace. Changefreq and priority apply cleanly, lastmod stamps the current date, and a counter reports how many valid URLs were included versus skipped.
Benefits & Use Cases
Site owners give search engines a complete crawl map for new or large sites; SEOs generate sitemaps for small static sites without CMS plugins; developers scaffold the file during launches. A valid sitemap speeds up discovery of pages that internal linking might miss.
Tips
Keep sitemaps under 50,000 URLs and 50MB uncompressed — split larger sites into multiple sitemaps with an index. List only canonical, indexable URLs; including redirected or noindexed pages wastes crawl budget.
Frequently Asked Questions
What is a sitemap.xml?
An XML file listing your site’s important URLs (with optional last-modified dates, change frequency, and priority) that helps search engines discover and crawl your pages efficiently.
Does a sitemap guarantee indexing?
No — it helps discovery, but Google still decides what to index based on quality and other signals. Think of it as handing over a map, not a VIP pass.
Where do I put sitemap.xml?
At your domain root (example.com/sitemap.xml) and reference it in robots.txt via a Sitemap: line, then submit it in Google Search Console and Bing Webmaster Tools.
What should changefreq and priority be?
Honest hints, not commands: set changefreq to how often content actually changes, and priority relative to your other pages (1.0 for the homepage, lower for deep pages). Search engines treat them as suggestions.
How many URLs can a sitemap hold?
Up to 50,000 URLs or 50MB uncompressed per file. Larger sites use multiple sitemaps listed in a sitemap index file.
Related Tools
Robots.txt Generator
Generate robots.txt files visually with NToolHub’s free tool. Allow/disallow rules, sitemap reference, crawl delay — copy-ready.
Open tool →Meta Tag Generator
Generate SEO and social meta tags with NToolHub’s free tool. Title, description, Open Graph, Twitter cards — copy-ready HTML head code.
Open tool →.htaccess Generator
Build Apache .htaccess rules visually with NToolHub’s free generator. HTTPS, www, redirects, hotlink protection — copy-ready server config.
Open tool →XML Formatter
Format and beautify XML instantly with NToolHub’s free formatter. Validates well-formedness, clean indentation — 100% private.
Open tool →URL Encode
Percent-encode URLs and text instantly with NToolHub’s free tool. Component or full-URL mode, UTF-8 safe — private in-browser.
Open tool →