Sitemap generator
Write a sitemap.xml from a list of addresses, with their last-changed dates.
- Generator
- 1 rule
- Last updated
What it checks
- The protocol’s namespace,
http://www.sitemaps.org/schemas/sitemap/0.9(http, as the protocol writes it). - Addresses that are full http or https links, all on one site, with no repeats.
- Dates in the form
2026-03-05(or with a time and a zone), checked against the calendar: 2026-02-30 is refused. - The limit of 50,000 addresses to a file.
- Characters that need escaping (
&) and Arabic letters in an address (percent-encoded).
Example
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://www.example.com/</loc> </url> </urlset>
<?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> </urlset>
How to fix
Save the file as sitemap.xml at the root of your site, name it in your robots.txt, and give it to Search Console:
- List only addresses you want in search: pages that answer 200, are not
noindexand are the canonical. - Give a date only when it is true: the day the page’s content last changed, not the day you made the file. Google uses it when it proves reliable.
- Over 50,000 addresses, split the list into several files and list them in a sitemap index.
- Most platforms make a sitemap by themselves: use this for a site with no sitemap, or to write one by hand for a part of the site.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/products/oud</loc>
<lastmod>2026-03-05</lastmod>
</url>
</urlset>FAQ
A small site that is linked well is found without one. A sitemap helps Google find pages on a large site, a new one, or one with few links to its pages. It does not make Google index them.
Only those that should be in search. A sitemap that lists redirects, errors or noindex pages teaches Google to trust it less.
No. The generator runs in your browser, and nothing you type leaves it.
What this tool runs
- A sitemap search engines cannot readmoderate
sitemap-invalid
How we measure
The generator runs in your browser and writes the sitemaps protocol (sitemaps.org). Addresses are normalised by the browser’s URL parser, which percent-encodes non-ASCII; a date must be a W3C datetime and a real calendar day. The sitemap check Arablyzer runs on sites (sitemap-invalid) judges the file it writes.