XML Sitemap Generator

Paste your page paths or full URLs, one per line, and get a valid XML sitemap to upload and submit to Google Search Console.

Paths like /about or full URLs on the same site. Duplicates are removed.

Only include a date if it reflects a real content change. Google trusts lastmod when it is consistently accurate.

Your sitemap.xml

    About the XML Sitemap Generator

    An XML sitemap is a list of the URLs you want search engines to find, in the format defined at sitemaps.org. It does not guarantee indexing, but it helps Google discover new and deep pages faster, especially on a new site with few links pointing to it. This generator turns a plain list of paths into a valid sitemap, escapes characters such as & that would otherwise break the XML, removes duplicates, and flags URLs from a different domain. It runs entirely in your browser.

    How to Use It

    1. Enter your website address, including https://. Use the exact version your site loads on (with or without www).
    2. Paste your pages, one per line. You can mix paths (/about) and full URLs.
    3. Choose whether to add a last-modified date. Leave it out unless the date is true.
    4. Generate and download the file, upload it to your site's root folder as sitemap.xml, then submit it in Google Search Console under Sitemaps.
    5. Point to it from robots.txt with a Sitemap: line. Our Robots.txt Generator adds this for you.

    What to Include, and What to Leave Out

    List only canonical pages that return status 200 and that you actually want in search results. Leave out redirected URLs, pages marked noindex, duplicate versions with tracking parameters, login and cart pages, and anything blocked in robots.txt. A sitemap full of URLs Google cannot or should not index sends mixed signals and wastes crawl attention.

    Google ignores the changefreq and priority tags, so this tool does not add them. It does read lastmod, but only for sites whose dates prove reliable over time. Setting every page to today's date on every upload teaches Google to ignore the field.

    Size Limits

    One sitemap file can hold up to 50,000 URLs and must be no larger than 50 MB uncompressed. Larger sites split their URLs across several sitemaps and list those files in a sitemap index. For a typical small business site or blog, a single file is plenty.