NEW CASE
Antana

We create digital solutions that work for businesses


Give us a call +38 (066) 35-14-529

Let's take the first step towards your website — write to us

Close
Tools

sitemap.xml Generator

XML sitemap — page crawl and a ready file.

Up to 1,000 pages per crawl. The crawler respects robots.txt, skips noindex and non-canonical URLs, and collects language versions from hreflang. Put the file in the site root: example.com/sitemap.xml

Free audit

Your sitemap is ready. But what does Google see on the pages themselves?

A tool checks one thing. We’ll go through your whole site for free and send a report: what’s holding you back in Google and what to fix first.

  • Indexing and technical errors
  • Speed and Core Web Vitals
  • Meta tags, structured data, duplicates
  • A fix plan, by priority
Learn more: Website SEO audit

Report in 1–2 business days. No strings attached — if everything’s fine, we’ll say so.

By clicking the button you agree to the privacy policy

Why a site needs a sitemap

Google finds pages by following links. A sitemap is a ready-made list of URLs that removes the guesswork.

A new site No external links point to it yet, so the crawler may take a long time to discover pages. A sitemap speeds up first indexing.
Deep structure If a page is five clicks from the homepage, the crawler may never reach it. In a sitemap it sits alongside everything else.
Pages with no internal links Ad landing pages and old promotions often have no menu links. A sitemap is the only way to surface them.
A large catalogue With thousands of products the crawler works by priority. A sitemap hints at what to check first.

What belongs in a sitemap

Yes

Include

  • Pages returning status 200
  • Canonical URLs only
  • Absolute URLs with https and domain
  • Language versions via hreflang
≠
No

Leave out

  • Pages marked noindex
  • Blocked in robots.txt
  • Redirects and dead URLs
  • Filter and sorting pages

A contradiction between sitemap and tags hurts: a URL listed there but blocked from indexing reads as a configuration error, and Google starts trusting the whole file less.

What to do with the finished file

1 Put it in the site root The standard path is /sitemap.xml. Every search engine looks there, so there is no reason to invent another.
2 Add a line to robots.txt A single Sitemap line with the full URL. That way engines you never submitted to will still find it.
3 Submit it in Search Console The Sitemaps section. Later it shows how many URLs Google read and how many it indexed — the most useful part.
4 Keep it current A sitemap full of stale URLs is worse than none. For sites that change often, generate it automatically.

How this generator works

The crawler starts from the address you enter and follows links, the same way Googlebot does. Only pages on the same domain that return HTML with status 200 make it into the sitemap. Everything irrelevant to search is filtered out automatically: files (PDF, images, archives), pages with a noindex meta tag, URLs blocked in robots.txt for Googlebot, redirects and non-canonical versions. If a page declares a canonical pointing elsewhere, the canonical URL is what goes into the sitemap.

Language versions are collected from <link rel="alternate" hreflang> tags, not just from the menu. Otherwise an English version with no link in the header would be missed. Tracking parameters (utm_, fbclid, gclid) are stripped so the same page never appears twice.

Requests go out in batches of eight at a time, so a thousand pages on ordinary hosting take 30–45 seconds. The limit per crawl is 1,000 URLs. If your site is bigger, see below.

Sitemap attributes: what matters and what doesn't

The sitemaps.org protocol defines four elements per URL. In practice they carry very different weight.

  • loc — the URL itself. The only required element. It must be absolute, with protocol and domain, and match the page's canonical.
  • lastmod — last modification date. Google uses it, but only if it is truthful: when every page gets "today's" date on every regeneration, Google stops trusting it. This generator takes the date from article:modified_time or og:updated_time meta tags; if neither exists, the attribute is omitted. Omitting is more honest than inventing.
  • changefreq — how often the page changes. Google states plainly that it ignores this attribute. Bing and Yandex read it as a hint, not an instruction. We add it if you choose to; weekly is a sensible default for most sites.
  • priority — relative importance from 0.0 to 1.0. Also ignored by Google. With "by depth" selected, the homepage gets 1.0, pages one click away get 0.8, then 0.6, down to 0.3. That roughly mirrors how search engines evaluate site structure on their own.

The takeaway: a sitemap exists for loc. The rest are options that do no harm and that people expect to see because every generator adds them.

What to do with the file

Three steps, none optional.

  • Put it in the site root so it opens at https://your-domain/sitemap.xml. A sitemap can live in a subfolder, but then it may only describe URLs inside that folder.
  • Add a line to robots.txt: Sitemap: https://your-domain/sitemap.xml. That is how every search engine finds it, including ones where you never registered the site.
  • Submit it in Google Search Console → Sitemaps → paste the URL. From then on the console shows how many URLs Google read and how many it indexed. For Bing, do the same in Bing Webmaster Tools.

The Sitemaps report in Search Console is the most useful thing a sitemap gives you after submission. If it says "Discovered 400, indexed 120", that is not a sitemap error. It is a signal: Google saw 280 pages and did not consider them worth indexing. Usually those are thin or duplicate pages.

