Skip to content
Toolcroft

SEO & Marketing

Schema Markup Generator - JSON-LD Structured Data

Generate valid JSON-LD structured data for FAQPage, HowTo, Article, Product, LocalBusiness, BreadcrumbList, and Event schema types. Copy the script tag ready to paste into your page.

Your inputs are saved in this browser only. No data is ever sent to a server, and saved values won't be visible in other browsers or devices.
Q1

JSON-LD Output

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": []
}
</script>

What is JSON-LD schema markup?

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for adding structured data to your pages. You add a <script type="application/ld+json"> block to your page's <head>, and search engines use the data to understand your content and potentially display rich results in the SERP.

Supported schema types

  • FAQPage - FAQ accordions in Google results.
  • HowTo - Step-by-step guide with rich formatting.
  • Article - News/blog articles with author and date.
  • Product - Product listings with price and availability.
  • LocalBusiness - Business name, address, phone, and website.
  • BreadcrumbList - Site navigation path in search snippets.
  • Event - Events with dates and location.

How to add schema to your page

Copy the generated <script> block and paste it anywhere in your page's <head> section. You can test the markup using Google's Rich Results Test (search.google.com/test/rich-results) to verify it is valid before publishing.

Rich results preview

Google's Rich Results Test (search.google.com/test/rich-results) checks your structured data and tells you whether your page is eligible for rich results. Note that eligibility is not a guarantee - Google still decides whether to show a rich result based on query relevance, content quality, and other signals. "Valid markup" means your schema has no errors; "eligible for rich results" means the schema type and required properties are present. A page can have valid schema without being eligible for rich results if the schema type doesn't support them (e.g., plain Article markup rarely triggers visual enhancements).

Common schema mistakes

  • Wrong @type for your content: using Product for a service page, or Article when BlogPosting is more accurate.
  • Missing required properties: FAQPage must include mainEntity with at least one Question; Product must include name. Incomplete schemas are flagged as errors.
  • Schema that contradicts visible page content: Google considers it spam if your structured data describes something that isn't present on the page - for example, listing a 5-star rating when no reviews are displayed. This can result in a manual action penalty.