Web Tools

Sitemap Generator

All tools

Turn a plain list of pages into a sitemap file search engines can read.

How it works

Four simple steps

1

Paste your URLs

One absolute http or https URL per line.

2

Pick defaults

Choose a changefreq and priority for every entry.

3

Review the XML

A urlset with escaped loc values builds as you type.

4

Download the file

Save sitemap.xml and upload it to your site root.

Sitemap Generator

About Sitemap Generator

A small marketing site was built by hand, there is no CMS plugin to produce a sitemap, and Search Console keeps asking for one. You already have the list of page URLs in a spreadsheet, and pasting that column here gives you a sitemap.xml to upload in a couple of minutes.

Each non-empty line becomes a url entry with a loc element, plus the changefreq and priority chosen in the two dropdowns. Those defaults apply to every URL, so if a few pages deserve different values, generate the file and edit those entries afterwards. Everything is wrapped in a urlset element with the standard sitemaps.org 0.9 namespace, and ampersands and other special characters in the URLs are escaped so the XML stays valid. The status line counts the URLs written, and Download saves the result as sitemap.xml.

Every line has to be an absolute http or https URL. If one line fails that check, the XML is not regenerated and the output keeps showing the previous version until you fix or remove the bad line. There is no lastmod field, so add one by hand if you track modification dates; Google reads lastmod but has said it ignores changefreq and priority. Once the file is on your server, reference it from robots.txt with the robots.txt generator and confirm the structure with the sitemap validator.

The XML is assembled in your browser. Your URL list is neither crawled nor stored.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

One of the lines is not a valid http or https URL, for example a relative path or a typo in the scheme. Fix or delete that line and the sitemap regenerates.

The sitemap protocol allows up to 50,000 URLs and 50 MB uncompressed per file. Split larger sites into several sitemaps and list them in a sitemap index.

Not in the form, since the dropdowns set one value for every URL. Generate the file, then edit the priority element of the homepage entry before uploading.

View more FAQs

Related tools

View all

A11y Annotator

Audit HTML for alt text, labels, headings, and ARIA gaps with fix suggestions.

Open

Bundle Size Estimator

Compare approximate gzip sizes for popular npm packages offline.

Open

Import Cost Estimator

Estimate approximate import cost from pasted import lines and package names.

Open

URL Parser

Break down any URL into parts.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools