FreeTechnical SEO tool

XML Sitemap Generator

Paste the URLs you want indexed, one per line, choose a change frequency and priority, and click Generate. You get a standard urlset file with a loc, lastmod, changefreq and priority entry for every line, ready to copy or download as sitemap.xml.

sitemaps.org 0.9 formatDownload as sitemap.xmlRuns in your browser

Updated · by the Linkstonic team

linkstonic.com/tool/xml-sitemap-generatorLive
How it works

What goes into each entry

The generator doesn't crawl your site. It wraps the URLs you give it in sitemap markup, so the quality of the file depends on the list you paste.

01

Your list, as typed

Each non-empty line becomes one url entry. Spaces around a line are trimmed and blank lines are skipped. Nothing else is checked: duplicates stay duplicated, relative paths aren't expanded, and URLs from two different domains end up in the same file.

02

Lastmod is today

Every entry gets the same lastmod, the current date in UTC (YYYY-MM-DD) at the moment you click Generate. That is fine for a brand-new site. For an older site, it tells search engines every page changed today, which usually isn't true.

03

One frequency, one priority

The change frequency (always, hourly, daily, weekly, monthly, yearly or never) and the priority (1.0 down to 0.1) apply to every URL. Defaults are weekly and 0.8. There's no way to give the homepage a different value than a blog post in the same run.

04

Ampersands aren't escaped

XML requires & to be written as &. The generator writes each URL exactly as you pasted it, so a URL like /shoes?size=10&color=red makes the file invalid. Escape those by hand, or better, leave parameter URLs out of the sitemap.

05

No size split

The sitemap protocol caps a file at 50,000 URLs and 50 MB uncompressed. The tool doesn't count or split, and it doesn't build a sitemap index. For big sites, generate the file in chunks and list them in an index yourself.

Worked example

A three-page site

We pasted three URLs, kept the defaults (weekly, 0.8) and clicked Generate on September 26, 2026.

Input
https://example.com/
https://example.com/about
https://example.com/blog/crawl-budget
Output
3url entries
2026-09-26lastmod on all three
weekly / 0.8changefreq / priority
21Lines of XML
587 bytesFile size

The homepage and a blog post get identical dates and priority. Google ignores priority anyway, but that shared lastmod is worth editing if the pages weren't all updated today.

Reference

How Google treats each sitemap tag

The protocol allows four tags per URL. Google has been open about which ones it reads.

Tag or limitRequiredWhat Google does with it
locYesThe URL to crawl. Must be absolute and on the sitemap's host
lastmodNoUsed when it's consistently accurate, ignored otherwise
changefreqNoIgnored
priorityNoIgnored
File sizen/a50,000 URLs or 50 MB uncompressed per file
Sitemap indexFor large sitesLists up to 50,000 sitemap files

Bing has said lastmod matters to it too.Changefreq and priority are still valid XML, so leaving them in does no harm.

XML Sitemap Generator illustration: a gauge icon next to a sample result card with url entries and lastmod on all three rows
XML Sitemap Generator, sample result
Our take

What a sitemap can and can't do

A sitemap is a list of hints. It helps search engines find URLs they might miss, like new pages with few internal links, and it tells them when something changed. It doesn't force indexing. A page that is thin, duplicated or blocked will stay out of the index no matter how many sitemaps list it.

The mistake I see most is a dirty list: redirected URLs, noindex pages, parameter variations and staging URLs all in the sitemap. That sends mixed signals. Only list the canonical, 200-status version of each page you actually want in search.

For small sites, a hand-built file like this one is fine. Once you publish often, a sitemap your CMS updates automatically is better, because a static file goes stale the day you add a page. The same goes for AI answers: Google's AI Overviews draw on Google's index, so a page has to be found and indexed before it can be quoted there.

Practical tips

Getting the file live

Generating the XML is the easy part. These steps get it read.

  1. 01

    Clean the list first: only canonical URLs that return 200, with no redirects, noindex pages or tracking parameters.

  2. 02

    Upload the file to your site root so it loads at https://yourdomain.com/sitemap.xml.

  3. 03

    Add a Sitemap: line with the full URL to robots.txt, so every crawler can find it without being told.

  4. 04

    Submit it in Google Search Console and Bing Webmaster Tools, then check the Pages report a few days later for errors.

  5. 05

    Regenerate the file when you add or remove pages, and edit lastmod so only changed pages get today's date.

XML Sitemap Generator tips illustration: a checklist card that starts with "Clean the list first" and "Upload the file to your site root so"
XML Sitemap Generator, checklist
Our customers

How we help marketers win

01techventuresShare of voice
02northlineReporting time
03arclabsAI mentions
FAQ

XML Sitemap Generator questions

01What is an XML sitemap?

It is a file that lists the URLs on your site you want search engines to crawl, optionally with the date each one last changed. It follows the sitemaps.org protocol and usually lives at /sitemap.xml.

02Does this tool crawl my site to find pages?

No. You paste the URL list yourself and the tool wraps it in sitemap markup. If you need a list, export one from your CMS, a crawler, or Search Console's Pages report.

03Should I set priority and changefreq?

They're optional, and Google has said it ignores both. Leaving the defaults in place is harmless. Spend the effort on keeping lastmod accurate instead, since that is the tag Google does use.

04Why is my generated sitemap showing an XML error?

Most often a URL contains an unescaped ampersand. XML needs & written as &, and this generator writes URLs exactly as pasted. Fix the ampersands, or remove parameter URLs from the list.

05How many URLs can one sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed. Past that, split the list into several files and reference them from a sitemap index. The generator doesn't split files for you.

Beyond one-off checks

See how your pages do in Google and AI answers

Linkstonic tracks rankings, audits your site and shows whether ChatGPT, Gemini and Perplexity mention you. The free plan needs no credit card.