In this article
What schema markup is
Schema.org is a shared vocabulary that Google, Bing and others understand. You describe your page, a business, a product, an article, in a JSON-LD script in the page’s HTML. Visitors do not see it; search engines read it to understand facts such as opening hours, prices and authors, and may use it to show “rich results”.
Which types are useful today
| Type | Possible benefit |
|---|---|
| LocalBusiness | Helps Google confirm address, phone and hours |
| Product | Price, availability and review stars in results (with genuine reviews) |
| Article | Better understanding of headline, author and dates |
| Organization | Logo and official social profiles |
| FAQPage | Clear Q&A structure; rich results now limited (see below) |
An honest note about FAQ rich results
Since August 2023, Google shows FAQ rich results only for well-known, authoritative government and health websites, and it has stopped showing HowTo rich results. FAQ markup is still valid and still helps machines understand your content, but most sites should not expect the expandable questions to appear in search any more.
How to generate markup
- Open the Schema Generator and choose FAQPage, Article, LocalBusiness, Product or Organization.
- Fill in the form. Empty fields are left out automatically.
- Check the list of important fields that are still missing.
- Copy the
<script type="application/ld+json">block.
Where to put it
Paste the script into the page’s <head> or anywhere in the <body>. In WordPress, SEO plugins add basic schema automatically; use a plugin’s custom schema field or a header-scripts plugin for extra types. Add LocalBusiness markup to the page that shows your address, usually the home or contact page.
Test it
Use Google’s Rich Results Test to check eligibility and errors, and the Schema Markup Validator (validator.schema.org) to check the structure. Search Console then reports structured data across your site over time.
The rules
- Mark up only what is visible on the page. Hidden or different information can be ignored or lead to a manual action.
- Never fake reviews or ratings.
- Keep it current, update prices, hours and availability when they change.
- Use the most specific type available: Dentist or Restaurant rather than just LocalBusiness.
A LocalBusiness example
For a clinic, the essential fields are the name, the specific type (such as Dentist), the full address, phone number, opening hours, website and, if you have them, the logo and the link to the Google Maps listing. Make sure these match exactly what is written on the page and on your Google Business Profile, including spelling and phone number format.
Schema is not a ranking shortcut
Structured data helps search engines understand and present your page; it does not replace good content, titles and links. Combine it with strong meta tags from the Meta Tag Generator and validate any JSON by hand with the JSON Validator.
Frequently asked questions
What is schema markup?
Structured data that describes a page to search engines in a standard format.
Which format does Google recommend?
JSON-LD placed in the page code.
Does schema guarantee rich results?
No. It makes pages eligible, but Google decides when to show them.
How do I test schema?
Use the Google Rich Results Test and the Schema Markup Validator.
Can wrong schema cause problems?
Yes. Misleading markup can lead to manual actions, so describe only what is on the page.
Is JSON-LD better than microdata
Google recommends JSON-LD because it sits in one block and does not mix with your HTML, which makes it easier to add and maintain.
Why do I not see rich results after adding schema
Google decides when to show them. The markup must be valid, match what is visible on the page, and the site needs to be trusted over time.