Skip to content

Recipe Schema Generator - JSON-LD for Google Recipe Results

Import existing JSON-LD

Paste JSON-LD or a full <script> tag. Matching fields fill the form; properties the form doesn't cover are kept in the output as they are.

Recipe Details

Timing

hmin

Use the boxes, or type ISO 8601 (PT1H30M) or plain text like "1h 30m".

hmin

Use the boxes, or type ISO 8601 (PT1H30M) or plain text like "1h 30m".

hmin

Use the boxes, or type ISO 8601 (PT1H30M) or plain text like "1h 30m".

Classification

Ingredients & Instructions

Google Search Preview
example.com
Recipe Name
All Google requirements met

JSON-LD Output

What is Recipe schema?

Recipe schema is structured data that describes a recipe: the dish name, photos, ingredients, steps, cooking times, servings, and nutrition. It uses the schema.org Recipe type, with HowToStep items for the instructions. Google reads it to build recipe cards with a photo, rating, and total time.

Times use ISO 8601 durations, so 1 hour 15 minutes is written PT1H15M and 20 minutes is PT20M. If you don't want to write those by hand, the generator above has an hours and minutes helper that converts for you and warns when a value isn't a valid duration.

Recipe schema example (JSON-LD)

A complete example you can adapt. Paste it into the page's HTML, or build your own with the generator above.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "One-Pan Lemon Garlic Chicken Thighs",
  "image": [
    "https://example.com/recipes/lemon-chicken-1x1.jpg",
    "https://example.com/recipes/lemon-chicken-4x3.jpg",
    "https://example.com/recipes/lemon-chicken-16x9.jpg"
  ],
  "author": {
    "@type": "Person",
    "name": "Priya Natarajan"
  },
  "datePublished": "2026-02-11",
  "description": "Crispy chicken thighs roasted with lemon, garlic, and baby potatoes in one pan.",
  "prepTime": "PT15M",
  "cookTime": "PT40M",
  "totalTime": "PT55M",
  "recipeYield": "4 servings",
  "recipeCategory": "Dinner",
  "recipeCuisine": "Mediterranean",
  "keywords": "sheet pan dinner, chicken thighs, weeknight",
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "520 calories"
  },
  "recipeIngredient": [
    "8 bone-in chicken thighs",
    "700 g baby potatoes, halved",
    "1 lemon, sliced",
    "6 cloves garlic, smashed",
    "2 tbsp olive oil",
    "1 tsp dried oregano"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "text": "Heat the oven to 220°C (425°F)."
    },
    {
      "@type": "HowToStep",
      "text": "Toss the potatoes with half the oil, salt, and oregano, and spread them in a large roasting pan."
    },
    {
      "@type": "HowToStep",
      "text": "Rub the chicken with the remaining oil and season well. Place it skin side up on the potatoes."
    },
    {
      "@type": "HowToStep",
      "text": "Tuck the lemon slices and garlic around the chicken and roast for 40 minutes, until the skin is crisp."
    }
  ],
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.8,
    "ratingCount": 386
  }
}
</script>

Which Google rich result does it enable?

Recipe markup makes a page eligible for recipe rich results: a card with a large photo, star rating, total time, and sometimes calories, plus a place in the recipe carousel that appears for dish searches. Recipe results also show in Google Images. Only name and image are required, but cards with times, ratings, and ingredients tend to be the ones Google picks.

Unlike FAQ or HowTo results, recipe results are still shown for any site that qualifies, so the markup is worth adding on food sites. Google may also group several recipes from one site into a host carousel.

Required and recommended properties

Property Status Notes
name Required The name of the dish, not the blog post title.
image Required Photos of the finished dish, at least 50,000 pixels in area. Give 16x9, 4x3, and 1x1 versions.
recipeIngredient Recommended One string per ingredient, with the amount.
recipeInstructions Recommended One HowToStep per step.
prepTime + cookTime Recommended ISO 8601 durations. Use both together, or use totalTime instead.
totalTime Recommended ISO 8601 duration, such as PT55M.
recipeYield Recommended Servings or quantity. Needed if you give nutrition.calories.
aggregateRating Recommended Average rating and count from real reader ratings.
author, datePublished, description Recommended Author is a Person or Organization.
recipeCategory, recipeCuisine, keywords Recommended Help Google match the recipe to searches like "Mediterranean dinner".
nutrition.calories Recommended Calories per serving, as text like 520 calories.
video Recommended A VideoObject if the page has a recipe video.

Common Recipe schema mistakes

  • Writing times as plain text ("40 minutes") or clock format ("0:40"). Use PT40M.
  • Putting the whole method into one HowToStep. Split it into one step per action.
  • Marking up ingredients or steps that aren't on the page, such as a premium version behind a paywall.
  • Giving prepTime without cookTime. Google expects them as a pair, or totalTime alone.
  • Using a step-by-step photo or a person's portrait as the main image instead of the finished dish.
  • Using Recipe markup for content that isn't a recipe, such as a restaurant review or a list of kitchen gadgets.

Markup has to match the page

Every ingredient and step in the markup has to be on the page. A "jump to recipe" button is fine, since the recipe card is still in the HTML. A method that only appears after a click-to-load or behind a paywall is not. Ratings in aggregateRating must come from readers, so only add them if the page has a working rating form and the numbers match what it shows.

Related Tools

Frequently Asked Questions

Which Recipe fields does Google require?
Only name and image. recipeIngredient, recipeInstructions, the times, author, description and aggregateRating are recommended, and recipe cards without ingredients or times rarely get picked.
How do I format cooking times?
ISO 8601 durations: PT20M is 20 minutes, PT1H30M is an hour and a half. Give prepTime and cookTime together, or totalTime on its own. The generator accepts 1h 30m and converts it.
Do I need recipeYield?
It is recommended, and you need it if you give calories, because Google reads nutrition values as per serving. Write it as a number of servings, such as 4 servings.
How should I split the instructions?
One HowToStep per action, in the order a cook would follow. The generator makes a step for each row you add. One big step holding the whole method is valid but harder for Google to use.
Can I add ratings from my recipe plugin?
Yes, if readers rate the recipe on the page and the numbers in the markup match what the page shows. Don't add a rating that only exists in the markup.