Back to guides

JSON-LD

How to add JSON-LD to a website

Learn where JSON-LD goes, what fields to include, and how to validate it before publishing.

Open Schema Generator

Put structured data in the page head or body

JSON-LD is added with a script tag using application/ld+json. It can live in the head or body, but it should describe the visible page content and use canonical URLs.

Match Schema type to page intent

Use Article for editorial pages, FAQPage for visible question lists, Product for product detail pages, and BreadcrumbList for navigation paths.

Validate before launch

Generate the markup, paste it into the page, then test the page alongside your title, description, canonical, robots, and launch readiness checks.