Use Schema.org Generator

Enter your data below to use the Schema.org Generator

📌 Try these examples:
RESULT

Last updated

Schema.org Generator Examples

The Schema.org Generator creates JSON-LD structured data markup for any schema.org type. Below are complete examples for the most commonly used schema types.

Article / Blog Post

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Build a REST API in Node.js",
  "description": "A step-by-step guide to building a RESTful API using Node.js and Express.",
  "image": "https://example.com/images/rest-api-guide.jpg",
  "author": {
    "@type": "Person",
    "name": "Jane Smith",
    "url": "https://example.com/authors/jane-smith"
  },
  "publisher": {
    "@type": "Organization",
    "name": "TechBlog",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png",
      "width": 600,
      "height": 60
    }
  },
  "datePublished": "2026-03-17",
  "dateModified": "2026-03-17",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://example.com/blog/rest-api-nodejs"
  }
}
</script>

Product

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Wireless Bluetooth Headphones",
  "description": "Premium wireless headphones with 30-hour battery life and active noise cancellation.",
  "image": [
    "https://example.com/images/headphones-front.jpg",
    "https://example.com/images/headphones-side.jpg"
  ],
  "brand": {
    "@type": "Brand",
    "name": "AudioPro"
  },
  "sku": "AP-WH-001",
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/headphones",
    "price": "79.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "priceValidUntil": "2026-12-31",
    "seller": {
      "@type": "Organization",
      "name": "TechStore"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "127",
    "bestRating": "5",
    "worstRating": "1"
  }
}
</script>

FAQ Page

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is your return policy?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "We accept returns within 30 days of purchase. Items must be in original condition with all packaging. Contact support@example.com to initiate a return."
      }
    },
    {
      "@type": "Question",
      "name": "How long does shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Standard shipping takes 5-7 business days. Express shipping (2-3 days) is available at checkout for an additional fee."
      }
    },
    {
      "@type": "Question",
      "name": "Do you ship internationally?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, we ship to over 50 countries. International shipping typically takes 10-14 business days. Customs fees may apply."
      }
    }
  ]
}
</script>

Local Business

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "The Corner Bistro",
  "image": "https://example.com/images/bistro.jpg",
  "url": "https://example.com",
  "telephone": "+1-503-555-0147",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "742 Maple Street",
    "addressLocality": "Portland",
    "addressRegion": "OR",
    "postalCode": "97201",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 45.5231,
    "longitude": -122.6765
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "11:00",
      "closes": "22:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Saturday", "Sunday"],
      "opens": "10:00",
      "closes": "23:00"
    }
  ],
  "servesCuisine": "American",
  "priceRange": "$$",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.3",
    "reviewCount": "89"
  }
}
</script>

Event

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Event",
  "name": "Web Development Conference 2026",
  "startDate": "2026-06-15T09:00:00-07:00",
  "endDate": "2026-06-17T18:00:00-07:00",
  "eventStatus": "https://schema.org/EventScheduled",
  "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
  "location": {
    "@type": "Place",
    "name": "Portland Convention Center",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "777 NE Martin Luther King Jr Blvd",
      "addressLocality": "Portland",
      "addressRegion": "OR",
      "postalCode": "97232",
      "addressCountry": "US"
    }
  },
  "image": "https://example.com/events/webconf2026.jpg",
  "description": "Three days of talks, workshops, and networking for web developers.",
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/events/webconf2026/tickets",
    "price": "299",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "validFrom": "2026-01-01"
  },
  "organizer": {
    "@type": "Organization",
    "name": "WebDev Community",
    "url": "https://webdevcommunity.org"
  }
}
</script>

Recipe

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Classic Chocolate Chip Cookies",
  "image": "https://example.com/images/cookies.jpg",
  "author": { "@type": "Person", "name": "Jane Smith" },
  "datePublished": "2026-03-17",
  "description": "Crispy on the outside, chewy on the inside chocolate chip cookies.",
  "prepTime": "PT15M",
  "cookTime": "PT12M",
  "totalTime": "PT27M",
  "recipeYield": "24 cookies",
  "recipeCategory": "Dessert",
  "recipeCuisine": "American",
  "recipeIngredient": [
    "2 1/4 cups all-purpose flour",
    "1 tsp baking soda",
    "1 tsp salt",
    "1 cup butter, softened",
    "3/4 cup granulated sugar",
    "2 large eggs",
    "2 cups chocolate chips"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "text": "Preheat oven to 375°F. Line baking sheets with parchment paper."
    },
    {
      "@type": "HowToStep",
      "text": "Mix flour, baking soda, and salt in a bowl. Set aside."
    },
    {
      "@type": "HowToStep",
      "text": "Beat butter and sugars until creamy. Add eggs. Gradually blend in flour mixture. Stir in chocolate chips."
    },
    {
      "@type": "HowToStep",
      "text": "Drop rounded tablespoons onto baking sheets. Bake 9-11 minutes or until golden brown."
    }
  ],
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "342"
  }
}
</script>

HowTo

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "HowTo",
  "name": "How to Change a Flat Tire",
  "totalTime": "PT30M",
  "supply": [
    { "@type": "HowToSupply", "name": "Spare tire" },
    { "@type": "HowToSupply", "name": "Jack" },
    { "@type": "HowToSupply", "name": "Lug wrench" }
  ],
  "step": [
    {
      "@type": "HowToStep",
      "name": "Loosen the lug nuts",
      "text": "Before jacking up the car, loosen the lug nuts on the flat tire by turning counterclockwise.",
      "image": "https://example.com/images/loosen-lugnuts.jpg"
    },
    {
      "@type": "HowToStep",
      "name": "Jack up the vehicle",
      "text": "Place the jack under the vehicle frame near the flat tire and raise the vehicle until the tire is 6 inches off the ground.",
      "image": "https://example.com/images/jack-up.jpg"
    },
    {
      "@type": "HowToStep",
      "name": "Replace the tire",
      "text": "Remove the flat tire, mount the spare, and hand-tighten the lug nuts in a star pattern.",
      "image": "https://example.com/images/mount-spare.jpg"
    }
  ]
}
</script>

Frequently Asked Questions

Simply enter your data, click the process button, and get instant results. All processing happens in your browser for maximum privacy and security.

Yes! Schema.org Generator is completely free to use with no registration required. All processing is done client-side in your browser.

Absolutely! All processing happens locally in your browser. Your data never leaves your device, ensuring complete privacy and security.