Schema Markup Generator
Generate JSON-LD schema markup for Article, Product, FAQ, and more.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "",
"description": "",
"author": {
"@type": "Person",
"name": ""
},
"datePublished": "",
"dateModified": "",
"url": ""
}
</script>วิธีการทำงานของ Schema Markup Generator
เครื่องมือสร้าง schema markup นี้สร้างข้อมูลโครงสร้าง JSON-LD ที่ถูกต้องสำหรับประเภท schema.org ทั่วไปรวมถึง Organization, Article, FAQPage, Product, BreadcrumbList, LocalBusiness และ Event กรอกข้อมูลในฟิลด์ฟอร์มสำหรับประเภทที่คุณเลือก — เครื่องมือจะสร้างบล็อก script JSON-LD ที่สมบูรณ์พร้อมวางใน head ของหน้า ทำให้ Google สามารถแสดง rich result ที่เพิ่มอัตราการคลิกจากการค้นหา
Google รองรับสามรูปแบบสำหรับ schema markup: JSON-LD (ฝังใน tag script), Microdata (attribute บน HTML element) และ RDFa (คล้ายกับ Microdata) Google แนะนำ JSON-LD เพราะแยกออกจาก HTML ที่มองเห็นได้ — คุณสามารถใส่ผ่าน CMS tag manager โดยไม่ต้องแตะ markup หน้า JSON-LD ยังเป็นรูปแบบเดียวที่รองรับโดย Google Tag Manager's structured data variable ทำให้เป็นค่าเริ่มต้นในทางปฏิบัติสำหรับการ implement ส่วนใหญ่
FAQPage schema ทำ markup หน้าที่มีรายการคำถามและคำตอบ เมื่อ Google ตรวจพบ markup FAQPage ที่ถูกต้อง อาจแสดงคำถามเป็น dropdown แบบขยายได้โดยตรงในผลการค้นหา ทำให้ snippet สูงขึ้นและครองพื้นที่ SERP มากขึ้น แต่ละรายการ FAQ ต้องมี Question entity พร้อม name (ข้อความคำถาม) และ acceptedAnswer พร้อม text (คำตอบ) จำกัดคำตอบที่ 300 คำเพื่อผลการแสดงผลที่ดีที่สุด
Product schema เปิดใช้การแสดงคะแนนดาวในผลการค้นหาเมื่อรวมกับ AggregateRating ฟิลด์ Product ที่จำเป็นได้แก่ name, image, description และ offers (พร้อม price, priceCurrency และ availability) การเพิ่ม AggregateRating พร้อม ratingValue และ reviewCount ช่วยให้แสดงดาวใน SERP ซึ่งช่วยเพิ่มอัตราการคลิกอย่างมีนัยสำคัญสำหรับหน้าสินค้า e-commerce ที่แข่งกับรายการค้นหาอื่นๆ
หลังจากเพิ่ม schema markup ให้ตรวจสอบที่ search.google.com/test/rich-results Rich Results Test แสดงประเภท rich result ที่หน้าของคุณมีสิทธิ์ได้รับ แสดงรายการข้อผิดพลาดหรือคำเตือนในข้อมูลโครงสร้าง และแสดงตัวอย่างว่า rich result จะปรากฏอย่างไรใน Google Search แก้ไขข้อผิดพลาดทั้งหมดก่อน deploy — markup ที่ไม่ถูกต้องมักจะถูก Google เพิกเฉยมากกว่าถูกลงโทษ แต่คุณจะพลาดประโยชน์ด้าน CTR ทั้งหมด
คำถามที่พบบ่อย
- What is schema markup?
- Schema markup (structured data) is code in JSON-LD format that you add to your web pages to help search engines understand the content. It can enable rich results (star ratings, FAQ dropdowns, recipe cards, event dates) in Google Search.
- What is JSON-LD?
- JSON-LD (JavaScript Object Notation for Linked Data) is the recommended format for structured data by Google. It is a script tag placed in the <head> section of your HTML. It does not affect visible page content.
- Which schema type should I use?
- Article for blog posts and news articles, Product for e-commerce items, FAQPage for FAQ sections (enables accordion in Google), LocalBusiness for physical businesses, BreadcrumbList for navigation, Event for events, Recipe for recipes.
- Does schema markup directly improve rankings?
- Schema markup does not directly improve rankings but can significantly increase click-through rate by enabling rich results — FAQ dropdowns, star ratings, event dates — that make your listing stand out in search results.
- How do I test my schema markup?
- Use Google's Rich Results Test (search.google.com/test/rich-results) to validate your JSON-LD and see which rich result types your markup qualifies for.
เครื่องมือที่เกี่ยวข้อง
- UTM Builder — Free UTM Link Generator with QR Code
Free UTM link builder with QR code, campaign presets, and URL history. Generate GA4-ready tracking URLs for Google Ads, Facebook, Email, LinkedIn & more — instantly, no sign-up.
- Meta Tag Preview
Preview how your page looks in Google Search and social shares.
- robots.txt Generator
Generate a robots.txt file with bot blocking and sitemap URL.
- XML Sitemap Generator
Create an XML sitemap with URLs, priorities, and change frequencies.
- Keyword Density Checker
Analyse keyword frequency and density for any text.