stakritoolsstakritools
Developer
  • Base64 Encoder/Decoder
  • Color Picker & Converter
  • CSS Minifier
  • CSV to JSON Converter
  • Hash Generator
  • HTML Encoder/Decoder
  • HTML Minifier
  • JS Minifier
  • JSON Formatter & Validator
  • JSON to CSV Converter
  • JWT Decoder
  • Markdown Editor
  • Password Generator
  • Regex Tester
  • SQL Formatter
  • Unix Timestamp Converter
  • URL Encoder/Decoder
  • UUID Generator
  • XML Formatter
  • YAML Formatter
View all
Image
  • Base64 to Image
  • Favicon Generator
  • Image Compressor
  • Image Cropper
  • Image Flipper
  • Image Resizer
  • Image Rotator
  • Image to Base64
  • JPG to PNG Converter
  • PNG to JPG Converter
  • QR Code Generator
  • SVG to PNG Converter
  • Watermark Image
  • WebP Converter
View all
SEO
  • FAQ Schema Generator
  • Meta Description Generator
  • Open Graph Generator
  • Robots.txt Generator
  • SEO Site Auditor
  • SERP Preview
  • Sitemap Generator
  • Slug Generator
  • Twitter Card Generator
View all
Text
  • Case Converter
  • Character Counter
  • Find and Replace
  • Lorem Ipsum Generator
  • Random Text Generator
  • Remove Duplicate Lines
  • Remove Extra Spaces
  • Text Diff Checker
  • Word Counter
View all
Calculator
  • Age Calculator
  • BMI Calculator
  • Compound Interest Calculator
  • Currency Converter
  • Date Difference Calculator
  • Discount Calculator
  • EMI Calculator
  • GST Calculator
  • Income Tax Calculator
  • Loan Calculator
  • Percentage Calculator
  • SIP Calculator
  • Time Zone Converter
  • Tip Calculator
  • Unit Converter
View all
Astrology
  • Birth Chart Calculator
  • Chinese Zodiac Calculator
  • Moon Phase Calendar
  • Numerology Calculator
  • Tarot Card of the Day
  • Zodiac Compatibility Checker
View all
Blog
stakritoolsstakritools

205+ free, browser-based tools for developers, marketers, and creators — no sign-up, no clutter.

Developer Tools

  • Base64 Encoder/Decoder
  • Color Picker & Converter
  • CSS Minifier
  • CSV to JSON Converter
  • Hash Generator
  • HTML Encoder/Decoder
  • HTML Minifier
  • JS Minifier
  • JSON Formatter & Validator
  • JSON to CSV Converter
  • JWT Decoder
  • Markdown Editor
  • Password Generator
  • Regex Tester
  • SQL Formatter
  • Unix Timestamp Converter
  • URL Encoder/Decoder
  • UUID Generator
  • XML Formatter
  • YAML Formatter

Image Tools

  • Base64 to Image
  • Favicon Generator
  • Image Compressor
  • Image Cropper
  • Image Flipper
  • Image Resizer
  • Image Rotator
  • Image to Base64
  • JPG to PNG Converter
  • PNG to JPG Converter
  • QR Code Generator
  • SVG to PNG Converter
  • Watermark Image
  • WebP Converter

SEO Tools

  • FAQ Schema Generator
  • Meta Description Generator
  • Open Graph Generator
  • Robots.txt Generator
  • SEO Site Auditor
  • SERP Preview
  • Sitemap Generator
  • Slug Generator
  • Twitter Card Generator

Text Tools

  • Case Converter
  • Character Counter
  • Find and Replace
  • Lorem Ipsum Generator
  • Random Text Generator
  • Remove Duplicate Lines
  • Remove Extra Spaces
  • Text Diff Checker
  • Word Counter

Calculator Tools

  • Age Calculator
  • BMI Calculator
  • Compound Interest Calculator
  • Currency Converter
  • Date Difference Calculator
  • Discount Calculator
  • EMI Calculator
  • GST Calculator
  • Income Tax Calculator
  • Loan Calculator
  • Percentage Calculator
  • SIP Calculator
  • Time Zone Converter
  • Tip Calculator
  • Unit Converter

Company

  • Blog
  • About
  • Privacy Policy
  • Contact
© 2026 stakritools. All rights reserved.
  1. Home
  2. SEO
  3. Sitemap Generator
