SEO
sitemap.xml Generator
สร้าง sitemap.xml จากรายการ URL — พร้อม lastmod/changefreq/priority ตรวจสอบและลบรายการซ้ำ
จะถูกเติมไว้หน้าบรรทัดที่ไม่ใช่ลิงก์แบบเต็ม — "/about" จะกลายเป็น "https://example.com/about"
A sitemap.xml is a list of a site's URLs that helps search engines discover pages, especially ones with few internal links pointing at them. This tool builds a valid sitemap.xml from a list of addresses, adding lastmod, changefreq, and priority, and removing duplicates.
How to use it
- Paste a list of URLs (one per line) — optionally provide a base URL so relative paths can be added too.
- Duplicates are detected and removed automatically, and malformed URLs are flagged separately.
- Download the finished sitemap.xml, compliant with the sitemaps.org spec, and place it at the site root.
Common uses
- Building a sitemap for a small static site with no built-in generator.
- Assembling a sitemap from a list of URLs exported from a CMS or database.
- Checking a page list for duplicates or obviously broken addresses before publishing.
Things to keep in mind
Being listed in a sitemap doesn't guarantee indexing — it's a hint to search engines, not a command; the search engine itself makes the final call on indexing.
A single sitemap.xml file is capped at 50,000 URLs and 50MB — larger sites use a sitemap index file that points to several individual sitemaps.
บทความเกี่ยวกับเครื่องมือนี้: การสร้าง sitemap.xml: วิธีประกอบแผนผังเว็บไซต์โดยอัตโนมัติ
คำถามที่พบบ่อย
ฉันต้องใส่ทุกหน้าของเว็บไซต์ลงใน sitemap หรือไม่?
ไม่จำเป็น — เน้นที่หน้าที่คุณต้องการให้เสิร์ชเอนจินรวบรวมข้อมูลและจัดทำดัชนีจริง ๆ เช่น หน้าเนื้อหาหลัก ข้ามหน้าที่ซ้ำ noindex หรือมีคุณค่าต่ำ เพราะ sitemap ที่บวมจะลดทอนงบประมาณการรวบรวมข้อมูลแทนที่จะช่วย
ฟิลด์ priority และ changefreq ทำอะไรกันแน่?
เป็นเพียงคำแนะนำ ไม่ใช่การรับประกัน — เสิร์ชเอนจินอย่าง Google ในปัจจุบันส่วนใหญ่เพิกเฉยต่อสิ่งเหล่านี้ ดังนั้นอย่าพึ่งพาการปรับค่าเหล่านี้เพื่อมีอิทธิพลต่อความถี่ในการรวบรวมข้อมูลหรือการจัดอันดับของหน้า
รายการ URL ของฉันถูกส่งไปที่ไหนเพื่อสร้าง sitemap หรือไม่?
ไม่ ไฟล์ XML ถูกสร้างขึ้นทั้งหมดในเบราว์เซอร์ของคุณจาก URL ที่คุณป้อน ไม่มีการส่งไปยังเซิร์ฟเวอร์
จะเกิดอะไรขึ้นถ้า sitemap มี URL http และ https ปนกัน?
เครื่องมือค้นหาจะถือว่าเป็นที่อยู่ที่แตกต่างกัน แม้จะนำไปสู่เนื้อหาเดียวกัน — ก่อนสร้าง sitemap ให้ตรวจสอบว่า URL ทั้งหมดใช้โปรโตคอลและรูปแบบโดเมนเดียวกันกับที่เว็บไซต์ให้บริการจริง
ลำดับของ URL ใน sitemap มีความสำคัญหรือไม่?
ไม่ — ข้อกำหนดของ sitemaps.org ไม่ได้กำหนดความหมายใด ๆ ให้กับลำดับของรายการในไฟล์ และเครื่องมือค้นหาประมวลผลรายการเหล่านี้โดยไม่ขึ้นกับลำดับ