XML Sitemap Generator
Turn a plain list of page URLs into a valid sitemap.xml file. Add an optional change frequency and priority, preview the XML live, then copy or download it and submit it in Google Search Console.
How to generate an XML sitemap
- Paste your page URLs, one per line, into the box.
- Pick a default change frequency and priority if you want them included.
- Copy the XML or download sitemap.xml and submit it in Search Console.
Examples
Two pages with priority and change frequency
https://example.com/ https://example.com/about (monthly, priority 0.8)
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
</url>
<url>
<loc>https://example.com/about</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>A URL with query parameters gets escaped
https://example.com/search?q=cats&sort=new
<loc>https://example.com/search?q=cats&sort=new</loc>
Frequently asked questions
What is an XML sitemap?
It is a file that lists the URLs on your site so search engines can discover and crawl them. Each page is a <url> entry with a <loc> tag, and it lives at a URL like https://yourdomain.com/sitemap.xml.
What do lastmod, changefreq and priority mean?
lastmod is the date a page last changed, changefreq hints how often it updates (always, hourly, daily, weekly, monthly, yearly, never), and priority is a 0.0 to 1.0 hint of relative importance. All three are optional and treated as hints, not commands.
How do I submit my sitemap to Google Search Console?
Upload sitemap.xml to your site root, open Search Console, go to the Sitemaps report, enter the path such as sitemap.xml, and click Submit. Google then fetches it and reports any errors.
How many URLs can one sitemap hold?
A single sitemap is limited to 50,000 URLs and 50 MB uncompressed. If your site is larger, split the URLs across multiple sitemaps and list them in a sitemap index file.
Should I list every page in the sitemap?
List the canonical pages you want indexed and leave out duplicates, redirects, and pages blocked by noindex. A clean list of indexable URLs helps crawlers spend their budget on the pages that matter.
Is my data sent to a server?
No. The sitemap is built entirely in your browser, so the URLs you paste never leave your device.
Related tools
Robots.txt Generator
Create a valid robots.txt file in seconds. Pick allow all, block all, or custom rules, add your sitemap URL, then copy or download the file.
Canonical Tag Generator
Generate a clean rel=canonical link tag from any URL. Strip tracking params, force HTTPS and lowercase the host, then copy the tag. Runs in your browser.
Article Schema Generator
Generate Article, NewsArticle or BlogPosting JSON-LD schema. Add headline, author, publisher and dates, then copy the script into your page.
Breadcrumb Schema Generator
Build BreadcrumbList JSON-LD structured data. Add your breadcrumb trail, reorder the steps, then copy or download the script for your page.
Bulk Hreflang Generator
Generate hreflang annotations for many languages at once. Add language and URL rows, pick HTML, XML sitemap, or HTTP header output. Runs in your browser.
Canonical Tag Checker
Paste page HTML to find every rel=canonical link and catch issues: missing, duplicate, relative or wrong-target canonicals. Runs in your browser.