QCSunny Lab

sitemap.xml Generator & Validatorsitemap.xml 生成与校验

Output转换输出

Paste one URL per line — optionally "url, lastmod" for the last-modified date — and get a valid sitemap.xml with the official namespace. Or paste an existing sitemap and validate it: entry count against the 50,000-URL limit, duplicates, non-absolute URLs.

URLs are deduplicated automatically; the output includes the entry count and byte size so you can see the 50 MB ceiling coming.

Frequently asked questions

One sitemap or many?

Up to 50,000 URLs and 50 MB per file. Beyond that, split into parts and add a sitemap index file that lists them.

Do I need lastmod?

It helps crawlers re-crawl changed pages, but only if honest — a fake lastmod on every entry trains search engines to ignore yours.

中文说明

每行一个 URL——可选 "url, lastmod" 标注最后修改日期——生成带官方命名空间的合法 sitemap.xml。也可以粘贴现有 sitemap 校验:条目数对照 5 万上限、重复项、非绝对 URL。

URL 自动去重;输出附带条目数与字节大小,方便留意 50 MB 上限。

常见问题

一个 sitemap 还是多个?

每个文件最多 5 万条 URL、50 MB。超出就拆分成多个,再加一个 sitemap 索引文件列出它们。

需要 lastmod 吗?

它能引导爬虫重抓有变动的页面,但前提是真实——每条都填假 lastmod 只会让搜索引擎学会无视你的数据。