$ unhead tools

Schema.org Generator

Generate useSchemaOrg() code for rich search results. Build structured data for articles, products, FAQs, and more.

Quick Start

Schema Type

Article

News, scholarly, or other article

Required. Max 110 characters for rich results.
Required for rich results.
Required for rich results.
Required for rich results.
Required for rich results.
Recommended. 60px height or 600px width max.
@typeArticle
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Get Started with Schema.org",
  "description": "A comprehensive guide to implementing structured data for better SEO.",
  "image": "https://example.com/article-image.jpg",
  "author": {
    "@type": "Person",
    "name": "John Doe"
  },
  "publisher": {
    "@type": "Organization",
    "name": "My Website"
  }
}
Generated Code
import { useSchemaOrg, defineArticle } from '@unhead/schema-org'

useSchemaOrg([
  defineArticle({
    headline: 'How to Get Started with Schema.org',
    description: 'A comprehensive guide to implementing structured data for better SEO.',
    image: 'https://example.com/article-image.jpg',
    author: {
      name: 'John Doe',
    },
    publisher: {
      name: 'My Website',
    },
  }),
])
Learn

What is Schema.org?

Schema.org is a collaborative vocabulary for structured data that helps search engines understand your content. When implemented correctly, it can enable rich results in Google Search.

Rich ResultsEnable enhanced search snippets with ratings, prices, and more
Better CTRRich snippets can significantly improve click-through rates
AI-ReadyStructured data helps AI systems understand your content
Type-SafeuseSchemaOrg provides full TypeScript support

Supported Schema Types

Article

News, scholarly, or other article

Blog Posting

Blog post or article

FAQ Page

Frequently asked questions

Product

E-commerce product

Local Business

Physical business location

Organization

Company or organization

Person

Individual person profile

How-To

Step-by-step instructions

Video

Video content

Event

Event or happening

Learn More