Skip to content
GigAI Tools

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.

100% browser processingFree · no sign-up

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. 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. 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. 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. 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. 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.

Input formats
  • TXT
  • URL list
Output formats
  • XML

Frequently asked questions

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.

  1. Initial release, URL-list to valid <urlset> sitemap.xml, site-wide changefreq/priority/lastmod defaults, per-URL pipe overrides, live validation, copy and download.

  2. 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.

  3. Added lastmod modes (today / fixed date / off), keyboard shortcuts, shareable links and ready-made example URL sets.

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.