FREE TOOL

XML Sitemap Generator

Paste your URLs and download a valid XML sitemap. The tool checks every address, removes duplicates, escapes special characters, adds lastmod dates if you want them and splits large lists into several files with a sitemap index. In hreflang mode it writes reciprocal xhtml:link alternates, including x-default. Everything runs in your browser. For the basics see what an XML sitemap is; for hreflang in HTML use the hreflang generator.

Applied to lines without their own date. Use it only if the content really changed on that day.
Used in the sitemap index only when more than 50,000 URLs are split.
URLs in sitemap
5
Files
1
Errors
0
Warnings
1
Warnings (1)
  • Non ASCII characters and spaces in 2 address(es) were percent encoded (e.g. ş → %C5%9F). The sitemap protocol requires this; it is the same address in the browser.

Files

sitemap.xml5 URLs · 521 B
Preview: sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.ornek.com/</loc>
  </url>
  <url>
    <loc>https://www.ornek.com/hizmetler/teknik-seo</loc>
  </url>
  <url>
    <loc>https://www.ornek.com/blog/site-haritasi-nedir</loc>
    <lastmod>2026-10-28</lastmod>
  </url>
  <url>
    <loc>https://www.ornek.com/ileti%C5%9Fim</loc>
  </url>
  <url>
    <loc>https://www.ornek.com/urunler?kategori=ayakkab%C4%B1&amp;renk=siyah</loc>
  </url>
</urlset>
No priority or changefreq, on purpose. Google ignores both values and uses lastmod only when it is consistently accurate. After uploading the file, add the Sitemap line to robots.txt (check it with the robots.txt tester) and submit it in Search Console.

How to use it

  1. Paste one URL per line. To set a date for a single page, add it after a comma (e.g. "https://example.com/page,2026-11-01"), or pick a default date for all pages.
  2. For a multilingual site, switch to hreflang groups and write each page group on one line as code|URL pairs separated by spaces (e.g. "en|https://example.com/en/ tr|https://example.com/").
  3. Fix the errors and review the warnings. Only canonical, indexable pages that return 200 belong in a sitemap.
  4. Download the file (or all files and the index), upload it to your site root, add a Sitemap line to robots.txt and submit it in Search Console.

Frequently Asked Questions

What is an XML sitemap and do I need one?

An XML sitemap lists the pages you want search engines to find. It does not guarantee indexing, but it helps Google discover new and updated pages, especially on large or new sites, sites with weak internal linking and sites with many media or language versions. The details are in what an XML sitemap is.

Why are priority and changefreq not added?

Google has stated that it ignores priority and changefreq. It does use lastmod when it is consistently accurate, meaning the date of the last significant change to the content, not the date the file was generated. That is why this tool only writes loc and, optionally, lastmod.

What happens with more than 50,000 URLs?

A single sitemap may contain at most 50,000 URLs and be at most 50 MB uncompressed. The tool splits larger lists into sitemap-1.xml, sitemap-2.xml and so on, and creates a sitemap index (sitemap.xml) that lists them. Set the address where the files will be published, upload all files there and submit only the index in Search Console.

How do I add hreflang to a sitemap?

Each URL lists all language versions, including itself, as xhtml:link alternate elements; the links must be reciprocal. x-default points to the page for users whose language matches none of the versions. Write each page group on one line and the tool adds the alternates to every URL. For HTML link tags or HTTP headers use the hreflang generator.

How do I tell Google about my sitemap?

Submit it in the Sitemaps report in Search Console and add a "Sitemap: https://example.com/sitemap.xml" line to robots.txt, which other search engines read as well. You can check robots.txt with the robots.txt tester, and the Search Console guide explains how to read the sitemap and page indexing reports.

Which URLs should be in the sitemap?

Only canonical pages that return 200 and that you want indexed. Leave out redirected addresses, noindex pages, parameter and filter variations and pages blocked by robots.txt; listing them sends mixed signals. If you are unsure whether old addresses redirect, check them with the redirect checker.

Related guides

Technical SEO Guide
Technical SEO Guide
Crawling, indexing, site architecture, Core Web Vitals, JavaScript and hreflang: run a technical SEO audit step by step.
Read the guide →
Site Migration SEO Guide
Site Migration SEO Guide
A step-by-step plan for keeping organic traffic when your domain, platform or URL structure changes.
Read the guide →
E-commerce SEO Guide
E-commerce SEO Guide
Position your store in search with the right setup for categories, products, facets, variants, stock status and schema.
Read the guide →