Recipe Schema Generator

Enter your recipe once and get valid Recipe JSON-LD: prep, cook, and total times as ISO 8601 durations, ingredients as an array, instructions as discrete HowToStep objects, plus nutrition and ratings when you have them.

Total time: 30 minutes (calculated automatically)

     

    Where to paste this

    Copy the whole block, script tags included, and paste it anywhere in the HTML of the recipe page itself, the page where the full recipe is published. The markup must describe the recipe that visitors can read on that URL. Category pages and roundups should not carry full Recipe markup for recipes that live elsewhere.

    How the times and steps are encoded

    Schema.org times use ISO 8601 durations, so 30 minutes becomes PT30M and 90 minutes becomes PT1H30M. The generator converts your minute inputs and computes totalTime as the sum of prep and cook. Instructions are emitted as an array of HowToStep objects, one per line you enter, which preserves the step boundaries Google uses for guided cooking and step-by-step displays. Ingredients become the recipeIngredient array, one string per line, quantities included.

    What moves you into the carousel

    Name and image get you eligible. The recipe carousel and the richest treatments tend to go to pages that also carry times, yield, ratings, nutrition, and ideally video, because Google can render a fuller card from them. Fill in everything you genuinely have. Skip what you do not: an honest partial markup beats invented values, and ratings in particular must come from real users.

    Frequently asked questions

    Which properties are required for recipe rich results?

    Only name and image are strictly required. Everything else, including times, ingredients, instructions, ratings, video, and nutrition, is recommended. The recommended set is what raises your eligibility for the recipe carousel and richer treatments, so the practical answer is: required gets you in the door, recommended gets you the carousel.

    How should I format the instructions?

    One discrete action per step, each as its own HowToStep object, which is exactly what this generator produces from one line per step. A single text blob technically validates but loses the per-step structure Google uses for guided cooking experiences on Assistant and in some rich results. Keep each step short and start with the verb.

    Do recipe star ratings need real reviews?

    Yes. The same review policy that applies to products applies to recipes: the aggregateRating must reflect genuine ratings collected from your users and visible on the page. Inventing a 4.9 average with no rating mechanism on the page risks a structured data manual action that removes rich results across your whole site.

    Does adding a video to my recipe help?

    Yes. A recipe with a VideoObject can appear in video features and recipe features at the same time, which multiplies your surfaces in results. Google specifically supports video as a recommended Recipe property, and recipe videos feed the guided cooking experience as well.