What JSON-LD structured data is
JSON-LD is a W3C standard for expressing linked data as JSON. On web pages it is used with the schema.org vocabulary, a shared set of types such as Article, Organization and FAQPage, and properties such as headline and author. The block sits in a script tag of type application/ld+json and is invisible to visitors.
Search engines read it to understand what a page is about with certainty instead of inferring it from the layout. Google supports JSON-LD, Microdata and RDFa, and recommends JSON-LD because it is kept separate from the HTML and is easier to maintain.
Rich result eligibility for each type
Valid markup does not guarantee a rich result. Google sets its own requirements per feature, and they change, so check the current documentation for each type you use.
- FAQPage: since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites. On other sites the markup is still valid and still describes the page, but it will not produce expandable answers in results. The form lets you add or remove as many question-and-answer pairs as the page actually shows.
- SoftwareApplication: Google's software app feature requires name and offers.price, plus either aggregateRating or review. The generator fills in name, category, description, price and currency (enter 0 for a free app), so you need to add genuine rating or review data before it can qualify.
- Article: there are no required properties, but Google recommends headline, image, datePublished, dateModified and an author with a name and ideally a url. The form covers headline, author, publish date (today by default) and an optional image URL; add dateModified yourself when the article is updated.
- Organization: name, url and logo help search engines connect your site to your brand, and sameAs links to official profiles strengthen that connection. The form has fields for all four, with social profile URLs entered one per line.
Worked example: completing an Article block
The Article output contains headline, an author of type Person with a name, datePublished and, if you filled it in, image. To bring it fully in line with Google's recommendations, add two properties after copying it: a dateModified in ISO 8601 format such as 2026-10-21, and a url inside the author object pointing to the writer's profile page.
The values must match what is visible on the page. If the article shows 'Updated 21 October 2026', dateModified should be 2026-10-21. Structured data that contradicts the visible content, or describes content that is not on the page, breaks Google's guidelines and can lead to a manual action that removes rich results for the whole site.
Testing and maintenance
The generator runs basic checks as you type: required fields for the chosen type, http(s) URLs for links and images, a real calendar date, a numeric price and three-letter currency code, a non-empty question and answer for every FAQ entry, and that the output parses as JSON. Passing those checks means the block is well-formed, not that Google will show a rich result.
Use two tools after adding markup. The Schema Markup Validator at validator.schema.org checks that the block is valid schema.org data. Google's Rich Results Test shows whether a specific page qualifies for Google features and lists missing required or recommended properties.
Once the page is live, the Enhancements reports in Google Search Console show errors across the whole site. Structured data goes stale easily, especially dates, prices and ratings, so update it whenever the page content changes.
Choosing the most specific type
schema.org types form a hierarchy, and the more specific type usually describes a page better. BlogPosting and NewsArticle are both kinds of Article, and LocalBusiness, Restaurant and Store are kinds of Organization. A neighbourhood bakery is better described as a Bakery, with an address and opening hours, than as a generic Organization.
When a site uses several blocks that refer to the same thing, such as the publisher of each article and the site's Organization block, give the organization an @id URL and reference it, so search engines understand they are the same entity.
JSON-LD Schema Generator: frequently asked questions
Should JSON-LD go in the head or the body?
Either works. Google reads JSON-LD anywhere in the HTML, including blocks added by JavaScript. The head is the conventional place and keeps markup in one predictable location.
Can a page have more than one schema block?
Yes. A page can include several script tags, for example an Article block and a BreadcrumbList block, or one block using an @graph array. Each item should describe something actually present on that page.
Does structured data improve rankings?
Google has said structured data is not a general ranking factor. Its value is in eligibility for rich results and in helping search engines understand the page, both of which can improve how a listing looks and how often it is clicked.
How long until rich results appear after adding markup?
Changes are picked up the next time Google crawls and processes the page, which can take days or weeks. Even with valid markup, Google decides case by case whether to show a rich result.
Is FAQ schema still worth adding?
For most sites it no longer produces FAQ rich results in Google, so the main benefit is gone. It remains valid markup that other search engines and tools may read, and it costs little to keep if the questions are genuinely on the page.