XML Sitemap Generator
Create a valid sitemap.xml file for your website. Enter URLs manually or scan a website to discover same-origin links, set optional last modified dates, change frequencies and priorities, then generate and validate your XML sitemap. Duplicate URLs are removed automatically and the output conforms to the sitemaps.org protocol. Everything is processed in your browser — no URLs or generated content are stored.
Read the guide: How to create an XML sitemapPrivacy and security
URLs entered into the tool are used to generate the sitemap and are not stored unnecessarily. Generated sitemap content is not publicly accessible from SolveWithTools.com unless you download or share it. Website scanning fetches only public HTTP/HTTPS pages and blocks private or local network addresses.
URLs to include
Paste a list of URLs, one per line. URLs are validated and duplicates are removed automatically.
Fetches the page and extracts same-origin links. Only public HTTP/HTTPS URLs are scanned.
Sitemap options
Priority is optional and does not guarantee higher search-engine rankings. Avoid setting every URL to 1.0.
Reference your sitemap in robots.txt
You can reference your sitemap in robots.txt using the Sitemap directive. This helps search engines discover your sitemap.
Sitemap: https://example.com/sitemap.xmlOpen Robots.txt Generator
Submit your sitemap to Google
You can submit your sitemap through Google Search Console. Generating a sitemap does not automatically submit it to Google or any other search engine. SolveWithTools.com does not have access to your Google Search Console account.
Your URLs are processed in your browser to generate the sitemap. No URLs or generated XML content are sent to our analytics.
How the XML Sitemap Generator works
- Enter URLs manually or scan a website to discover same-origin links.
- Set optional last modified dates, change frequencies and priorities for your URLs.
- Click Generate XML Sitemap to create a valid sitemap.xml file. One generation consumes one use from your daily allowance.
- Review the validation status, copy the XML or download sitemap.xml and upload it to your website root.
See also: Robots.txt Generator, SERP Preview, Meta Title & Description Checker and Open Graph Preview.
Useful tips
- Include only important canonical, indexable URLs. Avoid private pages, login pages, duplicate URLs and search-result pages.
- Priority is optional and does not guarantee higher search-engine rankings. Avoid setting every URL to 1.0.
- Reference your sitemap in robots.txt using the Sitemap directive so crawlers can find it easily.
Frequently asked questions
What is an XML sitemap?+
An XML sitemap is a file that lists the URLs on your website that you want search engines to crawl and index. It uses a standard format defined by the sitemaps.org protocol, with each URL wrapped in a <url> element inside a <urlset> container.
What is sitemap.xml?+
sitemap.xml is the conventional filename for an XML sitemap file. It is placed at the root of a website so search engines can find it at a URL like https://example.com/sitemap.xml.
How do I create an XML sitemap?+
Enter your URLs manually or scan a website to discover links, set optional last modified dates, change frequencies and priorities, then click Generate XML Sitemap. Download sitemap.xml and upload it to the root of your website.
How many URLs can an XML sitemap contain?+
A single XML sitemap can contain up to 50,000 URLs and must not exceed 50 MB uncompressed. If you have more URLs, you need to split them across multiple sitemap files and use a sitemap index.
Where should I upload sitemap.xml?+
Upload sitemap.xml to the root directory of your website so it is accessible at https://example.com/sitemap.xml. Search engines look for the sitemap at this location.
Does an XML sitemap improve SEO?+
An XML sitemap helps search engines discover your URLs, but it does not guarantee indexing or ranking improvements. It is a discovery aid, not a ranking signal. A sitemap is most useful for new or large websites.
Should every website have an XML sitemap?+
Not every website needs one. Small websites with good internal linking may not benefit from a sitemap. Sitemaps are most useful for new websites, large websites, sites with frequently changing content, or sites with pages not well linked from other pages.
What is the difference between sitemap.xml and robots.txt?+
sitemap.xml provides a list of URLs you want search engines to discover. robots.txt provides instructions to crawlers about which parts of your site they should and should not crawl. They serve different purposes and work together.
How do I submit a sitemap to Google?+
Upload sitemap.xml to your website root, then sign in to Google Search Console and submit your sitemap URL under the Sitemaps section. Generating a sitemap does not automatically submit it to Google.
Can I generate a sitemap without coding?+
Yes. Enter your URLs or scan a website, set your options and click Generate XML Sitemap. The tool creates a valid sitemap.xml file you can download and upload to your website. No coding is required.
Related guides
How to preview your SERP snippet
Your search snippet — the title, URL and description shown in Google results — is often the first thing a potential visitor sees. This guide explains what a SERP preview is, why it matters and how to use one to craft better snippets before you publish, all using a free tool that runs entirely in your browser.
How to check your meta title and description
Your meta title and description are the first things potential visitors see in search results. This guide explains what they are, how long they should be, why pixel width matters, and how to optimise them before publishing.
How to preview your Open Graph tags
Open Graph metadata controls how your webpage appears when shared on social platforms. This guide explains what Open Graph tags are, why the OG image matters, and how to preview and optimise your social sharing appearance before publishing.
How to create a robots.txt file
A robots.txt file tells search engine crawlers which parts of your website they should and should not crawl. This guide explains what robots.txt does, how to create one, where to place it, and how it differs from other SEO controls.
What would you like to do next?
Robots.txt Generator
Generate a valid robots.txt file for your website. Control which crawlers can access parts of your site and add your XML sitemap URL.
SERP Preview
Preview how your SEO title, URL and meta description could appear in Google search results. Optimise your search snippet before publishing.
Meta Title & Description Checker
Check your SEO meta title and description for character length, pixel width, truncation risk and keyword presence. Optimise your search snippets before publishing.
Open Graph Preview
Preview how your webpage could appear when shared on Facebook, LinkedIn and X. Check your Open Graph title, description and image before publishing.