Schema Markup Generator
Pick a type, fill in the form and copy valid JSON-LD. Required and recommended properties follow Google's structured data documentation, checked in October 2026, and the checks tell you what is missing.
Properties: LocalBusiness
Loading the form...
JSON-LD
Checks
Your entries stay in this browser only. Nothing is sent to a server.
What schema markup does
Schema markup is a block of structured data that tells search engines what a page is about in a format they do not have to guess: this is a coffee shop at this address, open these hours; this is a product that costs this much and is in stock. Google uses it to show rich results, like prices and stars under a product or a breadcrumb path instead of a URL, and to understand entities for the knowledge panel. Markup does not raise rankings by itself. It makes a result eligible for a richer display, and it removes ambiguity.
Which types still get rich results in 2026
Google has been retiring rich result types for three years. Before you spend time on markup, check that the type still does something in Google Search. This is the state of the types in this generator, from the Search Central structured data gallery and its changelog, checked in October 2026:
| Type | Google rich result | Required by Google |
|---|---|---|
| LocalBusiness | Yes, business details in the knowledge panel | name, address |
| Organization | Yes, logo and company details | None, all recommended |
| Person (ProfilePage) | Used for profile pages, no Person result on its own | mainEntity with name |
| Article, BlogPosting, NewsArticle | Yes, better title, image and date in results | None, all recommended |
| Product | Yes, price, availability and rating | name, plus one of offers, aggregateRating, review |
| BreadcrumbList | Yes, breadcrumb path in the result | itemListElement with at least 2 items |
| Event | Yes, for events at a physical place (Event documentation) | name, startDate, location with address |
| VideoObject | Yes, video results and key moments | name, thumbnailUrl, uploadDate |
| WebSite | Site name only. Sitelinks search box removed starting November 21, 2024 | name, url (home page only) |
| FAQPage | No. Not shown starting May 7, 2026 | Documentation removed in June 2026 |
| HowTo | No. Not shown on desktop since September 13, 2023, on mobile since August 2023 | Documentation removed |
Required versus recommended properties
Required properties decide whether a page is eligible at all. Leave one out and the Rich Results Test reports an error and the result will not show. Recommended properties do not block eligibility, but they decide how much Google can show. A LocalBusiness with only a name and address is valid. One with hours, phone, coordinates and price range is the one that answers the searcher's question. Fill every recommended property that is true for the page and leave the rest empty. Never mark up something that is not visible to people on the page.
How to add JSON-LD to your site
Copy the code with the script tag and paste it into the HTML of the page it describes, in the head or anywhere in the body. In WordPress, use a header and footer code plugin or the custom code field your theme or SEO plugin provides, and check that the plugin is not already printing the same type, because two conflicting Organization blocks are a common mistake. In Google Tag Manager, a Custom HTML tag works, but Google has to render JavaScript to see it, so putting it in the HTML is more reliable. Then run the page through the Rich Results Test and watch the Enhancements reports in Search Console over the next weeks.
Mistakes I see most in audits
- Ratings nobody can see. Product stars in the markup with no reviews on the page. Google calls this out in its guidelines, and it can lead to a manual action.
- Self-serving reviews. A business marking up reviews of itself on its own LocalBusiness or Organization page. Those are not eligible for review stars, even when they come from a review widget.
- Relative URLs and missing time zones. Image and page URLs must be absolute. Dates without an offset are read in Googlebot's time zone, which can shift an event by a day.
- Markup that disagrees with the page. A price, phone number or opening hours in the JSON-LD that differ from the visible text. Update both together.
- Old types left running. FAQ and HowTo blocks still added by plugins on every page. They are harmless, but they no longer earn anything in Google Search.
Test before you publish
The Rich Results Test tells you whether Google can show a rich result for the code or URL and which properties are missing. The Schema Markup Validator checks the code against the full schema.org vocabulary, which is useful for types Google does not use. Paste the copied code into either one. The checks in this generator follow the same rules, so a page that passes here should pass there, but the test on the live URL is the one that counts.