Getting Started with Schema Markup help guide illustration

Getting Started with Schema Markup

Choose a schema type, generate JSON-LD, validate it, and add it to your site.

GuideGetting Startedbeginner8 min readUpdated September 15, 2025

Tags

basicsintroductionschema.orgseostructured-data

Getting Started with Schema Markup

Schema markup is structured data based on the Schema.org vocabulary. This guide walks through creating JSON-LD with the Schema Generator and publishing it on your site.

What you will do

  1. Pick a schema type that matches the page (Organization, Product, Article, FAQ, etc.)
  2. Fill the guided fields in the Schema Generator
  3. Copy the JSON-LD into a script block with type application/ld+json
  4. Validate with Google Rich Results Test and validator.schema.org

Choose a schema type

Common starting points:

  • Organization on your homepage or about page
  • Article on blog posts
  • Product on product detail pages
  • FAQ when questions and answers are visible in HTML

Browse all types on the schema types page or read the Schema Types Guide.

Add JSON-LD to your page

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Company Name",
  "url": "https://yourwebsite.com"
}
</script>

Place the block in the document head or before </body>. The JSON must match what visitors see on the page.

Validate before publish

See Schema Testing & Validation for a full checklist.

Common mistakes

  • Using a schema type that does not match the page content
  • Omitting required properties for that type
  • Adding ratings or FAQ answers that are not visible on the page
  • Duplicating the same entity in multiple conflicting JSON-LD blocks

Details: Common Schema Markup Mistakes.

Platform guides

Quick checklist

Related Resources