Categories
Sitemap.xml Generator
Generate a sitemap.xml file from a list of URLs.
Overview
- Generates a sitemap.xml file that tells search engines about the pages on your site.
- Just enter URLs one per line to create XML that follows the Sitemaps protocol (sitemaps.org). lastmod, changefreq, and priority are optional, and when specified are applied to all entered URLs in common.
- The generation process runs entirely in your browser.
Usage
- Enter the URLs of the pages you want to include in the sitemap under "URLs (one per line)".
- Optionally specify "lastmod", "changefreq", and "priority" (all optional, and applied to all URLs in common).
- Click "Generate" to display the sitemap.xml content below. Use the "Copy" button to copy it to the clipboard.
Example
Input
https://example.com/ https://example.com/about
Output
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
</url>
<url>
<loc>https://example.com/about</loc>
</url>
</urlset>Use Cases
- Quickly creating a sitemap.xml for a small site without a CMS or build tool
- Regenerating sitemap.xml from an updated list of URLs after adding new pages to an existing site
- Checking the basic structure of sitemap.xml (loc, lastmod, changefreq, priority)
FAQ
Can I specify a different lastmod or priority for each URL?
Currently, the specified lastmod, changefreq, and priority are applied to all URLs in common. If you need different values per URL, edit the generated XML manually.
Is there a limit to the number of URLs I can generate?
The tool itself doesn't set an explicit limit, but the Sitemaps protocol specification limits a single sitemap.xml to 50,000 URLs. If you exceed that, you need to split it into multiple sitemap files and combine them with a sitemap index file.
Is the URL data I enter sent anywhere?
No. The generation process runs entirely in your browser, and nothing is sent to an external server.
Notes
- Enter URLs as absolute URLs starting with http:// or https://.
- An "&" in a URL is automatically escaped to "&" so it is interpreted correctly as XML.
- Enter lastmod in YYYY-MM-DD format, and priority in the range 0.0 to 1.0.
Related Tools
Generate a robots.txt file by specifying User-agent, Disallow, Allow, and Sitemap.
Generate meta tags with OGP and Twitter Card support from a title and description.
Generate multiple passwords by specifying character types and length.