← Docs
SEO

Recipe: Schema.org JSON-LD writer

Generate valid JSON-LD structured data for recipes so Google serves rich snippets.

Why it matters

Recipe rich results drive 2–3× higher CTR. Without JSON-LD, your recipe pages are invisible to Google's recipe carousel, guided recipes, and voice-assistant queries.

Minimal valid payload

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Sourdough Boule",
  "image": ["https://cdn.example.com/boule.jpg"],
  "author": { "@type": "Person", "name": "Maya" },
  "datePublished": "2026-01-15",
  "description": "Crisp crust, open crumb.",
  "prepTime": "PT30M",
  "cookTime": "PT45M",
  "totalTime": "PT15H",
  "recipeYield": "1 loaf",
  "recipeIngredient": [
    "500g bread flour",
    "350g water",
    "100g levain",
    "10g salt"
  ],
  "recipeInstructions": [
    { "@type": "HowToStep", "text": "Autolyse flour and water 1 hr." },
    { "@type": "HowToStep", "text": "Mix in levain and salt." }
  ],
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "2100 kcal"
  }
}
</script>

Required fields

  • name — exact recipe title
  • image — array of absolute URLs
  • recipeIngredient — string array
  • recipeInstructions — HowToStep array

Testing

Paste your URL into Google Rich Results Test or validate raw JSON-LD with the Schema Markup Validator.