Free tool · No signup

Recipe Schema Generator

Generate Recipe JSON-LD — ingredients, steps and times for recipe rich results. The markup updates live as you type — copy it, paste it into your page, and you are eligible for rich results.

Details
Your JSON-LD
Fill the required fields to generate your markup live.

What is recipe schema markup?

Structured data is machine-readable code, written in the JSON-LD format Google recommends, that describes your page content to search engines explicitly instead of leaving them to guess. This generator builds that markup for you: enter your details once and it produces a valid schema.org snippet you paste into your page. Search engines like Google and Bing read it to understand your content and, when eligible, upgrade your listing to a rich result.

Rich results — star ratings, FAQ dropdowns, event dates, product prices and more — consistently earn higher click-through rates than plain blue links, which makes correct structured data one of the fastest, cheapest wins in technical SEO.

Why recipe schema matters for SEO

Recipe schema unlocks the most visual rich results in search — photo cards with cooking time, calories and star ratings in both standard results and Google’s recipe carousel. For food content, ranking without recipe markup is close to impossible.

How to use the recipe schema generator

  1. 1Fill in the fields — the JSON-LD builds live as you type.
  2. 2Click “Copy <script>” to copy the ready-to-paste markup.
  3. 3Paste it into the <head> of the page, then confirm it with our JSON-LD Validator and Google’s Rich Results Test.

Example recipe schema output

Here is exactly what this tool produces — valid, Google-ready JSON-LD generated from a realistic example:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Classic Chicken Karahi",
  "image": "https://example.com/img/chicken-karahi.jpg",
  "description": "A rich, spicy Pakistani chicken curry cooked in a traditional wok.",
  "prepTime": "PT20M",
  "cookTime": "PT40M",
  "recipeYield": "4",
  "recipeIngredient": [
    "1 kg chicken, cut into pieces",
    "4 tomatoes, chopped",
    "2 tbsp ginger-garlic paste",
    "1 cup yogurt",
    "Fresh coriander and green chillies"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "text": "Heat oil and brown the chicken on high heat."
    },
    {
      "@type": "HowToStep",
      "text": "Add ginger-garlic paste and tomatoes; cook until the oil separates."
    },
    {
      "@type": "HowToStep",
      "text": "Stir in yogurt and spices, then simmer for 20 minutes."
    },
    {
      "@type": "HowToStep",
      "text": "Garnish with coriander and green chillies and serve hot."
    }
  ],
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "520 calories"
  }
}
</script>

Frequently asked questions

What time format do prepTime and cookTime use?

ISO 8601 durations — PT20M means 20 minutes, PT1H30M means 1 hour 30 minutes.

Is an image required for recipe rich results?

Yes — Google requires at least one high-quality image, ideally in 16:9, 4:3 and 1:1 aspect ratios.

Will this markup guarantee rich results in Google?

No tool can guarantee rich results — Google decides eligibility per page based on content quality, policy compliance and overall site signals. What valid markup does is make your page eligible: without correct structured data you are not in the running at all. Combine it with visible matching content, a crawlable page and solid on-page SEO for the best chance.

Is the Recipe Schema Generator free to use?

Yes — the Recipe Schema Generator is completely free, with unlimited use, no signup and no email required. It is built and maintained by WebSoft IT Development Solutions.

How do I add the generated JSON-LD to my website?

Copy the generated <script type="application/ld+json"> block and paste it into the <head> (or anywhere in the HTML) of the page it describes. On WordPress use a header-scripts plugin or your theme settings; you can also inject it with Google Tag Manager. Then confirm it with our JSON-LD Validator and Google’s Rich Results Test.

More free SEO tools

SEO Score Checker →FAQ SchemaProduct SchemaOrganization SchemaLocal Business SchemaEvent SchemaJob Posting Schema