FREE
Loading…
Priority is assigned automatically (homepage = 1.0, key pages = 0.9, tools = 0.8)
sitemap.xml
Generate a valid XML sitemap for your website with correct priorities per page.
Generate Sitemap
Processing…
FREE
Loading…
Priority is assigned automatically (homepage = 1.0, key pages = 0.9, tools = 0.8)
sitemap.xml
Sitemap Generator is a free online tool that builds a standards-compliant XML sitemap for any website — enter your domain, either let the tool auto-discover your pages or paste your own URL list, set optional metadata like priority and change frequency, and download a sitemap.xml file ready to upload to your site root and submit to Google Search Console.
An XML sitemap is a structured index of every URL on a site that you want search engines to know about, formatted according to the sitemaps.org protocol that Google, Bing, and Yandex all support. It exists because crawlers discover pages primarily by following links, and that link-following process has real limits: pages several clicks deep from the homepage, pages with no internal links pointing to them at all, pages behind JavaScript-rendered navigation a crawler might not execute, and pages on a brand-new site with no external backlinks yet are all at risk of being missed or indexed slowly through crawling alone. A sitemap sidesteps that by handing the crawler a direct, complete list rather than making it find every URL by exploration.
This matters most in a handful of concrete situations: launching a new site with no existing search visibility, publishing a large batch of new content at once and wanting faster discovery than organic crawling would provide, running a large e-commerce catalog where category and product pages can be many links deep, or restructuring a site's URLs and needing search engines to pick up the new structure quickly. A sitemap does not guarantee indexing or ranking — Google is explicit that it is a discovery hint, not a promise — but it removes discovery as the bottleneck and gives you visibility into exactly which URLs you have told search engines about.
This generator can build your sitemap two ways. Point it at a domain and click Fetch Pages, and it will first check robots.txt for an existing Sitemap: directive, then try common sitemap paths, and if none exist, crawl your site's internal links directly (up to 200 pages) to assemble a URL list automatically. Or skip discovery entirely and paste your own list of paths if you already know exactly which URLs belong in the sitemap — useful for a curated subset rather than every page a crawl would find. Either way, output includes the required <loc> tag for every URL, plus optional <lastmod> and <changefreq> hints, and Google-recommended priority values assigned automatically (1.0 for the homepage, 0.8 for other pages) so the file is ready to use without manual editing.
Everything runs in your browser — crawling uses public CORS proxies to fetch page HTML client-side, and the final XML is assembled and downloaded locally with no data uploaded to any server other than the target site itself and the pages it links to.
When you click Fetch Pages, the tool first requests /robots.txt from your domain looking for a "Sitemap:" directive, then tries common sitemap file paths (sitemap.xml, sitemap_index.xml, wp-sitemap.xml, and similar). If a sitemap is found — including a sitemap index referencing multiple child sitemaps — it extracts every <loc> URL directly. If no sitemap exists anywhere, the tool falls back to crawling: starting from your homepage, it parses the HTML for internal links, follows each newly discovered same-origin link breadth-first, and collects unique paths until it hits a 200-page safety limit. Once you have a URL list (fetched or manually pasted), clicking Generate Sitemap assigns a priority to each path (1.0 for the homepage, 0.8 for everything else, per Google's general guidance), optionally attaches today's date as <lastmod> and your chosen <changefreq> value, and wraps every entry in the <url><loc>...</loc></url> structure required by the sitemaps.org XML schema.
Enter your website's domain
Type the root URL of your site, including https://, into the domain field.
Fetch pages automatically (optional)
Click "Fetch Pages" to have the tool check for an existing sitemap or crawl your site's internal links and populate the URL list for you.
Or paste your own URL list
If you already know exactly which pages belong in the sitemap, paste them directly into the URLs box, one path or full URL per line.
Set optional metadata
Toggle lastmod to include today's date, and changefreq if you want to hint how often content on these pages typically changes.
Generate the sitemap
Click "Generate Sitemap" to build the standards-compliant XML with priority values assigned automatically.
Copy or download
Copy the XML to your clipboard or download it directly as sitemap.xml.
Upload and submit to Google
Place sitemap.xml at your website's root directory, then submit its URL in Google Search Console under Sitemaps to prompt discovery.
New Website Launch
Generate and submit a sitemap when launching a new site to help Google discover all your pages quickly.
Content Update Signaling
Regenerate your sitemap after publishing new blog posts or pages to prompt faster re-indexing by search engines.
E-Commerce Indexing
Build a sitemap for product and category pages to ensure your entire catalog is visible to search engines.
SEO Audit Prep
Generate a comprehensive sitemap before an SEO audit to cross-check that all intended pages are included.
Multi-Language Sites
Create separate sitemaps for different language versions of your site to support hreflang-based indexing.
Static Site Deployment
Auto-generate a sitemap.xml for a statically exported Next.js or Gatsby site before uploading to a CDN.
Auto-Fetch Page URLs
Enter your domain and fetch existing pages from robots.txt, sitemap indexes, or by crawling your site automatically.
Standards-Compliant Output
Generated XML follows the sitemaps.org schema so it is accepted by Google Search Console, Bing, and Yandex.
Priority Assignment
Automatically assigns priority values (1.0 for homepage, 0.8 for other pages) following Google's recommended guidelines.
Optional Metadata Fields
Optionally include lastmod with today's date and changefreq to give search engines additional crawl hints.
Direct Download
Download the generated sitemap.xml file in one click for immediate upload to your website root directory.
No Server Required
Sitemap generation and crawling run in the browser so no backend infrastructure is needed.
Also Known As
Binary To Decimal
Convert between binary, decimal, hex and octal number systems
Color Converter
Convert colors between HEX, RGB, and HSL formats
Convert Binary
Convert binary numbers to text and text to binary
Convert Timestamp
Convert Unix epoch timestamp to standard date format and back
Count Words
Count words, characters, sentences and paragraphs in text
Convert Datetime
Convert datetime between different formats and timezones
Trusted Worldwide
iLoveDocsTools is used by students, professionals, and businesses across the United States, Canada, United Kingdom, Australia, India, and more than 100 other countries. All tools are browser-based and process files privately — your files never leave your device. Free to use, with Pro plans for unlimited access.
All processing happens directly in your browser. Your documents are never sent to any server — complete privacy guaranteed for users in the USA, Canada, UK, and worldwide.
Every tool on iLoveDocsTools is free to use. Need more? Upgrade to Pro for unlimited usage, priority access, and no daily limits. Trusted by students, freelancers, and teams across North America and Europe.
Whether you are on a Mac, Windows PC, iPhone, or Android in New York, Toronto, London, or Sydney — our tools work instantly in any modern browser.
Looking for free PDF tools in the USA? Free document converters in Canada? Online PDF editors in the UK or Australia? iLoveDocsTools offers 70+ free tools — merge PDF, split PDF, compress PDF, convert Word to PDF, Excel to PDF, JPG to PDF, and many more — all free, all instant, all private. No watermarks. No file size limits. Just free tools that work.