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.
- 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.xml | 5 URLs · 521 B |
|---|
<?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&renk=siyah</loc>
</url>
</urlset>
How to use it
- 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.
- 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/").
- Fix the errors and review the warnings. Only canonical, indexable pages that return 200 belong in a sitemap.
- 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.


