Recipe Schema Markup
Generate Recipe JSON-LD for Google's recipe rich results — including cook time, ingredients, nutrition facts, and star ratings in search.
What valid Recipe JSON-LD looks like
A complete, validator-ready example — drop it in your <head>, swap the values for yours, and you're done.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Classic Chocolate Chip Cookies",
"author": {
"@type": "Person",
"name": "Jane Smith"
},
"image": "https://yoursite.com/cookies.jpg",
"description": "Crispy on the outside, chewy on the inside.",
"prepTime": "PT15M",
"cookTime": "PT12M",
"recipeYield": "24 cookies",
"recipeIngredient": [
"2 cups flour",
"1 cup butter",
"1 cup sugar"
],
"recipeInstructions": "Preheat oven to 375°F. Mix dry ingredients. Cream butter and sugar...",
"nutrition": {
"@type": "NutritionInformation",
"calories": "180 calories"
}
}
</script>Run a full CrispAudit on your URL
Schema, cookies (GDPR/CCPA), accessibility, SEO — plus AI-generated fixes populated with your page's actual content. Free.
Required fields
nameimageauthor
Recommended fields
recipeIngredientrecipeInstructionscookTimeprepTimenutritionaggregateRating
Common Recipe schema errors
- ✗image missing — required for recipe rich results
- ✗cookTime not in ISO 8601 format
- ✗recipeInstructions is plain text instead of HowToStep array
- ✗Missing recipeYield
Generate Recipe schema
Fill in the fields below to generate valid JSON-LD you can paste directly into your page.
Recipe schema — frequently asked questions
Is image required for Recipe rich results?
Yes — Google requires at least one image for recipe rich results. The image should be of the finished dish and at least 1200px wide.
How do I format cook time?
Use ISO 8601 duration: PT20M for 20 minutes, PT1H for 1 hour. Google displays this as human-readable time in rich results.
Can I add nutrition information?
Yes — use the NutritionInformation type with calories, fatContent, proteinContent etc. This data may appear in recipe rich results.
Other schema types
Audit your full schema coverage
CrispAudit checks all schema types at once — get a complete score and fix-it report for any URL.
Run free audit →