JSON-LD
Also known as: JSON for Linking Data
Definition
JSON-LD (JSON for Linking Data) is a W3C standard for expressing linked data in JSON. On websites it is the format Google recommends for schema.org structured data.
Explanation
JSON-LD 1.1 is a W3C Recommendation. On a web page it sits in a <script type="application/ld+json"> block, separate from the visible HTML, which makes it easier to add and maintain than Microdata or RDFa attributes.
Google states that all three formats are equally fine as long as the markup is valid, but recommends JSON-LD in general.
Why it matters for your site
Most platforms and plugins output JSON-LD. Make sure it is present in the server-rendered HTML and that its values match what the page shows.
Related guides
- Add Product schema to every product pageAdd Product JSON-LD to each product page so search engines and AI shopping agents can read name, image, price and stock without guessing from your layout.
- Keep your schema price identical to the price on the pageThe price in your Product JSON-LD should be the same number a shopper sees on the page. A mismatch looks unreliable to search engines and AI shopping agents.
- FAQPage schema: valid markup for your questionsIf you mark up questions with FAQPage or QAPage JSON-LD, every question needs a name and an answer with text. Here is the right structure and how to check it.