SEO

Sitemap Generator

Build a valid XML sitemap by hand — add pages, set a priority (0.1–1.0) and change frequency for each, add a last-modified date, and generate standards-compliant sitemap.xml output ready to copy or download.

Try:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-08-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
  </url>
</urlset>

How To Use

  1. 1.Enter your website's base URL (e.g. https://example.com) — this is used to resolve any page you add as just a path, like /about.
  2. 2.Add each page's URL or path, then set its priority (0.1–1.0), change frequency, and an optional last-modified date.
  3. 3.The valid XML sitemap preview updates live as you edit — every field follows the official sitemaps.org protocol.
  4. 4.Copy the XML to your clipboard or download it directly as sitemap.xml, ready to upload to your site's root directory.
  5. 5.Use Add URL to add more pages, the X button to remove one, or Reset to start over.

Examples

Small business site
A typical small business site with a handful of core pages.
Blog
A blog with a frequently updated homepage and older archive pages.

About Sitemap Generator

The Sitemaps.org Protocol, Briefly

The XML sitemap format used by every major search engine follows a single, shared open standard published at sitemaps.org, originally introduced by Google in 2005 and quickly adopted industry-wide. A sitemap is a plain XML document with a root <urlset> element containing one <url> block per page, each with a required <loc> (the page's full URL) and optional <lastmod>, <changefreq>, and <priority> fields. Because it's a shared, standardized format, a correctly generated sitemap works identically whether you submit it to Google Search Console, Bing Webmaster Tools, or any other standards-compliant crawler — this tool generates output that validates cleanly against that exact specification.

What Search Engines Actually Use From a Sitemap

The one field search engines reliably act on is <loc> — the actual URL, which tells them a page exists and where to find it. <lastmod>, when it's trustworthy (consistently accurate rather than blanket-set to 'today' on every page), can genuinely help a search engine prioritize re-crawling recently changed content sooner. <changefreq> and <priority>, by contrast, are explicitly documented by Google as hints it largely disregards in practice, since search engines have found they can more reliably infer both signals from their own crawl history and page-quality analysis than from self-reported values that site owners have an incentive to inflate. Including them is still good practice and fully valid — they don't hurt — but don't over-invest time fine-tuning priority values expecting a direct ranking benefit.

When a Sitemap Actually Matters Most

Sitemaps provide the most practical value in a few specific situations: large sites with thousands of pages that would be slow or unreliable to discover through internal links alone; new sites that don't yet have much external linking pointing crawlers toward their content; sites with pages that are poorly interlinked internally (orphaned pages with few or no internal links pointing to them); and sites with rich media (images, video) or frequently updated content where prompt re-crawling matters. A small, well-linked five-page brochure site gets comparatively little practical benefit from a sitemap, since search engines can trivially discover all five pages by simply following the site's own navigation — but it's still good, low-cost practice to include one.

Building a Sitemap by Hand vs. Generating One Automatically

This tool is built for hand-curating a focused, intentional sitemap — ideal for smaller sites, or for building an initial sitemap before wiring up automated generation. For larger or frequently changing sites (blogs with dozens of posts, e-commerce catalogs, documentation sites), most content management systems, static site generators, and frameworks (including this site's own Next.js setup, via next-sitemap) can generate a sitemap automatically from your actual page routes, which is far more reliable at scale than manually maintaining a list. Use a hand-built sitemap like this one for a small, stable site, or as a way to quickly validate what correct sitemap XML should look like before wiring up automated generation elsewhere.

Submitting Your Sitemap to Search Engines

Once you've uploaded sitemap.xml to your site's root directory, there are two complementary ways to make sure search engines find it: reference it in your robots.txt file with a line like Sitemap: https://yourdomain.com/sitemap.xml (crawlers check robots.txt as a standard first step and will pick up the reference automatically), and separately submit it directly through Google Search Console's Sitemaps report and Bing Webmaster Tools' Sitemaps section, which also lets you monitor how many of your submitted URLs actually got indexed and surfaces any errors the engine encountered while processing your file.

Common Sitemap Mistakes Worth Avoiding

A few mistakes come up repeatedly and are worth checking for directly: including URLs that redirect or return an error instead of the final destination URL (list the page you actually want indexed, not an intermediate redirect); including pages blocked by robots.txt or marked noindex (a contradictory signal that wastes crawl attention); setting every single page's priority to 1.0 (this defeats the purpose of a relative signal — if everything is highest priority, nothing is); and setting lastmod to the current date on every page regardless of whether it actually changed, which search engines have been documented to notice and start discounting. A smaller, accurate, honestly-labeled sitemap is more useful than a larger one padded with inflated or incorrect metadata.

FAQs

An XML sitemap is a structured file listing the URLs on your website that you want search engines to know about, optionally with metadata about how important each page is, how often it changes, and when it was last updated. Search engines like Google and Bing use sitemaps as one input (among many) for discovering and prioritizing pages to crawl — this matters most for large sites, sites with pages that aren't well-linked internally, newer sites without much external linking yet, or sites with content that changes frequently and benefits from prompt re-crawling.

Priority is a number between 0.0 and 1.0 that signals a page's relative importance compared to other pages on your own site — it's not a global ranking signal or a promise about search position. A value of 1.0 might be reserved for your homepage, 0.8 for main category or product pages, and 0.5 or lower for less critical pages like an old blog archive. It's worth knowing that major search engines, including Google, have publicly stated they largely ignore the priority field in practice — it's still part of the official protocol and doesn't hurt to include, but don't expect it to meaningfully influence crawling or ranking on its own.

The changefreq field is a hint to search engines about how often a given page's content typically changes — always, hourly, daily, weekly, monthly, yearly, or never. Like priority, this is explicitly a hint rather than a directive: search engines are free to crawl a page more or less often than the value suggests based on their own observed patterns. It's most useful set accurately (a homepage or news section as 'daily', a static 'About Us' page as 'yearly') rather than optimistically inflated, since search engines that notice a mismatch between your stated frequency and actual update patterns will simply learn to trust the field less.

Either works — this tool accepts both. If you enter a full URL starting with http:// or https://, it's used exactly as typed. If you enter just a path (like /about or pricing), the tool automatically combines it with your base URL to build the full, correct URL in the generated sitemap. Using paths for most entries and your base URL field just once is usually the fastest way to build a sitemap for pages all on the same domain.

The sitemaps.org protocol expects lastmod in W3C Datetime format, and a plain date (YYYY-MM-DD, like 2026-08-21) is a fully valid, commonly used form of that format — this tool's date picker outputs exactly that format. Only include a lastmod value you can stand behind as roughly accurate; search engines have been known to disregard lastmod values that appear artificially inflated (for instance, a sitemap where every single page shows today's date regardless of when it actually last changed).

Yes — the sitemaps.org protocol caps a single sitemap file at 50,000 URLs and 50MB uncompressed. Sites with more pages than that split their URLs across multiple sitemap files and reference all of them from a single 'sitemap index' file. This tool is built for manually curating a focused, hand-picked sitemap — for a very large site, you'd typically generate your sitemap programmatically from your CMS or site generator rather than adding tens of thousands of URLs by hand.

Upload it to your website's root directory so it's reachable at https://yourdomain.com/sitemap.xml — that's the conventional location search engines and other tools expect by default. From there, you can submit the sitemap URL directly in Google Search Console and Bing Webmaster Tools, and/or reference it in your robots.txt file with a line like Sitemap: https://yourdomain.com/sitemap.xml, which this site's Robots.txt Generator tool can help you build.

No — a sitemap is a discovery and crawling aid, not a guarantee of indexing. Search engines still independently evaluate each page for quality, relevance, duplicate content, and other ranking-adjacent factors before deciding whether to index it, regardless of whether it's listed in your sitemap. A sitemap simply makes sure the search engine knows a URL exists and has some metadata about it — it doesn't override the engine's own judgment about whether that page is worth indexing.

No — the entire sitemap is built and validated in your browser using plain JavaScript string construction. Nothing you enter — your URLs, dates, or settings — is transmitted to a server or stored anywhere; it's generated locally and disappears when you leave or reset the page.

Related Tools

Sitemap Generator pairs naturally with these other SEO tools.

Robots.txt Generator
SEOBuild a robots.txt file, including a reference to your sitemap.
SEO Site Auditor
SEOAudit a page for common on-page SEO issues.
Meta Description Generator
SEOAI-generate SEO-friendly meta descriptions for your pages.
Slug Generator
SEOTurn a title into a clean, URL-friendly slug.