Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Free tool

Recipe Schema Generator: Free Recipe JSON-LD

Fill in your ingredients, steps and times, then copy valid Recipe JSON-LD you can paste straight into your page, free.

Home / Tools / Recipe Schema Generator
Your Recipe JSON-LD

Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies

Recipe schema is the structured data that lets Google show a recipe as a rich result: a thumbnail, total time, star rating and ingredient count, right in the search results before anyone clicks through. This generator turns a plain form into valid Recipe JSON-LD, including converting your prep and cook times into the ISO 8601 duration format Google expects, without you needing to write any of it by hand.

What Recipe schema covers

The Recipe type carries a name, description, image, author, prep and cook time, yield, ingredients, step-by-step instructions, and optional fields like category, cuisine and an aggregate rating. Google uses these fields to build the recipe carousel and rich snippet, and food-focused AI answer engines rely on the same structured ingredient and step data when they summarize or cite a recipe.

Why times need a specific format

prepTime, cookTime and totalTime all use ISO 8601 duration format rather than plain numbers, so 30 minutes has to be written as PT30M and one hour fifteen minutes as PT1H15M. Get this wrong and the field is often ignored or flagged as invalid by validators. This tool takes the minutes you type into two plain number fields, prep time and cook time, and converts each one into the correct duration string automatically, while also adding the two together for totalTime so you never have to do that math yourself.

Ingredients, instructions and images

List each ingredient on its own line and each instruction step on its own line. The generator turns the ingredient lines into a recipeIngredient array and the instruction lines into individual HowToStep entries, which is the structure Google expects to display numbered steps correctly. An image is required, not optional, for recipe rich results, and Google recommends it be at least 1000 pixels wide or tall, ideally closer to 1200 pixels, using a 1:1, 4:3 or 16:9 aspect ratio so it renders cleanly across devices. Leave the rating fields blank unless you have real reviews to report, since Google's guidelines explicitly prohibit fabricated or estimated ratings in structured data.

Related articles

FAQ

Recipe Schema Generator: questions, answered

What is Recipe schema used for?
Recipe schema is JSON-LD structured data that tells Google the ingredients, steps, cook time and yield of a recipe, which makes it eligible for recipe rich results and the recipe carousel, including star ratings, total time and a thumbnail image shown directly in search results.
How should I format prepTime, cookTime and totalTime?
These fields use ISO 8601 duration format, such as PT30M for 30 minutes or PT1H15M for one hour fifteen minutes. This tool converts the minutes you enter into that format automatically, so you never need to write it by hand.
Do I need to fill in every ingredient and instruction separately?
Yes, list one ingredient per line and one instruction step per line. The generator turns each ingredient line into a recipeIngredient entry and each instruction line into its own HowToStep, which is what Google expects for step-by-step display.
Is a recipe image required?
Yes. Google recommends recipe images be at least 1000 pixels wide or tall, ideally around 1200 pixels wide, in a 1:1, 4:3 or 16:9 aspect ratio, so they display cleanly across search, Discover and the recipe carousel.
What if I don't have a star rating yet?
Leave the rating fields blank. AggregateRating is optional, and submitting a fake or estimated rating violates Google's structured data guidelines, so only add it once you have real reviews to report.
Where do I add this code on my recipe page?
Paste the generated script tag into the page's head, or anywhere in the body if your CMS does not give you head access, then validate the live URL with Google's Rich Results Test before considering it live.

More free tools

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com