Skip to content
Koit Academy

XML sitemap generator

Your details

YYYY-MM-DD. Only if every page in the list really changed on that date.

The details filled in are an example. Everything runs in this browser; nothing you type is sent anywhere or stored.

sitemap.xml

5 URLs in the sitemap.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/</loc>
  </url>
  <url>
    <loc>https://www.example.com/services/</loc>
  </url>
  <url>
    <loc>https://www.example.com/services/roof-repair/</loc>
  </url>
  <url>
    <loc>https://www.example.com/about/</loc>
  </url>
  <url>
    <loc>https://www.example.com/contact/</loc>
  </url>
</urlset>
  • Note: No priority or changefreq tags: Google ignores both.
  • Note: Upload it to the site root and submit it in Search Console, or add a Sitemap: line to robots.txt.

How to use it · free, no signup

How to use the XML Sitemap Generator

Paste the URLs you want indexed to get a valid sitemap.xml, with duplicates removed, values escaped and an optional last-modified date. Runs in your browser.

  1. 01

    Paste the URLs

    Full addresses of the pages you want indexed, one per line.

  2. 02

    Add a date if it is true

    A last-modified date only if every listed page really changed then.

  3. 03

    Download sitemap.xml

    Upload it to the site and submit it in Search Console.

What a sitemap does

A sitemap lists the addresses you want search engines to know about. It does not guarantee they will be crawled or indexed, but it removes the need for a crawler to find every page by following links, which matters most for new sites, large sites and pages few others link to. The format is simple, and the rules that matter are few.

Google’s rules, applied

RuleWhat the generator does
Fully-qualified, absolute URLs onlyRejects any line that is not a full https:// address
UTF-8, with values entity-escapedWrites UTF-8 and escapes &, < and similar characters
At most 50,000 URLs or 50 MB per fileWarns when the list is over the limit
priority and changefreq are ignoredLeaves them out
lastmod only when reliably accurateWrites it only if you give a date, in YYYY-MM-DD form

Every one of these comes from Google’s guide to building a sitemap, which also notes that a lastmod should reflect the last significant change to a page. A date applied to every URL because the sitemap was rebuilt today teaches search engines to ignore it.

Choosing what to list

  • The canonical address of each page, exactly as you want it indexed, with or without the trailing slash as the site uses it.
  • Not redirects. List the final address, not one that sends visitors elsewhere.
  • Not noindex pages. Asking for a page to be found and then not indexed sends mixed signals.
  • One host per sitemap. The generator warns when the list mixes hosts.

Publishing it

Upload the file to the site, usually at /sitemap.xml, and submit it in Search Console. Adding a Sitemap: line to robots.txt also tells other crawlers where it is; the robots.txt generator adds that line. If pages have moved, set up redirects first with the 301 redirect generator and list only the new addresses.

Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.

Questions

What people ask about the XML Sitemap Generator

Does this tool crawl my site?
No. It builds the sitemap from the list you paste, which keeps everything in your browser. Export the list from your CMS, a spreadsheet or a crawler first.
Why are there no priority or changefreq tags?
Google ignores both, so the generator does not write them. A lastmod date is used only when it is reliably accurate.
How many URLs can one sitemap hold?
Up to 50,000 URLs or 50 MB uncompressed. Larger sites split the list into several sitemaps and list them in a sitemap index.
Which URLs belong in a sitemap?
The canonical addresses you want indexed, using the full URL. Leave out redirects, error pages, pages marked noindex and duplicates.
How do I tell Google about the sitemap?
Submit it in Search Console, or add a Sitemap: line with its full address to robots.txt.