Home / Free tools / Recipe JSON-LD generator
Recipe JSON-LD generator: schema for a recipe page
Fill in the recipe as it appears on the page. The tool writes a schema.org Recipe block you can paste into the page, and it lists fields that rich-result testers usually expect. The markup must match the visible recipe — do not mark up a dish you do not show.
How to use it
- Use the same wording as the page. If the heading says one name and the markup another, testers will treat it as mismatch.
- Give at least one real image URL. Recipe rich results typically expect a photo that is on the page.
- Write ingredients and steps as the reader sees them. One ingredient or one step per line is enough; the tool wraps steps as HowToStep.
- Paste the script into the live page and test it. A generator cannot see whether the rest of the page agrees.
Recipe markup only helps when it is honest
Search engines that offer recipe rich results look for a schema.org Recipe with a name, images, ingredients and instructions that match the page. Invented ratings, “5-star” aggregates, or nutrition figures you did not calculate are a good way to get the markup ignored. Times should be ISO 8601 durations (PT30M for 30 minutes); this tool writes those from a minute count.
After you paste the script
- View the published page and confirm the visible recipe still matches.
- Run a rich-results or schema tester on the URL, not only on the snippet.
- If you also care about AI crawlers and an llms.txt file, that is a separate job — the generators and the AI Search Readiness Kit on this site cover it.
If you want a weekly plan and a grocery list rather than page markup, Paperjoy’s Meal Planner & Grocery Kit is a printable for the week itself. You can also start from the meal plan prompt generator.
Worked example
This is what the tool produces for the sample input, so you can see the result without running it.
Input
Rolled oats soaked overnight in milk, topped with berries and a spoon of yoghurt.
Result
5 ingredients, 4 steps. Total time marked up as PT10M. Copy the script block into the recipe page, or download the JSON.
The markup must match the visible recipe: same name, ingredients, steps and times. Do not add reviews, ratings or nutrition you did not measure. After publishing, test the URL in Google’s Rich Results Test. This page does not submit anything.
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Overnight oats with berries",
"description": "Rolled oats soaked overnight in milk, topped with berries and a spoon of yoghurt.",
"author": {
"@type": "Person",
"name": "Sam Chen"
},
"url": "https://example.com/recipes/overnight-oats",
"image": "https://example.com/images/oats.jpg",
"prepTime": "PT10M",
"cookTime": "PT0M",
"totalTime": "PT10M",
"recipeYield": "2 jars",
"recipeCategory": "Breakfast",
"keywords": "oats, breakfast, make-ahead",
"recipeIngredient": [
"80 g rolled oats",
"200 ml milk",
"1 tbsp yoghurt",
"A handful of berries",
"1 tsp honey"
],
"recipeInstructions": [
{
"@type": "HowToStep",
"position": 1,
"text": "Divide the oats between two jars."
},
{
"@type": "HowToStep",
"position": 2,
"text": "Pour over the milk and stir in the honey."
},
{
"@type": "HowToStep",
"position": 3,
"text": "Cover and refrigerate overnight."
},
{
"@type": "HowToStep",
"position": 4,
"text": "Top with yoghurt and berries in the morning."
}
],
"nutrition": {
"@type": "NutritionInformation",
"calories": "280 calories"
}
}
</script>Frequently asked questions
Will this make my recipe appear in Google’s recipe carousel?
No tool can promise that. Complete, matching markup is one input; eligibility and placement are up to the search engine.
Should I include AggregateRating?
Only if you collect real reviews and can show them. This generator does not add ratings.
Can I add video or nutrition?
Paste more fields into the JSON after you copy it if you have real data. The calories box is optional and should reflect a figure you stand behind.
Is my recipe uploaded?
No. The JSON is built in your browser.
More free tools
- Product JSON-LD generator: Generate valid schema.org Product JSON-LD with an Offer: name, image, SKU, brand, price, currency and availability. No fake review fields, by design.
- JSON-LD validator: Paste JSON-LD or a whole HTML page. Checks syntax and the commonly required properties for Product, Offer, Article, FAQPage, Organization and more.
- AI meal plan prompt generator: Turn household size, diet, allergies, time and cuisine into a ready-to-paste prompt for ChatGPT, Claude, Gemini or Grok. Private, in your browser.