Sitemap Generator
Free online XML sitemap generator. Add URLs, set priorities, change frequencies and create SEO-friendly sitemaps instantly in your browser.
What is an XML sitemap?
An XML sitemap is a structured file that lists all important URLs of your website, helping search engines like Google discover, crawl, and index your pages more efficiently. It follows the Sitemaps.org protocol.
Why do I need a sitemap for SEO?
Sitemaps improve crawlability by telling search engines about all your pages. They are especially important for new websites, large sites with deep page hierarchies, and sites with poor internal linking.
What should I set for priority?
Priority ranges from 0.0 to 1.0. Set 1.0 for your homepage, 0.8 for key category pages, 0.5 for regular content. Note that priority is relative — it indicates importance compared to other pages on your site, not absolute ranking.
What is changefreq?
Changefreq tells search engines how often a page is likely to change: always, hourly, daily, weekly, monthly, yearly, or never. It's a hint for crawlers, not a directive — Google may still crawl pages marked "yearly" more often if needed.
Where should I upload my sitemap?
Place it at the root of your domain (e.g., https://www.example.com/sitemap.xml) and reference it in your robots.txt file with the line "Sitemap: https://www.example.com/sitemap.xml". You can also submit it directly in Google Search Console and Bing Webmaster Tools.
How many URLs can a sitemap contain?
A single sitemap file can contain up to 50,000 URLs and must not exceed 50MB (uncompressed). If your site has more pages, create a sitemap index file that references multiple sitemap files.
What is a sitemap index file?
A sitemap index is an XML file that lists multiple sitemap files. It allows you to organize large sites into manageable chunks. Each referenced sitemap can have up to 50,000 URLs, and the index itself can reference up to 50,000 sitemaps.
Does having a sitemap guarantee better rankings?
No. A sitemap helps search engines discover and index your pages, but it does not directly affect rankings. Content quality, page speed, mobile-friendliness, and backlinks remain the primary ranking factors.
Do I need a sitemap for a small website?
For small sites with fewer than 50 pages and good internal linking, a sitemap is helpful but not critical. Search engines can usually discover all pages through links. However, creating one takes minutes and ensures nothing is missed.
What is the lastmod tag?
The lastmod tag indicates when a page was last modified. Accurate lastmod dates help search engines prioritize recrawling recently updated content, which can lead to faster re-indexing of your changes.
Can I have multiple sitemaps?
Yes. You can have multiple sitemap files referenced in a sitemap index. This is common for large websites and helps organize content by type (e.g., separate sitemaps for blog posts, product pages, and images).
What is the difference between XML sitemap and HTML sitemap?
An XML sitemap is designed for search engines to crawl your site efficiently. An HTML sitemap is a web page designed for human visitors to navigate your site. Both serve different purposes and can complement each other for better SEO.
Is this sitemap generator free?
Yes, this tool is completely free with no usage limits. It runs entirely in your browser — your data is never sent to any server. You can generate unlimited sitemaps for any number of websites.
How to Use Sitemap Generator
Build an XML sitemap directly in your browser: add the URLs of your site, set a priority and change frequency for each entry, and export a ready-to-submit sitemap.xml. Everything runs locally — no URL is ever uploaded.
- Type or paste a page address into the URL field — the placeholder https://www.localtoolz.com/page shows the expected format.
- Add the URL to the list and repeat for every page you want crawlers to find.
- For each entry, pick a priority and a change frequency so search engines know which pages matter most.
- Use the ✕ button next to an entry to remove any URL you no longer want in the sitemap.
- Generate and download the XML file, then submit it in Google Search Console or link it from robots.txt.
Only include canonical, indexable URLs — pages blocked by robots.txt or duplicate URLs just dilute your crawl budget.
Related Tools
- Robots.txt Generator Free online robots.txt generator. Create and customize robots.txt files to control search engine crawling, manage crawler access, and optimize your site's SEO with an easy visual editor.
- Chmod Calculator Free online chmod calculator to visualize and calculate Linux file permissions with checkboxes. Instantly convert between numeric (755, 644) and symbolic notation (rwxr-xr-x). Supports special permissions like setuid, setgid, sticky bit.
- ASCII Table Complete ASCII character encoding reference with decimal, hexadecimal, octal, binary codes, HTML entities, and character descriptions. Search and filter instantly.
- HAR Viewer Open HAR files online. Request table with status colors, sorting and filtering, headers, response body preview and a timing waterfall — parsed locally, nothing is uploaded.
- IBAN Validator Validate International Bank Account Numbers (IBAN) instantly. Check format, length, country code, and checksum for 80+ countries with real-time results.
- HTTP Request Tester Test REST APIs directly in your browser. Send GET, POST, PUT, DELETE requests with custom headers, body, and query parameters. View response status, headers, and JSON body instantly.
- Random Port Generator Generate random network port numbers from IANA standard ranges — well-known (1-1023), registered (1024-49151), and dynamic (49152-65535). Supports unique values, sorting, and bulk generation. 100% browser-based, no server needed.
- .htaccess Generator Generate Apache .htaccess rules for redirects, rewrites, security headers, caching, compression, and more.