← All terms

JSON-LD

The recommended format for structured data — a script of Schema.org JSON that describes what a page is, kept separate from the visible markup.

JSON-LD (JSON for Linking Data) is Google's recommended way to add structured data. You drop a script tag of Schema.org-shaped JSON into the page; because it lives apart from your HTML, it is easy to generate and keep valid as the page changes.

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Your title",
  "author": { "@type": "Person", "name": "Your name" }
}
JSON-LD — Glossary