JSON-LD structured data generator: local business, article, product, FAQ
Pick the page type, fill in the fields, and the tool writes the Schema.org markup in JSON-LD format, ready to paste into your page. The code updates with every keystroke and never leaves your browser. No sign-up.
Before publishing, run the code through Google’s Rich Results Test.
Once the code is live, check it on the published page. The SEO Cartograph Chrome extension lists the JSON-LD blocks of the open page with their key properties and flags the ones search engines cannot read. Free, no account.
What the generator produces
The five most requested markup types for a business website, in the format Google recommends.
A complete JSON-LD block
The code comes wrapped in its <script type="application/ld+json"> tag, with the Schema.org context and typed nested objects: postal address, offer, author, publisher, brand.
The fields that matter
Each form covers the properties Google reads for that page type. Empty fields are left out of the code, and the tool flags the ones still missing for usable markup.
Clean code
Quotes, line breaks and special characters are escaped, lists become arrays, and typed text cannot close the script tag by accident.
The limits, stated before you start
The generator writes markup from what you type: it checks neither whether the information is accurate nor whether it appears on the page. Google requires structured data to describe the visible content of the page, and valid markup makes a page eligible for rich results without guaranteeing them. Since August 2023, Google limits FAQ rich results to well-known, authoritative government and health websites. The types offered cover the most common cases, not the whole Schema.org vocabulary. Everything is computed in your browser and nothing is sent to the server.
JSON-LD and Schema.org: what markup changes
A few lines of code that describe the page to machines, leaving what visitors see untouched.
A vocabulary shared by search engines
Schema.org is the vocabulary Google, Bing and other engines share to describe a business, an article or a product. JSON-LD is the format Google recommends: a script block kept apart from the HTML, added without touching the layout.
Rich results, case by case
Product price and availability, article date and author, business details: markup makes the page eligible for these displays. Google then decides page by page, based on the query and the quality of the site.
A clear entity for machines
Complete Organization or LocalBusiness markup, with official profiles listed in sameAs, helps engines connect your site to your Google profile, your social accounts and mentions of your name elsewhere on the web.
Markup must match the page
Made-up reviews, a price missing from the page or an invisible FAQ can lead to a manual action from Google, which removes the site’s rich results. Mark up what the page shows, and update the code when the content changes.
Marking up a page, in order
Pick the type that describes the page
LocalBusiness for the home or contact page of a local business, Article for a post, Product for a product page. One type per main topic of the page.
Fill in the fields with the page’s values
Use exactly the name, address and phone number shown on the site and on your Google profile. An address written two ways blurs the entity instead of strengthening it.
Paste the code into the page
In the <head> or the body of the page, Google reads both. On WordPress, a custom HTML block or a code insertion plugin is enough. First check what your SEO plugin already outputs, to avoid two competing Organization blocks.
Test before and after publishing
Google’s Rich Results Test validates the code and tells you which displays the page is eligible for. Once live, check the published page, then follow the Enhancements report in Search Console.
Beyond the markup
The page in front of you
Open any page, yours or a competitor’s, and read the structured data it declares.
- JSON-LD types explained
- Key properties of each block
- Syntax errors flagged
- Raw code ready to copy into the validator
Your local presence
LocalBusiness markup is only one local SEO signal. The free audit reads your Google Business Profile and your website, then scores the whole out of 100.
- Google profile: hours, phone, photos
- Rating and number of reviews
- LocalBusiness markup on the site
- Mobile, HTTPS and response time
In the same series: the SERP simulator and the llms.txt generator. To check the links on a page, the broken link checker. All tools are listed on the free SEO tools page.
Frequently asked questions
What is JSON-LD?
Where do I paste the JSON-LD code?
<head> or in the body of the page: Google reads both. On WordPress, a custom HTML block in the page, or a plugin that inserts code into the header, is enough. The code must sit on the page it describes.Which type should a local business use?
@type value in the code if one of them matches your business exactly.