Sitemap Generator
Generate XML sitemaps for search engine indexing from page lists, relative paths, and custom base URLs.
Run tool
This online sitemap generator creates formatted XML sitemaps to help search engines crawl and index your web pages. Enter a list of page paths or full web addresses separated by new lines, set your base website domain, and choose change frequency and priority settings. When you enter relative page paths, the tool automatically attaches the base domain to build full web addresses. Each path is properly escaped inside the standard XML markup. If you leave the URL input blank, the generator creates a starter sitemap containing only your home page with a priority of 1.0 (overriding the default priority of 0.8 used for non-empty URL lists). For custom page lists, the generator applies your chosen change frequency, such as weekly or monthly, and your specified priority value to every listed entry. You can copy the generated XML directly into your sitemap file and place it on your web server for search engine crawlers.
Instructions
- Enter one URL or page path per line in the URLs box.
- Specify your website domain in the Base URL field.
- Enter your preferred change frequency, such as daily, weekly, or monthly.
- Enter a priority score between 0.0 and 1.0.
- Click Run to generate the formatted XML sitemap text.
- Copy the resulting XML code and save it to your sitemap.xml file.
Examples
- Adding relative paths: With Base URL set to https://example.com, entering 'about' and 'contact' in the URLs box generates sitemap entries pointing to https://example.com/about and https://example.com/contact with monthly change frequency and 0.8 priority.
- Generating a root sitemap: Leaving the URLs box empty with Base URL set to https://mysite.org produces a single homepage entry for https://mysite.org/ with a priority of 1.0 (this overrides the default priority setting when URLs are provided).
FAQ
What happens if I enter relative paths instead of full URLs?
When you enter relative paths like /blog or about-us, the generator joins them with the specified Base URL to construct complete web addresses.
What happens if the URLs field is left empty?
If no URLs are provided, the tool creates a single root entry for the Base URL followed by a trailing slash, setting its priority to 1.0 (this overrides the default priority of 0.8 used for non-empty URL lists).
Does this tool verify whether URLs exist or are reachable?
No. The tool converts provided text into XML formatting according to standard sitemap structure without crawling, pinging, or checking website servers.
Can I use custom change frequency and priority values?
Yes. You can enter any standard change frequency value like daily, weekly, or monthly, as well as custom priority scores between 0.0 and 1.0.