JSON-LD

A JavaScript format for adding structured data to web pages that search engines can understand.

JSON-LD (JavaScript Object Notation for Linked Data) is the recommended format for adding structured data to web pages. It's a script that sits in the <head> or <body> of your HTML and tells search engines specific details about your content in a machine-readable way.

Google recommends JSON-LD over other structured data formats (Microdata and RDFa) because it's separate from your HTML content. You can add or modify it without touching your page's markup. It's easier to maintain and less error-prone.

A basic JSON-LD snippet looks like a block of JSON wrapped in a <script type="application/ld+json"> tag. For example, you might use it to tell Google that a page is a recipe with specific ingredients, cooking time, and ratings.

Common JSON-LD types include Article, LocalBusiness, Product, FAQ, HowTo, Recipe, Event, and Organization. Each type has specific properties that provide detailed information search engines can use for rich results.

Why It Matters for SEO

JSON-LD enables rich results in Google — things like star ratings, FAQ dropdowns, recipe cards, and event details that make your search listings stand out. It helps search engines understand your content more precisely, which can improve visibility and CTR.

🔍 How to Check This

Use AuditMySite's Schema Generator to create JSON-LD structured data for your pages without writing code.

Try Schema Generator