How to generate schema markup

  1. Pick the type that matches the page: Article, Local business or FAQ page.
  2. Fill in the fields with exactly what the page shows. Leave a field empty if the page does not have it: empty fields are left out of the code.
  3. Read the notes under the form. They flag what Google requires or recommends for that type.
  4. Copy the code, paste it into the page, and test the live page with Google's Rich Results Test.

Which schema type to use

  • Article (or NewsArticle, BlogPosting): for news stories and blog posts. Google requires no particular property, and recommends the headline, images, dates published and updated, and every author shown on the page.
  • Local business: for a business with a physical location or service area. Google requires the name and address, and recommends the phone, website, opening hours and map coordinates. Keep them the same as your Google Business Profile.
  • FAQ page: for a page that lists questions with their answers. Google no longer shows FAQ rich results (since May 7, 2026), so add it for other search engines and AI tools, not for a Google feature.

Questions about schema markup

What is schema markup?

Schema markup is structured data: a short block of code that tells search engines and AI tools what a page is about in a fixed vocabulary from schema.org, such as who wrote an article, when it was published, or a business address and opening hours.

What is JSON-LD?

JSON-LD is one of three formats for structured data, alongside Microdata and RDFa. It sits in its own script tag instead of being mixed into your HTML, which makes it the easiest to add and maintain. Google lists JSON-LD as the recommended format.

Where do I put the code?

Paste the whole script block into the page it describes, in the head or the body. On WordPress, most SEO plugins and header and footer code plugins have a field for it. Add it only to the page it describes: an Article block goes on that article, a LocalBusiness block on your home or contact page.

Does schema markup guarantee rich results?

No. Google says structured data makes a page eligible for rich results but does not guarantee them. The markup also has to match what visitors can see on the page: Google asks you not to mark up content that is not visible.

Does Google still show FAQ rich results?

No. Google stopped showing FAQ rich results in Search on May 7, 2026, and removed the feature from its documentation in June 2026. FAQPage is still a valid schema.org type that other search engines and AI tools can read, but it will not earn an FAQ result in Google.

Which LocalBusiness type should I pick?

The most specific one that fits, as Google recommends: Dentist rather than LocalBusiness for a dental office, Plumber for a plumbing company. If nothing in the list fits, LocalBusiness is fine. The full list of types is on schema.org.

How do I check the markup works?

Run the page through Google's Rich Results Test to see which Google features it qualifies for, and through the Schema Markup Validator to check it against schema.org. After it goes live, Search Console shows errors for the rich result types Google supports.

Is my data sent anywhere?

No. The generator runs entirely in your browser. Nothing you type is sent to The Search Post or anyone else.