XML Sitemap Generator, Build a Valid sitemap.xml Online
Paste your URLs, set changefreq, priority and lastmod, and get a spec-valid sitemap.xml you can download and submit to Google Search Console in seconds. Validated live, generated entirely in your browser. No crawl, no upload, no signup.
What is the xml sitemap generator?
The XML Sitemap Generator turns a pasted list of URLs into a spec-valid sitemap.xml with per-URL changefreq, priority and lastmod, escaping XML characters automatically. Live validation flags non-HTTPS locations, out-of-range priorities, duplicates and the 50,000-URL limit. Free and browser-based with no crawl, so staging URLs never leave your machine.
The GigAI XML Sitemap Generator converts a plain list of page URLs (one per line, pasted or dropped from a.txt file) into a sitemaps.org-compliant <urlset> document that search engines can read. Set site-wide defaults for change frequency, priority and last-modified date, then override any single URL when a page needs its own values. As you type, the tool validates the result against the protocol: it flags non-HTTPS locations, priorities outside the 0.0–1.0 range, invalid changefreq keywords, duplicate URLs, and warns before you cross the 50,000-URL / 50 MB ceiling that forces a sitemap index. XML special characters in your URLs (&, ?, =) are escaped automatically so the output is always well-formed. When it looks right, copy it or download sitemap.xml, drop it at your domain root, and submit the URL in Google Search Console or reference it from robots.txt. Unlike crawler-based generators that spider your live site on a server (and often cap free plans at 500 pages), this runs 100% in your browser from the URLs you already have, so there is no page limit we impose, nothing is uploaded, and your unpublished or staging URLs never leave your machine.
- Difficulty:
- Easy
- Typical time:
- ~30s
- Processing:
- 100% browser processing
Last updated
How to use the xml sitemap generator
- 1
Paste your URLs
Enter one absolute URL per line, or drop a .txt file. To override a single URL, append pipe-separated values: url | changefreq | priority | lastmod.
- 2
Set site-wide defaults
Choose a default changefreq and priority, and pick how lastmod is filled, today's date, a fixed date, or leave it off. Overrides always win.
- 3
Review validation
Watch the live status: URL count, HTTPS coverage, duplicates, and any priority or changefreq warnings. Fix flagged rows before you export.
- 4
Copy or download sitemap.xml
Copy the XML or download sitemap.xml, upload it to your domain root (e.g. https://example.com/sitemap.xml), and submit that URL in Google Search Console.
- 5
Reference it from robots.txt
Add a Sitemap: https://example.com/sitemap.xml line to robots.txt so every crawler finds it automatically, not just Google.
What XML Sitemap Generator includes
URL list → valid <urlset>
Paste or drop one URL per line and get a sitemaps.org 0.9 <urlset> document with escaped locations and consistent indentation, ready to save as sitemap.xml.
Defaults plus per-URL overrides
Set a site-wide changefreq, priority and lastmod, then override individual URLs inline (e.g. url | daily | 1.0 | 2026-06-30) when a page needs its own values.
Live protocol validation
As you type we flag non-HTTPS URLs, out-of-range priorities, invalid changefreq keywords, duplicates, and warn before you hit the 50,000-URL limit that forces a sitemap index.
Smart lastmod handling
Use today's date, a fixed date, or per-URL W3C dates. Values are emitted in the ISO 8601 form Google expects, so lastmod is never silently ignored.
Copy or download sitemap.xml
One click copies the XML to your clipboard or downloads a correctly-named sitemap.xml. Drop it at your site root and submit it in Search Console.
100% in your browser
No crawler, no server, no page cap. Your URLs, including staging and unpublished pages, are turned into XML locally and never uploaded, stored or logged.
Why use our xml sitemap generator
Get indexed faster
A clean sitemap tells Google exactly which URLs to crawl and how often, helping new and updated pages get discovered without waiting on organic crawl.
No arbitrary page limits
Crawler-based generators cap free plans at a few hundred URLs. Because you supply the list, you can build a sitemap of thousands of pages in one pass.
Ship well-formed XML every time
Automatic escaping and live validation mean the file you download parses cleanly in Search Console. No 'could not read your sitemap' errors.
Keep unpublished URLs private
Since nothing is crawled or uploaded, you can safely generate a sitemap that includes staging, pre-launch or internal URLs without exposing them.
Built for the way you work
From quick one-off fixes to daily workflows, see how people put this tool to use.
- SEO specialist
Submit a new site to Search Console
Export your CMS's URL list, paste it in, set homepage priority to 1.0 and section pages to 0.8, and hand Google a complete map on launch day.
- Web developer
Regenerate after a URL migration
After changing your URL structure, drop the new canonical URLs here to produce a fresh sitemap.xml that reflects the moved pages and their new lastmod.
- Content / marketing
Prioritise cornerstone content
Give pillar articles a higher priority and weekly changefreq while leaving evergreen pages monthly, so crawl attention lands where it matters.
- Agency / freelancer
Build sitemaps for client sites privately
Generate sitemaps for multiple client domains, including pre-launch staging URLs, without any of them touching a third-party server.
Supported formats
Accepts TXT and URL list, and produces XML, all processed locally in your browser.
- TXT
- URL list
- XML
Frequently asked questions
Use this in a workflow
See how the xml sitemap generator fits into a step-by-step journey with related tools.
Recommended tools
Robots.txt Generator
Build a valid robots.txt with user-agent groups, allow/disallow rules, crawl-delay, sitemap and host directives, with live output, presets and lint warnings. 100% in your browser.
Meta Tag Generator
Generate perfect SEO meta tags, Open Graph and Twitter Card markup with a live Google snippet and social-card preview, copy the ready-to-paste <head> code, 100% in your browser.
URL Encoder
Percent-encode text and URLs instantly: pick component mode for query values or full-URL mode to preserve structure, with a per-line batch switch. 100% in your browser, nothing uploaded.
URL Decoder
Decode percent-encoded (URL-encoded) text back to plain, readable characters, and when you paste a full link, see it broken down into protocol, host, port, path, decoded query parameters and hash. 100% in-browser. Nothing is uploaded.
Sitemap Validator
Paste your sitemap.xml and validate it instantly: well-formed XML, every <url> has a <loc>, the 50,000-URL limit, HTTPS locations and valid changefreq/priority. Catches the errors that make Google reject a sitemap. 100% in your browser.
HTML Sitemap Generator
Turn a list of URLs into a clean, nested HTML sitemap page, a linkable <ul> tree grouped by path that you can paste straight into any site. Boosts internal linking and navigation. 100% in your browser.
Comparisons & guides
Go deeper on the concepts behind the xml sitemap generator.
Common problems, solved
Hit a snag? Here are quick fixes for the issues people run into most.
Search Console says 'Couldn't fetch' or 'Sitemap could not be read'.
Confirm the file is actually reachable at the URL you submitted (open it in a browser), is served as XML/text, and lives at or above the path of the URLs it lists. A sitemap at /blog/sitemap.xml may only include /blog/ URLs.
My lastmod dates are being ignored.
Google trusts lastmod only when it's accurate and in W3C/ISO 8601 form (YYYY-MM-DD or full timestamp). Don't set every URL to 'today' on each build, inflated dates get discounted. Use real modification dates per URL.
The tool warns I have too many URLs.
A single sitemap allows up to 50,000 URLs and 50 MB uncompressed. Split large sites into multiple sitemap files and list them in a sitemap index (a <sitemapindex> of <sitemap> entries), then submit the index.
Priority doesn't seem to change my rankings.
That's expected. Priority and changefreq are hints about relative importance and crawl frequency within your own site. They are not ranking factors and Google largely treats priority as advisory. Focus them on guiding crawl budget, not on SEO scores.
Get the most out of it
List only canonical, indexable URLs, exclude noindex, redirected, and parameter-duplicate pages so you don't send crawlers mixed signals.
Use absolute HTTPS URLs (https://example.com/page): relative paths and http:// entries are flagged and can be rejected.
Set lastmod from your real content-updated timestamp. Accurate dates help Google recrawl changed pages sooner.
Add 'Sitemap: https://example.com/sitemap.xml' to robots.txt so Bing and other crawlers discover it too, not just Google.
Over 50,000 URLs? Split into several sitemaps and submit a sitemap index instead of one giant file.
What's new
Recent updates and improvements to the xml sitemap generator.
Initial release, URL-list to valid <urlset> sitemap.xml, site-wide changefreq/priority/lastmod defaults, per-URL pipe overrides, live validation, copy and download.
Added duplicate-URL detection, HTTPS coverage stats, and a warning as you approach the 50,000-URL protocol limit, plus drag-and-drop .txt import.
Added lastmod modes (today / fixed date / off), keyboard shortcuts, shareable links and ready-made example URL sets.
Keep exploring
Problems we solve
Definitions
From the blog
Explore categories
Compare formats
By file type
Common tasks
Your privacy is built in
Your URLs are turned into XML entirely in your browser. There is no crawler and no upload. Nothing is stored, logged or transmitted, so you can safely generate sitemaps that include staging, pre-launch or internal URLs. Close the tab and every trace is gone.
- Runs in your browser
- No uploads
- Nothing stored
Ready to try the xml sitemap generator?
Free, private and instant. XML Sitemap Generator runs right in your browser.