Search engines are good at reading pages, but structured data removes the guesswork. It states plainly that a page is a product costing £89.99 and in stock, or an event starting at 6pm on a given date. In return, Google can show those details right in the results.
Which type to use
- Article for blog posts and news. Helps Google show the right headline, image and date.
- Product for shop pages. Price, availability and real review ratings can appear under the link.
- Local business for shops, clinics, restaurants and trades. Pick the closest subtype, like Bakery or Dentist, and include opening hours.
- Organization on your home page, to confirm your official name, logo and social profiles.
- Breadcrumbs on any page that sits inside a hierarchy. The path replaces the plain URL in results.
- Event for workshops, concerts and webinars, including online ones.
A worked example
For a local bakery, choose Local business → Bakery and enter the address and phone number. Type the hours as Mo-Fr 08:00-17:00 and Sa 09:00-15:00 on separate lines. The tool expands each line into the full list of days with opening and closing times, the format Google expects.
After publishing
Run the page through Google’s Rich Results Test, then watch the Enhancements reports in Search Console. They flag errors across every page that uses the same template, which is where most structured data problems come from.
How to use the Schema Markup Generator
- Choose a Schema type, such as Product or Local business.
- Fill in the form. Fields marked * are required; the note under the type explains what Google can show.
- Fix anything flagged in the list under the code.
- Copy the
<script>block and paste it into the page’s HTML, in the head or body. - Check it with Google’s Rich Results Test before publishing.
Features
- Eight types: Article, FAQPage, Product, LocalBusiness (15 subtypes), Organization, BreadcrumbList, Event and HowTo.
- Opening hours written in plain text (Mo-Fr 09:00-17:00) and converted to schema.org format.
- Validates currency codes, ratings, URLs and required fields.
- Empty fields are left out, so the output stays clean.
- Safe script output: < is escaped so text can never break out of the tag.
Frequently asked questions
What is JSON-LD?
It is a way of describing a page’s content in a format machines read easily, using the schema.org vocabulary. Google recommends JSON-LD over older formats like microdata because it sits in one script block, separate from your HTML.
Does schema markup improve rankings?
Not directly. It makes pages eligible for rich results, such as star ratings, prices, event dates and breadcrumbs, which can make a listing stand out and earn more clicks.
Why don’t my FAQ or How-to rich results appear?
In 2023 Google limited FAQ rich results to well-known government and health websites and stopped showing How-to results. The markup is still valid and other tools read it, but don’t expect those visual extras in Google.
Can I mark up content that isn’t on the page?
No. Structured data must describe what visitors can see. Marking up hidden reviews, prices or questions breaks Google’s guidelines and can lead to a manual action.
Written by Dewan Razib