Prompt Library Schema Markup Generator

Schema Markup Generator

SEO

Enhance your site's visibility with schema markup, making it easier for search engines to understand your content.

Example

Input prompt
Generate schema markup for a pizza recipe page.
Result from enhanced prompt

Here is the JSON-LD schema markup for the "Easy Homemade Margherita Pizza" recipe page:

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Recipe",
  "name": "Easy Homemade Margherita Pizza",
  "image": [
    "https://example.com/photos/1x1/photo.jpg",
    "https://example.com/photos/4x3/photo.jpg",
    "https://example.com/photos/16x9/photo.jpg"
  ],
  "author": {
    "@type": "Person",
    "name": "John Smith"
  },
  "datePublished": "2023-05-01",
  "description": "This classic Margherita pizza features a crispy crust, fresh mozzarella cheese, ripe tomatoes, and fragrant basil leaves. It's an easy and delicious homemade pizza that's perfect for any occasion!",
  "prepTime": "PT15M",
  "cookTime": "PT15M", 
  "totalTime": "PT30M",
  "keywords": "margherita pizza, homemade pizza, easy pizza recipe",
  "recipeYield": 4,
  "recipeCategory": "Main Course",
  "recipeCuisine": "Italian",
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "350 calories",
    "fatContent": "12 grams",
    "carbohydrateContent": "47 grams",
    "proteinContent": "16 grams"
  },
  "recipeIngredient": [
    "1 pound pizza dough",
    "1/2 cup pizza sauce",
    "8 ounces fresh mozzarella cheese, sliced",
    "1/4 cup grated Parmesan cheese",
    "1/2 teaspoon dried oregano",
    "1/4 teaspoon garlic powder",
    "1/4 teaspoon salt",
    "2 roma tomatoes, thinly sliced",
    "8-10 fresh basil leaves"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "text": "Preheat the oven to 450°F (230°C). Grease a large baking sheet or pizza pan."
    },
    {
      "@type": "HowToStep",
      "text": "On a lightly floured surface, roll out the pizza dough into a 12-inch circle. Transfer to the prepared pan." 
    },
    {
      "@type": "HowToStep",
      "text": "Spread the pizza sauce evenly over the dough, leaving a 1/2-inch border. Arrange the mozzarella slices on top. Sprinkle with Parmesan, oregano, garlic powder, and salt."
    },
    {
      "@type": "HowToStep",
      "text": "Top the pizza with tomato slices and bake for 12-15 minutes, until the crust is golden and the cheese is melted and bubbly."  
    },
    {
      "@type": "HowToStep",
      "text": "Remove from the oven and top with fresh basil leaves. Slice and serve immediately."
    }
  ],
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "ratingCount": "50"
  }
}
</script>

This schema markup includes:

  • The Recipe schema type with all required properties like name, image, author, datePublished, description, recipeIngredient, recipeInstructions, and recipeYield
  • Additional recommended properties like prepTime, cookTime, totalTime, keywords, recipeCategory, recipeCuisine, and nutrition to provide more details about the recipe
  • An AggregateRating with the average review rating value and count
  • Proper JSON-LD formatting with the <script> tag and @context
  • Multiple image sizes for the recipe photo
  • Step-by-step instructions in the recipeInstructions property

This comprehensive schema markup should help this recipe page gain maximum visibility in search results, recipe carousels, and voice search.