consolelog.tools

Sitemap XML Generator

Generate sitemap.xml for better SEO indexing

About this ToolHow it works, benefits & use cases

The Sitemap XML Generator turns a plain list of URLs into a standards-compliant sitemap.xml. Paste one URL per line and it wraps each in a <url> entry inside a <urlset> declaring the sitemaps.org 0.9 schema, automatically adding a <lastmod> set to today's date, a weekly <changefreq>, and a default <priority> of 0.5 for every page. A live counter shows how many URLs you have entered, blank lines are ignored, and a Load example button drops in a sample set so you can see the output shape immediately. The generated XML reports its line count and downloads as sitemap.xml ready to upload to your site root. Your input list is saved in the browser, and the tool can receive URLs handed off from other tools on the site. A built-in usage guide walks you through submitting the file to Google Search Console and referencing it from robots.txt.

How to Use

  1. 1Enter your page URLs in the input panel, one per line; the counter shows how many were detected.
  2. 2Click "Load example" if you want to see the expected format and output first.
  3. 3Press "Generate sitemap" to build the XML; the output panel shows a line count.
  4. 4Copy the result or download it as sitemap.xml and place it in your website's root directory.
  5. 5Follow the usage guide to submit the sitemap via Google Search Console and reference it in robots.txt.

Key Benefits

  • Converts a one-URL-per-line list into valid sitemaps.org 0.9 XML
  • Auto-fills lastmod (today), changefreq (weekly), and priority (0.5) for each URL
  • Live URL counter that ignores blank lines and surrounding whitespace
  • Load-example button to preview the format instantly
  • Downloads as sitemap.xml with a reported line count
  • Input is saved in your browser and can receive URLs piped from other tools
  • Includes a step-by-step submission and robots.txt referencing guide

Common Use Cases

  • Creating a first sitemap for a static or small site to speed up indexing
  • Generating a sitemap from a list of URLs exported from a crawler or CMS
  • Producing a quick sitemap to submit to Google Search Console or Bing Webmaster Tools
  • Refreshing a sitemap after adding or restructuring pages
  • Bootstrapping the Sitemap line that you reference from robots.txt

0 URLs — one per line

Run to generate.

Enter URLs above and click Generate.

Usage

  1. Save sitemap.xml to your website root directory.
  2. Submit to search engines via Google Search Console and Bing Webmaster Tools.
  3. Reference it in robots.txt: Sitemap: https://yoursite.com/sitemap.xml

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related guide

Related tools