Sitemap Generator
Paste your URLs one per line to build a valid sitemap.xml in seconds. This free sitemap generator adds the right XML structure, escapes special characters and lets you copy or download the file — ready to submit to Google, right in your browser.
What is a sitemap generator?
A sitemap generator is a tool that turns a list of page URLs into a sitemap.xml file — a structured document that search engines use to discover and crawl your site's pages. It wraps each URL in a
Sitemaps help search engines find pages that might otherwise be missed, especially new or deep pages with few internal links. While a sitemap is not a guarantee of indexing, submitting one improves crawl coverage and speeds up discovery. The generator also escapes characters like ampersands and quotes so your URLs remain valid XML.
Everything runs in your browser, so your URL list never leaves your device.
How to use the sitemap generator
- Paste your full URLs, one per line.
- Click Generate to build the sitemap.xml.
- Copy the result or download it, then upload it to your site.
Example
Paste the lines https://example.com/ and https://example.com/pricing and click Generate. The output is a valid XML document with a
Who is this Sitemap Generator for?
A sitemap tells search engines what to crawl, and getting its structure right is essential to good crawl coverage.
- Developers: generate a valid sitemap.xml for a new or redesigned site before submitting it to Search Console.
- Writers and content creators: cover more of a content-heavy site so new posts and pages get indexed quickly.
- Marketers: improve crawl coverage for landing pages and campaigns to boost organic visibility.
- Analysts: build a sitemap for a client site and verify the URL list matches the sitemap.xml format.
Sitemap XML structure reference
A sitemap.xml follows a strict XML structure. The table lists each tag the generator writes and what it is for.
| XML tag | Purpose | Example |
|---|---|---|
| <urlset> | Root element; declares the sitemap namespace. | <?xml version="1.0"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> |
| <url> | Container for a single URL entry. | <url><loc>https://example.com/</loc></url> |
| <loc> | The absolute URL of the page (required). | https://example.com/about |
| <lastmod> | Last modified date in W3C format (optional). | 2026-09-08 |
| <changefreq> | How often the page changes (optional). | weekly |
| <priority> | Relative priority between 0.0 and 1.0 (optional). | 0.8 |
Common use cases
- Creating a sitemap for a new or redesigned website.
- Submitting a sitemap in Google Search Console to improve crawl coverage.
- Building a sitemap for a client or a static site without a plugin.
- Keeping sitemaps up to date when you add pages.
Pro tips
- Submit your sitemap in Google Search Console and Bing Webmaster Tools.
- Use full, absolute URLs with https:// in the sitemap, not relative paths.
- Keep the sitemap small and free of duplicate URLs; large sites can split into multiple sitemaps.
- Re-generate the sitemap whenever you add or remove pages.
FAQ
What is a sitemap?
A sitemap is an XML file that lists the URLs of your site, helping search engines discover and crawl your pages.
Is a sitemap required for SEO?
No, it is not required, but it helps search engines find new or deep pages more quickly, which can improve indexing.
What does this generator support?
It takes any number of full http or https URLs and wraps them into a valid sitemap.xml with the correct structure and escaping.
Is it private?
Yes. Your URL list is processed in your browser and never uploaded or stored.
How do I submit my sitemap?
In Google Search Console, open Sitemaps, paste your sitemap URL and submit. The same works in Bing Webmaster Tools.
Should I include every page?
You can include all indexable pages, but nofollow pages, login-only pages and duplicates are best left out.
What is the correct URL format?
Use absolute URLs with https:// (or http://) and no query strings unless necessary.
Can I make a sitemap without code?
Yes. This tool generates the XML for you — no coding or sitemap plugin required.
Why escape special characters?
Characters like & and " must be escaped so the XML remains valid and unbroken when parsed.
Related searches
sitemap generator, xml sitemap, create sitemap online, sitemap.xml, google sitemap, submit sitemap to google, sitemap for website, xml sitemap generator, seo sitemap, sitemap generator free, how to generate a sitemap, sitemap generator 2024, sitemap generator for india, sitemap index file, sitemap lastmod changefreq priority, xml sitemap validator, sitemap for seo
Related tools
- Data URI BuilderFree data URI generator. Turn any text or URL into a base64 data: URI with your chosen MIME type. Copy the res…
- Cron Expression Generator & MakerBuild a cron expression from schedule fields and validate it online. Preview the next run time and a plain-Eng…
- JWT Decoder — Decode a JSON Web Token OnlineFree JWT decoder. Paste a JSON Web Token to read its header and payload as formatted JSON, plus claims like is…
- JSON to CSV Converter OnlineConvert a JSON array of objects to CSV instantly. Paste JSON, see the CSV output, then download the .csv file …
- Hash GeneratorGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes for any text instantly in your browser. Fast, private and free…
