Recipe Schema Generator — Show Ingredients, Steps, and Timing
Generate valid Recipe JSON‑LD in minutes. Clarify ingredients, step‑by‑step instructions, and times to improve recipe understanding and eligibility.
Why many recipe pages underperform
Pain points we solve
- Images are too small or missing, limiting rich display eligibility.
- Ingredients and steps aren’t structured, causing validator warnings.
- Cook/prep/total times are missing or not in ISO 8601.
- Ratings and nutrition are inconsistent across recipes.
How SwiftSchema helps
Solution
The Recipe generator guides you through the essentials: name, high‑quality image(s), ingredients as strings, and ordered HowToStep instructions with clear, concise text.
It supports timing fields using ISO 8601 durations, yields, optional nutrition, and AggregateRating when you have policy‑compliant reviews. The output is copy‑ready per recipe.
How it works
How it works
- Choose Recipe in the generator below.
- Enter recipe name and at least one high‑quality image URL (≥1200px width).
- Add ingredients as a list of strings with explicit measurements.
- Provide instructions as HowToStep items in order, each with a `text` value.
- Include prep, cook, total times as ISO 8601 durations; add yield and optional nutrition.
- Copy JSON or Script, paste into your recipe page, and validate in the Rich Results Test.
Paste once per recipe. Validate. Ship.
What is Recipe structured data?
Recipe structured data describes ingredients, step‑by‑step instructions, and timing details so search engines can better understand and present your recipe. Accurate markup helps your pages qualify for recipe‑rich experiences when eligible.
Essential properties to include
- nameanddescriptionmatching the on-page recipe.
- image[]with at least one high-quality photo (≥1200px width).
- recipeIngredient: clear, measured ingredients as strings.
- recipeInstructions: orderedHowToStepitems with concisetext.
- prepTime,cookTime,totalTime: ISO 8601 durations.
- recipeYield: servings or output quantity.
- recipeCategoryandrecipeCuisine: classification context.
- Optional: nutrition(calories and macros),video,aggregateRating,keywords.
Preparing recipe content before generating schema
- Write ingredients with exact units and prep notes (e.g., “1 cup onions, diced”).
- Create clear steps; keep one action per HowToStepand note temperatures/timings.
- Capture prep/cook/total times and yields; convert them to ISO 8601.
- Gather hero and step images; ensure alt text is descriptive.
- Collect nutrition facts and author attribution; ensure they match on-page copy.
- If you have video, confirm stable URLs, duration, and thumbnails.
Additional modeling tips
- Use HowToSectionwhen grouping steps (e.g., Dough, Filling, Assembly).
- Add suitableForDietif your recipe fits a dietary pattern (e.g., VeganDiet).
- Include supply/toolonly when they add clarity; keep lists concise.
- If you support variations (gluten-free swap), mention them in instructions or notes.
On-page parity checklist
- Title, description, and hero image on-page match name,description, andimage.
- Ingredient list and steps match recipeIngredientandrecipeInstructionsorder.
- Times and yields shown on-page match prepTime/cookTime/totalTimeandrecipeYield.
- Ratings/reviews displayed match aggregateRatingvalues and counts.
- Nutrition values on-page align with nutritionentries; units are clear.
- Video player (if present) matches video.contentUrl/thumbnailUrl.
Common Errors & Fixes
- Images too small: aim for ≥1200px width; use WebP/JPEG.
- Unstructured instructions: use HowToStepwithtextfor each step.
- Missing durations: use ISO 8601 times (e.g., PT15M,PT1H).
- Missing yield: include servings or output quantity.
- Hidden ratings: only include AggregateRating if ratings appear on the page.
- Mixed units: keep ingredient units consistent; avoid vague quantities.
Maintenance and QA
- Revalidate after redesigns, image swaps, or ingredient changes.
- Keep datePublished/dateModifiedcurrent when updating recipes.
- Run image checks to ensure all referenced assets are accessible to crawlers.
- Audit quarterly for times/ingredients consistency and remove stale ratings if reviews change.
Images and video best practices
- Provide multiple imageURLs (hero, plated dish, process shots) with alt text.
- If you include video, add VideoObjectwithcontentUrl,thumbnailUrl,duration, anduploadDate; keep the player visible on the page.
- Ensure CDNs don’t block crawlers; test assets with URL Inspection.
Dietary, allergy, and variation notes
- Add dietary labels (vegan, gluten-free) in copy and consider suitableForDietwhen accurate.
- Include allergy callouts (contains nuts/soy) and safe substitutions.
- Provide variation notes (spicy/low-sodium options) and keep them near the relevant steps.
Testing and governance
- Create a pre-publish checklist: validate ISO times, ingredient counts, and that every step is structured.
- When editors change ingredients or steps, update schema, nutrition, and times together.
- Centralize recipe data in your CMS so schema, UI, and feeds stay in sync.
- Keep sourcing notes (local, organic) and storage/leftover guidance in copy to increase usefulness.
- Add author bios or test-kitchen notes to reinforce expertise; align author data with Person schema on the page.
- Link to related recipes (sides, toppings) and build collections so each page has substantial internal context.
- Include equipment notes (pan size, thermometer use) and substitutions for common dietary needs to avoid thin, generic steps.
- For multi-language sites, add inLanguageand ensure translations keep measurements and temperatures accurate (convert units when needed).
- Provide serving suggestions and make-ahead/freezer guidance in copy; align with any timing notes in schema.
- Add allergy disclaimers or cross-contact notes when relevant to increase trust and utility.
- Offer troubleshooting tips (too dry, not browned) to improve usefulness and on-page depth.
- Keep lastReviewedupdated after each recipe retest or photo refresh.
Required properties
nameimagerecipeIngredientrecipeInstructions
Recommended properties
descriptionauthor.namedatePublishedprepTimecookTimetotalTimerecipeYieldrecipeCategoryrecipeCuisineaggregateRating.ratingValueaggregateRating.ratingCountnutrition.caloriesvideo
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Lemon Garlic Roasted Chicken",
"image": [
"https://example.com/images/lemon-garlic-chicken.webp"
],
"description": "Tender roasted chicken with bright lemon and garlic.",
"author": {
"@type": "Person",
"name": "Jamie Example"
},
"datePublished": "2025-05-01",
"recipeYield": "4 servings",
"prepTime": "PT15M",
"cookTime": "PT45M",
"totalTime": "PT1H",
"recipeCategory": "Dinner",
"recipeCuisine": "American",
"recipeIngredient": [
"1 whole chicken (about 3.5 lb)",
"2 lemons",
"4 cloves garlic, minced",
"2 tbsp olive oil",
"1 tsp salt",
"1/2 tsp black pepper"
],
"recipeInstructions": [
{
"@type": "HowToStep",
"text": "Preheat oven to 425°F (220°C)."
},
{
"@type": "HowToStep",
"text": "Pat chicken dry and rub with olive oil, garlic, salt, and pepper."
},
{
"@type": "HowToStep",
"text": "Stuff cavity with halved lemons; roast until juices run clear (about 45 minutes)."
}
],
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.7",
"ratingCount": "256"
}
}