When one file is not enough

The protocol caps a single sitemap at 50,000 URLs and 50 MB uncompressed. This generator stops at 1,000, which is plenty for a brochure site, a blog or a small shop. For larger sites the right answer is not one giant file but several, split by section, plus a sitemap index that lists them:

  • sitemap-pages.xml — static pages
  • sitemap-blog.xml — articles
  • sitemap-catalog.xml — products
  • sitemap.xml — the index pointing to the three files above

That way Search Console shows statistics per section, and when indexing drops specifically in the catalogue you notice immediately. Run the generator once per section, using the section URL as the starting point, and assemble the index by hand or in your CMS.

Common sitemap mistakes

  • noindex pages in the sitemap. You are asking Google to index what you told it not to. Google treats this as a configuration error. This generator excludes such pages, but if your CMS builds the sitemap, check.
  • Redirects in the sitemap. Every URL should return 200, not 301. Redirects are an extra hop for the crawler and a mark against trust.
  • Mixed http and https, www and non-www. All URLs must be in one canonical form. If the site moved to https and the sitemap still lists old URLs, it is useless.
  • Non-canonical URLs. A page with sort parameters that canonicalises to a clean version should not be in the sitemap.
  • A stale sitemap. Generated a year ago and forgotten. New pages are missing, deleted ones are still there. Refresh the sitemap after every noticeable content update.
  • The file exists but robots.txt and the console don't know. It is sitting there, and nobody is reading it.

All of this can be checked with our sitemap validator: it parses a finished file and finds redirects, duplicates and noindex pages inside.

Why fewer pages were found than the site has

The usual causes, most likely first:

  • Pages with no inbound links. The crawler follows links; if nothing points to a page, it will not be found. That is a signal for Google too: it finds such pages last.
  • Links built by JavaScript. The generator reads HTML as served, without executing scripts. A menu rendered by JS is empty to it.
  • Blocked in robots.txt. If a section is disallowed for Googlebot, we skip it, and that is correct.
  • Pages behind login. Accounts, carts, admin panels do not belong in a sitemap.
  • A slow server. If every page takes three seconds to respond, 45 seconds does not cover much. That is a reason to check site speed.

A large "skipped" count means pages that returned something other than 200 or HTML, or carried noindex. "Blocked in robots.txt" is self-explanatory.

Rate this tool
It tells us what to improve first
Be the first to rate 5.0 of 5 0 votes

FAQ

Why does a site need a sitemap.xml?
A sitemap is a list of URLs you offer the search engine to crawl. It matters most for new sites and large catalogues: Google finds pages faster when few internal links point to them. A sitemap does not guarantee indexing, but it noticeably speeds up discovery.
Why were fewer pages collected than my site has?
The crawler follows links, so a page with no inbound links at all will not be found (and Google finds such pages last too). Also excluded: pages whose links are rendered by JavaScript, pages blocked in robots.txt, noindex pages, pages behind login, and files. The limit per crawl is 1,000 URLs; for bigger sites, build several sitemaps by section plus a sitemap index.
Where do I upload the finished file?
To your site root — example.com/sitemap.xml. Then add the line Sitemap: https://example.com/sitemap.xml to robots.txt and submit the URL in Google Search Console → Sitemaps. Refresh the sitemap after every noticeable content update.
How many pages does the generator collect at most?
1,000 per crawl. The protocol allows up to 50,000 per file, but for sites that large it is better to have several sitemaps by section (pages, blog, catalogue) plus a sitemap index listing them, so Search Console shows statistics per section. Run the generator once per section, using the section URL as the start.
What do changefreq and priority mean, and are they needed?
changefreq is how often a page changes; priority is its relative importance from 0.0 to 1.0. Google ignores both and says so plainly; Bing and Yandex read them as hints. They do no harm, so we add them if you choose. The only thing that truly matters in a sitemap is the list of URLs (loc) and, when the data is accurate, lastmod.
Why is lastmod missing for some pages?
We take the modification date from the article:modified_time or og:updated_time meta tags. If a page does not provide them, the attribute is omitted: an invented date is worse than none. Google uses lastmod only as long as it trusts it; when every page gets "today" on each regeneration, Google stops paying attention.
How often should the sitemap be refreshed?
After every noticeable content update: new articles, products, sections. For a blog with two posts a week, weekly; for a shop adding products daily, the CMS should generate the sitemap automatically. A stale sitemap with deleted URLs and no new ones does more harm than having none.
Does the generator respect robots.txt?
Yes. Before crawling we read robots.txt and skip URLs disallowed for Googlebot. That is not a limitation but correct behaviour: a page blocked in robots.txt should not be in the sitemap, since Google treats that contradiction as a configuration error. The number of blocked URLs is shown as a separate counter in the result.
Telegram Viber Call us