Description & Example
By adding @type="Recipe"
structured data, search engines can display
cooking times, ingredient lists, and star ratings as rich snippets. This attracts
more attention to your recipe pages, potentially increasing click-through rates.
Example of minimal JSON-LD output for “Chocolate Chip Cookies”:
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Chocolate Chip Cookies",
"description": "Classic homemade cookies with gooey chocolate chips.",
"image": "https://example.com/photos/cookies.jpg",
"author": {
"@type": "Person",
"name": "Jane Smith"
},
"prepTime": "PT15M",
"cookTime": "PT10M",
"totalTime": "PT25M",
"recipeYield": "24 cookies",
"recipeIngredient": [
"2 cups flour",
"1 cup sugar",
"1 cup chocolate chips"
],
"recipeInstructions": [
{
"@type": "HowToStep",
"name": "Preheat oven",
"text": "Preheat oven to 350F (175C)."
},
{
"@type": "HowToStep",
"name": "Combine ingredients",
"text": "Mix flour, sugar, and chips in a bowl."
}
]
}
Copy the generated code above into a
<script type="application/ld+json">
tag on your recipe page
to help search engines parse it.