✨ Sitemap Generator

Sitemap Generator - Paste one URL per line to build a standard sitemap.xml with lastmod for search engines. Free, browser-only.

📐 工作原理与说明
按换行切分输入,逐行去首尾空白后只保留以 http 或 https 协议开头的行;一条都没有时提示请每行粘贴一个以协议开头的网址。取当天日期(ISO 字符串的前 10 位)作为最后修改时间,为每条网址生成包含地址与最后修改时间的 url 节点,再拼上 XML 声明与站点地图命名空间声明的根节点。输出网址总数,并对整段 XML 做转义后在代码块中展示
生成供搜索引擎抓取的 XML Sitemap。
  • 字段:每个 URL 含 loc(地址)、lastmod(最后修改)、changefreq(更新频率)、priority(优先级)。
  • 限制:单个 sitemap 最多 5 万条 URL、未压缩不超过 50MB;超出需用 sitemap index 分片。
  • 提交:在 robots.txt 中声明 Sitemap 地址,或通过搜索引擎站长平台提交。
  • 说明:sitemap 只是抓取线索,不保证收录;priority 仅供搜索引擎参考。

Formula & Standard References

Item Formula / Note Source / Standard
Protocol fields each url entry has loc plus optional lastmod and priority sitemaps.org protocol
Limits at most 50000 URLs and 50 MB uncompressed per file sitemaps.org protocol
Index files split into multiple maps linked by a sitemapindex sitemaps.org protocol
⚠️ 使用说明与注意事项

📋 结构

<urlset xmlns=".../0.9">
  <url><loc>https://x/</loc></url>
</urlset>