Search tools

XML Sitemap Generator

Paste your page URLs and download a valid sitemap.xml, ready for Google Search Console.

XML Sitemap Generator tool

Google ignores changefreq and priority and only uses lastmod when it is accurate. Use a real date per page if your CMS can provide one.

    Processing runs in your browser.

    A sitemap is a list of the pages you want search engines to know about. Most content management systems create one automatically, but plenty of sites don’t have one: hand-built sites, static site generators without a plugin, landing pages on a separate domain, or a set of pages you have just migrated. If you can get a list of URLs, this tool turns it into a valid file in seconds.

    Where to get your list

    • Export pages from your CMS or e-commerce platform as CSV, then load the file.
    • Copy the links from your site’s navigation or an HTML page and paste the whole thing; the tool picks out the URLs.
    • Export a crawl from an SEO crawler and paste the URL column.

    What to include

    List only pages you want in search results: the canonical version of each page, returning a 200 status. Leave out redirects, pages marked noindex, duplicate URLs with tracking parameters, and login or checkout pages. Including them doesn’t break anything, but it sends mixed signals and makes Search Console reports noisier.

    About the dates

    Setting every page’s lastmod to today each time you regenerate the file teaches Google to ignore your dates. If you can’t get real modification dates per page, leaving lastmod out is better than inventing one. For a site you have just launched, today’s date is accurate, so the default is fine.

    How to use the XML Sitemap Generator

    1. Paste your URLs, one per line, or paste any text or HTML that contains links. You can also load a .txt or .csv file.
    2. Choose whether to include a last-modified date.
    3. Leave change frequency and priority out unless another search engine you care about needs them.
    4. Read the notes, then click Download sitemap.xml.

    Features

    • Finds every http and https link in pasted text, HTML or CSV.
    • Removes duplicates and skips URLs from other domains automatically.
    • Escapes special characters such as & correctly for XML.
    • Optional lastmod, changefreq and priority, including priority by folder depth.
    • Checks the 50,000-URL and 50 MB sitemap limits.

    Frequently asked questions

    Do I need a sitemap?

    Small, well-linked sites are usually found without one, but a sitemap helps search engines discover new pages faster. It matters most for large sites, new sites with few links, and pages that are hard to reach by clicking.

    Does Google use priority and changefreq?

    No. Google has said it ignores both. It does use lastmod, but only when the dates are consistently accurate, so only include it if it reflects real content changes.

    How many URLs can one sitemap hold?

    Up to 50,000 URLs and 50 MB uncompressed. For bigger sites, split the URLs into several sitemaps and list them in a sitemap index file.

    How do I submit my sitemap?

    Upload sitemap.xml to your site root, add a line like Sitemap: https://example.com/sitemap.xml to robots.txt, and submit the URL in Google Search Console and Bing Webmaster Tools.

    Written by