S SCHEMA.BIZ

Last updated:

Recipe Schema Generator

This recipe schema generator builds Recipe JSON-LD from a form as you fill it in. Enter the dish's name and photo, which Google requires, then the ingredients, the steps, the times, the servings and calories, and paste the script tag into the recipe's page.

Reference: Recipe schema

Recipe: Use for recipe pages to get rich results in Google Search showing cooking time, ratings, calories, and step-by-step instructions.

Basic Info
Timing
Ingredients
Steps
Nutrition
Reviews
Media

What Google shows for Recipe markup

  • Recipe: shown in Google Search; Google's last documented change was on June 5, 2025.
  • Review snippet: shown in Google Search; Google's last documented change was on July 24, 2026. Local businesses and organizations: only reviews of other businesses, not reviews they collect about themselves.

Recipe markup can earn a rich result in Google Search and Google Images: the photo of the dish, how long it takes and its rating, and on pages that list several recipes with ItemList markup, a carousel. Google requires only the name and an image; the time, servings, ingredients, steps and rating are recommended, and they're what make the result worth clicking.

The image in the markup is for the recipe result only. Google says it has no effect on which image a plain text result shows. Valid markup makes the page eligible, and Google still decides whether to show the rich result.

How to fill in each field

Name, description and servings

Name the dish as the page's heading does, such as Lemon Garlic Roast Chicken, and keep the description to a sentence or two about the dish itself. Cuisine is the region, such as Italian; Category is the course, such as Dessert. Keywords are for anything else, a season, a holiday or a diet, so don't repeat the cuisine or course there. Google wants Servings as just a number, so type 4 rather than Serves 4 people. Author is written as a Person with that name.

Times

Write each time as an ISO 8601 duration: PT20M is 20 minutes, PT1H15M is an hour and a quarter. Give Total Time, or Prep Time together with Cook Time; Google asks for one of those two, and never prep time on its own. The validation panel flags anything that isn't a duration, such as 20 min.

Ingredients and steps

Add one ingredient per entry, with its amount: 2 tbsp olive oil, 1 lemon, zested. Leave out section headings like For the glaze: and notes that send readers elsewhere. Add one step per entry as well; the generator numbers them and writes each as a HowToStep. A step says what to do, so the story behind the dish and the serving suggestions stay on the page, out of the markup.

Calories, ratings and the photo

Calories are per serving, such as 420 calories, and once you add them Servings becomes required. Fill in the rating fields only when your page collects and shows ratings from readers: Rating Value, Number of Ratings, and Best Rating if your scale doesn't go to 5. For the image, use a photo of the finished dish of at least 50,000 pixels (width times height); Google suggests 16:9, 4:3 and 1:1 versions, and the form takes one URL.

The form marks 5 fields as required and 10 as recommended:

  • Recipe Name (required): The name of the dish.
  • Description (required): A short summary of the recipe.
  • Ingredients (required): List each ingredient with its amount.
  • Instructions (required): Step-by-step cooking instructions.
  • Image URL (required): A URL to an image representing this item. Google recommends images be at least 1200px wide.
  • Cuisine (recommended): The type of cuisine (e.g. Italian, Mexican).
  • Category (recommended): The type of dish (e.g. Appetizer, Main Course, Dessert).
  • Servings (recommended): How many servings this recipe makes.
  • Author (recommended): Who created the recipe.
  • Prep Time (recommended): ISO 8601 duration for preparation (e.g. PT30M).
  • Cook Time (recommended): ISO 8601 duration for cooking (e.g. PT15M).
  • Total Time (recommended): ISO 8601 duration for total time.
  • Calories (recommended): Calories per serving.
  • Rating Value (recommended): The numeric rating (e.g. 4.5).
  • Number of Ratings (recommended): Total number of ratings.

Example: A roast chicken recipe with times, calories and a rating

This form filled in for a main course: cuisine, category and keywords, prep and cook times, four ingredients, four steps, calories per serving and a reader rating.

{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Lemon Garlic Roast Chicken",
  "description": "A whole chicken roasted over potatoes with lemon, garlic and thyme, ready in under ninety minutes.",
  "image": "https://kitchen.example/img/roast-chicken-16x9.jpg",
  "author": {
    "@type": "Person",
    "name": "Priya Raman"
  },
  "recipeCuisine": "American",
  "recipeCategory": "Main Course",
  "recipeYield": "4",
  "keywords": "Sunday dinner, one-pan, gluten-free",
  "prepTime": "PT15M",
  "cookTime": "PT1H10M",
  "totalTime": "PT1H25M",
  "recipeIngredient": [
    "1 whole chicken, about 1.8 kg",
    "800 g small potatoes, halved",
    "1 lemon, quartered",
    "6 cloves garlic, crushed"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "position": 1,
      "text": "Heat the oven to 220°C (425°F) and spread the potatoes in a roasting tin."
    },
    {
      "@type": "HowToStep",
      "position": 2,
      "text": "Put the lemon and half the garlic inside the chicken, rub the skin with salt, and set it on the potatoes."
    },
    {
      "@type": "HowToStep",
      "position": 3,
      "text": "Roast for 1 hour 10 minutes, scattering the rest of the garlic over the potatoes after 30 minutes."
    },
    {
      "@type": "HowToStep",
      "position": 4,
      "text": "Rest the chicken for 10 minutes before carving, and serve with the potatoes and pan juices."
    }
  ],
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "420 calories"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.7,
    "bestRating": 5,
    "ratingCount": 236,
    "reviewCount": 58
  }
}

5 common mistakes

  1. Times written in words. 20 minutes or 1 hr isn't a duration machines can read. Write PT20M and PT1H.
  2. Prep time on its own. Google reads prep time together with cook time. Fill in both, or give the total time.
  3. Headings and notes as ingredients. Each ingredient entry should be something you put in the dish, with its amount. Labels such as For the sauce: belong on the page.
  4. Calories with no servings. A calorie count means nothing without the number of servings it's for, so the validation panel asks for Servings as soon as Calories is filled in.
  5. The blog post in the steps. Instructions are only how to make the dish. The story of the recipe, tips and "Enjoy!" stay out of them.

How to test your Recipe markup

Open the code in the Schema Validator first: it tells you whether the recipe qualifies and flags durations or ratings it can't read. When the page is live, test its URL in Google's Rich Results Test, then check Search Console for recipe issues after Google crawls the page.

Frequently Asked Questions

Do I have to fill in the rating fields?

No. Google lists aggregateRating as recommended, not required. If your page has no ratings from readers, leave Rating Value empty and the generator writes no rating at all.

How do I write prep and cook times?

As ISO 8601 durations, starting with PT: PT45M for 45 minutes, PT2H for two hours, PT1H30M for an hour and a half. A recipe that takes days, such as one with an overnight rise, can use days: P1DT2H.

Can I add a video or a publish date?

Not in the form: it has no field for video or datePublished, though Google recommends both. Add them to the copied code, with the date in ISO 8601 format, then paste the result into the Schema Validator to check it.

Other schema generators