ตัวอย่างข้อมูลคือคำอธิบายหรือส่วนสรุปของผลการค้นหาใน Google Search และพร็อพเพอร์ตี้อื่นๆ (เช่น Google News) Google จะใช้เนื้อหาในหน้าเป็นหลักเพื่อกำหนดตัวอย่างข้อมูลที่เหมาะสมโดยอัตโนมัติ นอกจากนี้ เรายังอาจใช้ข้อมูลรายละเอียดในองค์ประกอบคำอธิบายเมตาเมื่ออธิบายหน้าเว็บได้ดีกว่าส่วนอื่นๆ ของเนื้อหา
ตัวอย่างข้อมูลจะสร้างขึ้นโดยอัตโนมัติจากเนื้อหาของหน้าเว็บ ตัวอย่างข้อมูลออกแบบมาเพื่อเน้นและแสดงตัวอย่างเนื้อหาของหน้าที่เกี่ยวข้องกับการค้นหาเฉพาะของผู้ใช้มากที่สุด ซึ่งหมายความว่า Google Search อาจแสดงตัวอย่างข้อมูลที่แตกต่างกันสำหรับการค้นหาที่แตกต่างกัน
ตัวอย่างข้อมูลสร้างขึ้นจากเนื้อหาของหน้าเว็บเป็นหลัก อย่างไรก็ตาม บางครั้ง Google ใช้องค์ประกอบ HTML คำอธิบายเมตาในกรณีที่อาจทำให้ผู้ใช้ได้รับคำอธิบายหน้าเว็บที่ถูกต้องมากกว่าเนื้อหาที่นำมาจากหน้าเว็บโดยตรง
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-08-04 UTC"],[[["\u003cp\u003eGoogle uses page content to create snippets, which are summaries of webpages in search results.\u003c/p\u003e\n"],["\u003cp\u003eYou can control snippets by using meta descriptions and special HTML tags like \u003ccode\u003enosnippet\u003c/code\u003e, \u003ccode\u003emax-snippet\u003c/code\u003e, and \u003ccode\u003edata-nosnippet\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWell-written, unique meta descriptions can improve your search result click-through rate by providing concise and relevant summaries of your page content.\u003c/p\u003e\n"],["\u003cp\u003eFor large websites, consider programmatically generating unique meta descriptions for each page, focusing on human readability and page-specific details.\u003c/p\u003e\n"],["\u003cp\u003eAvoid generic descriptions, keyword stuffing, and overly short summaries when crafting your meta descriptions to ensure they are informative and engaging for users.\u003c/p\u003e\n"]]],["Google uses page content and meta descriptions to create snippets, the summaries in search results. To control snippets, use `nosnippet` to prevent them or `max-snippet` to set length. The `data-nosnippet` attribute blocks specific content. Craft unique, descriptive meta descriptions for each page, prioritizing key URLs. Include relevant information, like author or price. Programmatically generate descriptions for large sites. Avoid keyword lists; instead, use clear summaries tailored to the user. Ensure descriptions are unique, relevant, and specific to the page's content.\n"],null,["Control your snippets in search results\n\n\nA *snippet* is the description or summary part of search result on Google Search and\nother properties (for example, Google News). Google primarily uses the content on the page to\nautomatically determine the appropriate snippet. We may also use descriptive information in the\n[meta description](#meta-descriptions) element when it describes the page better than\nother parts of the content.\nAn illustration of a text result in Google Search, with a highlighted box around the snippet part Get everything you need to sew your next garment.\nOpen Monday-Friday 8-5pm, located in the Fashion District.\n\nWhile we can't manually change snippets for individual sites, we're always working\nto make them as relevant as possible. You can help improve the quality of the snippet\ndisplayed for your pages by following the [best practices for creating quality meta descriptions](#meta-descriptions).\n\nHow snippets are created\n\n\nSnippets are automatically created from page content. Snippets are designed to emphasize and\npreview the page content that best relates to a user's specific search. This means that Google\nSearch might show different snippets for different searches.\n\n\nSnippets are primarily created from the page content itself. However, Google sometimes uses the\n[meta description](#meta-descriptions) HTML element if it might give users a more\naccurate description of the page than content taken directly from the page.\n\nHow to prevent snippets or adjust snippet length\n\nYou can prevent snippets from being created and shown for your site in\nsearch results, or let Google know about the maximum lengths that you want your snippets to be.\nTo prevent Google from displaying a snippet for your page in search results, use the\n[`nosnippet` meta\ntag](/search/docs/crawling-indexing/robots-meta-tag#nosnippet). To specify the maximum length for your snippets, use\nthe [`max-snippet:`*[number]*](/search/docs/crawling-indexing/robots-meta-tag#max-snippet)\n`meta` tag. You can also prevent certain parts of\nthe page from being shown in a snippet by using the [`data-nosnippet`](/search/docs/crawling-indexing/special-tags#data-nosnippet)\nattribute.\n\nBest practices for creating quality meta descriptions\n\nGoogle will sometimes use the [`\u003cmeta name=\"description\"\u003e` tag](/search/docs/crawling-indexing/special-tags) from a page to generate a\nsnippet in search results, if we think it gives users a more accurate description than would be possible purely\nfrom the on-page content. A meta description tag generally informs and interests users with\na short, relevant summary of what a particular page is about. They are like a pitch that\nconvince the user that the page is exactly what they're looking for. There's no limit on how\nlong a meta description can be, but the snippet is truncated in Google Search results as needed,\ntypically to fit the device width.\n|\n| **If you use a CMS, such as Wix, WordPress, or Blogger** , you might not be able to edit\n| your HTML directly, or you might prefer not to. Instead, your CMS might have a search engine\n| settings page or some other mechanism to tell search engines about `meta` tags.\n|\n|\n| If you want to add a `meta` tag to your website, search for instructions\n| about modifying the `\u003chead\u003e` of your page on your CMS (for example,\n| search for \"wix add meta tags\").\n\nCreate unique descriptions for each page on your site\n\n\nIdentical or similar descriptions on every page of a site aren't helpful when individual pages\nappear in search results. Wherever possible, create descriptions that accurately describe the\nspecific page. Use site-level descriptions on the main home page or other aggregation pages, and\nuse page-level descriptions everywhere else. If you don't have time to create a description for\nevery single page, try to prioritize your content; at the very least, create a description for\nthe critical URLs like your home page and popular pages.\n\nInclude relevant information about the content in the description\n\n\nThe meta description doesn't just have to be in sentence format; it's also a great place to\ninclude information about the page. For example, news or blog postings can list the author, date\nof publication, or byline information. This can give potential visitors very relevant information\nthat might not be displayed in the snippet otherwise. Similarly, product pages might have the\nkey bits of information---price, age, manufacturer---scattered throughout a page. A good\nmeta description can bring all this data together.\n\n\nFor example, the following meta description provides detailed information about a book, and\ninformation is clearly tagged and separated:\n\u003e \\\u003cmeta name=\"description\" content=\"Written by A.N. Author, Illustrated by V. Gogh, Price: $17.99, Length: 784 pages\"\\\u003e\n\nProgrammatically generate descriptions\n\n\nFor some sites, like news media sources, generating an accurate and unique description for each\npage is easy: since each article is hand-written, it takes minimal effort to also add a one-sentence\ndescription. For larger database-driven sites, like product aggregators, hand-written descriptions can be\nimpossible. In the latter case, however, programmatic generation of the descriptions can be\nappropriate and are encouraged. Good descriptions are human-readable and diverse. Page-specific\ndata is a good candidate for programmatic generation.\n\n\nKeep in mind that meta descriptions comprised of long strings of keywords don't give users a clear\nidea of the page's content, and are less likely to be displayed as a snippet.\n\nUse quality descriptions\n\n\nMake sure your descriptions are truly descriptive. Because meta descriptions aren't\ndisplayed in the pages the user sees, it's easy to let this content slide. But high-quality\ndescriptions can be displayed in Google's search results, and can go a long way to improving the\nquality and quantity of your search traffic.\n\n\nHere are some examples of how a meta description can be improved:\n\n\n**Bad (list of keywords)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Sewing supplies, yarn, colored pencils, sewing machines, threads, bobbins, needles\"\\\u003e\n\n\n**Better (explains what the shop sells and\ndetails like opening hours and location)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Get everything you need to sew your next garment. Open Monday-Friday 8-5pm, located in the Fashion District.\"\\\u003e\n\n\n**Bad (same description used for every news\narticle)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Local news in Whoville, delivered to your doorstep. Find out what happened today.\"\\\u003e\n\n\n**Better (uses a snippet from the specific news article)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Upsetting the small town of Whoville, a local elderly man steals everyone's presents the night before an important event. Stay tuned for live updates on the matter.\"\\\u003e\n\n\n**Bad (doesn't summarize the page)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Eggs are a source of joy in everyone's life. When I was a small child, I remember picking eggs from the hen house and bringing them to the kitchen. Those were the days.\"\\\u003e\n\n\n**Better (summarizes the whole page)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Learn how to cook eggs with this complete guide in 1 hour or less. We cover all the methods, including: over-easy, sunny side up, boiled, and poached.\"\\\u003e\n\n\n**Bad (too short)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Mechanical pencil\"\\\u003e\n\n\n**Better (specific and detailed)**:\n\u003e \\\u003cmeta name=\"description\" content=\"Self-sharpening mechanical pencil that autocorrects your penmanship. Includes 2B auto-replenishing lead. Available in both Vintage Pink and Schoolbus Yellow. Order 50+ pencils, get free shipping.\"\\\u003e"]]