Recipe Schema Generator
Create valid Recipe JSON-LD structured data for your recipes — with ingredients, steps, times and yield, ready for Google's recipe rich results and carousels. Instant, in your browser, free.
Try an example
Recipe details
Times (optional)
Ingredients
Instructions
JSON-LD code
Fill in the required fields (name, description, image) to generate the JSON-LD code.
Why Recipe schema matters
Recipe structured data tells Google that a page is a recipe and captures its key facts — the title, image, ingredients, steps, times and yield. Valid Recipe markup makes your page eligible for the most prominent recipe treatments in search: the recipe rich result with a photo, star rating and cook time, and the visual recipe carousel that appears at the top of results for dishes. For food blogs and recipe sites this is transformative, because a card with an appetizing image and a clear time draws far more clicks than a plain link. It also feeds AI assistants the structured facts they need to summarize and recommend your recipe. It works for free — just valid markup on an indexable recipe page.
Ingredients, steps and the time format
A strong recipe markup lists each ingredient separately in the recipeIngredient array and each step as a HowToStep in recipeInstructions — this tool builds both from simple add/remove lists, and filters out any empty rows automatically. Times must be given in ISO 8601 duration format, which is easy to get wrong by hand. Instead you just type hours and minutes into separate boxes — for example 1 and 15 for the cook time — and the tool converts them into the correct PT1H15M string for you. Provide a prep time, a cook time, or both. Adding an image, a yield and a category on top makes your recipe far more likely to earn a rich result.
How to add the schema to your site
Copy the generated code and paste it into a script tag of type application/ld+json in the head section of the recipe page it describes — one recipe per markup block. The name, image, ingredients and steps in the markup must match what visitors see on the page. A minimal example looks like this:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Classic Margherita Pizza",
"description": "A simple, authentic Neapolitan pizza.",
"image": "https://www.example.com/pizza.jpg",
"prepTime": "PT20M",
"cookTime": "PT1H15M",
"recipeIngredient": [
"200g flour",
"150g tomato"
],
"recipeInstructions": [
{
"@type": "HowToStep",
"text": "Knead the dough and let it rest."
}
]
}
</script>Frequently asked questions
Which fields are required for Recipe schema?
How does the time format work?
How are the cooking steps marked up?
Do empty ingredients or steps appear in the code?
How do I validate the markup?
What is Recipe schema markup?
Can I list multiple recipes on one page?
Does Recipe schema work for drinks or cocktails too?
Should I include nutrition information?
Can I combine Recipe schema with HowTo schema?
Does valid Recipe markup guarantee a rich result or carousel placement?
What are common mistakes when adding Recipe schema?
Related tools
FAQ Schema Generator
Generate FAQPage JSON-LD for AI search and structured Q&A data.
Article & Blog Posting Schema Generator
Generate Article, Blog Posting or NewsArticle JSON-LD for your posts.
Video Schema Generator
Generate VideoObject JSON-LD for video rich results and AI search.
Job Posting Schema Generator
Generate Job Posting JSON-LD to get your job openings into Google for Jobs.
Course Schema Generator
Generate Course JSON-LD for online and in-person courses and e-learning.
Schema Markup Validator
Validate a live URL or JSON-LD code: SEO score, errors, warnings and rich-results readiness.
