XML 网站地图生成器
根据你提供的公开网址生成网站地图,不抓取网站。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
An XML sitemap lists the pages you want search engines to discover. Small sites, landing-page collections and static sites without a CMS often need one made by hand. Paste your public page addresses, one per line, and this generator writes a valid sitemap file in the sitemaps.org format, removing duplicates and escaping special characters.
It does not crawl your site, so it only includes the URLs you give it. List only pages that return 200 OK and that you want indexed.
使用方法
- Paste the full URLs, one per line, all from the same website.
- Run the generator.
- Download the XML and upload it as sitemap.xml to your site’s root.
- Add a Sitemap line to robots.txt and submit the sitemap in Google Search Console.
计算原理
Each URL is validated as http(s) and must share the first URL’s origin. Duplicates are removed, characters such as & are XML-escaped, and each address becomes a <url><loc> entry inside a <urlset>.
计算示例
Pasting https://example.org/, https://example.org/about/ and https://example.org/about/ again produces a sitemap with two <url> entries; the repeated about page appears once. Adding https://other.com/ is rejected, because a sitemap may only list URLs from its own site.
局限性
- Up to 2,000 URLs, all on one origin.
- No crawling, lastmod, images or hreflang entries.
- Does not check that each URL is live.
最后更新:
常见问题
Do I need lastmod or priority?
They are optional. Google ignores priority and uses lastmod only when it is accurate, so this generator leaves them out.
How many URLs can a sitemap hold?
Up to 50,000 URLs or 50 MB uncompressed per file; this tool accepts up to 2,000 at a time.
Should I include pages with noindex?
No. Only list canonical pages you want in search results.
故障排除
It says to enter complete web addresses.
A line is not a full http(s) URL, or contains spaces or unusual characters.
It rejects my list.
Make sure every URL starts with the same scheme and domain (https://www. and https:// count as different origins).
Search Console reports errors.
Check that each URL loads with status 200 and is not redirected; use the redirect checker.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。