What is Recipe structured data, and how do you add it?
guide // , 5 min read, by Darthwares
Recipe structured data is a standardized format for providing information about a page and classifying its content. Google uses this structured data to understand your recipe content. By providing information about your recipes in this format, you can help Google better understand your content and present it to users in interesting ways. This data allows Google to present your recipes in engaging ways, such as rich results, which can encourage users to interact more with your website.
On this page // 7 sections
- 01What is Recipe structured data?
- 02How do you add Recipe structured data?
- 03What properties are important for Recipe structured data?
- 04What recommended properties enhance Recipe structured data?
- 05What are the guidelines for Recipe structured data?
- 06How do you monitor Recipe structured data performance?
- 07Common questions
The short version
- Recipe structured data helps Google understand your recipe content.
- It can make your recipes eligible for enhanced display, known as rich results, in Google Search.
- Google generally recommends JSON-LD as the easiest format to implement for Recipe structured data.
- Including details like cooking times, ingredients, and instructions helps Google present your recipe effectively.
- Always validate your structured data to ensure it is correctly implemented and eligible for rich results.
What is Recipe structured data?
Structured data is a standardized format for providing information about a page and classifying its content. For a recipe page, this includes details like ingredients, cooking time, and calories. Google uses structured data that it finds on the web to understand the content of the page and gather information about the web and the world in general.
Specifically, Recipe structured data is used for content about preparing a particular dish. By telling Google about your recipe with structured data, you help users find your content. When you provide information such as reviewer ratings, cooking and preparation times, and nutrition information, Google can better understand your recipe.
Adding structured data can enable search results that are more engaging to users, known as rich results. These rich results might encourage them to interact more with your website. Because the structured data labels each individual element of the recipe, users can search for your recipe by ingredient, calorie count, or cook time.
How do you add Recipe structured data?
To add Recipe structured data, you embed it directly into the HTML of your web page. Google recommends using JSON-LD, which is a JavaScript notation embedded in a script tag in the head or body section of your page. This format is generally the easiest to implement and maintain.
All three structured data formats, which include JSON-LD, Microdata, and RDFa, are equally acceptable for Google, as long as the markup is valid and properly implemented per the feature's documentation.
What properties are important for Recipe structured data?
For your recipe content to be eligible for display as a rich result in Google Search, you must include all required properties. These properties help Google understand the core components of your recipe and are necessary for enhanced display in Google Search.
The Schema.org `recipeIngredient` property describes an ingredient or an ordered list of ingredients, potentially including quantities, such as "1 cup of sugar" or "flour." These ingredients can be represented as free text or more structured values. The Schema.org `recipeInstructions` property details a step in making the recipe. This can be a single item, like a document or video, or an ordered list of steps or sections. Providing these details helps Google better understand your recipe and present it to users in interesting ways.
What recommended properties enhance Recipe structured data?
Beyond the essential properties, including recommended properties can further enhance how Google understands and presents your recipe. These details help Google present your content to users in more interesting ways.
Time-related properties are particularly useful. The Schema.org `prepTime` property specifies the length of time it takes to prepare the items used in the instructions. The `cookTime` property indicates the actual time needed to cook the dish. Both should be in ISO 8601 duration format. The `totalTime` property represents the entire duration required, including both preparation and cooking.
Other valuable properties include `suitableForDiet`, which enumerates common dietary restrictions covered by the recipe. The `keywords` property can also be used to add more detail, helping to classify the recipe further.
What are the guidelines for Recipe structured data?
To ensure your Recipe structured data is eligible to appear in Google Search results, you must follow the general structured data guidelines. A critical guideline is that you should not add structured data about information that is not visible to the user, even if the information is accurate. Similarly, do not create blank or empty pages solely to hold structured data.
After implementing your structured data, it is important to validate your code. The Rich Results Test is an easy and useful tool for validating your structured data, and in some cases, previewing a feature in Google Search. You should use this tool to fix any critical errors found in your markup.
How do you monitor Recipe structured data performance?
After adding Recipe structured data to your pages, you should validate it to ensure it is correctly implemented. The Rich Results Test is a useful tool for this purpose, allowing you to check for errors and sometimes preview how your recipe might appear in Google Search. It is important to fix any critical errors identified by this test.
To monitor how your pages perform in Google Search, including the display of rich results from your Recipe structured data, you can use Search Console. This tool helps you monitor how your pages perform in Google Search.
Common questions
What is the purpose of Recipe structured data?
Recipe structured data helps Google understand your recipe content, such as ingredients, cooking times, and nutrition information. This understanding allows Google to present your recipes in engaging ways, like rich results, making it easier for users to find your content.
What are rich results?
Rich results are enhanced search results that are more engaging to users. Adding structured data, such as Recipe structured data, can make your content eligible for these enhanced displays, which might encourage users to interact more with your website.
Which format should I use for Recipe structured data?
Google recommends using JSON-LD for structured data because it is generally the easiest format to implement and maintain. All three formats, JSON-LD, Microdata, and RDFa, are equally acceptable to Google as long as the markup is valid.
What should I do after adding Recipe structured data?
After adding Recipe structured data, you should validate your code using the Rich Results Test to identify and fix any critical errors. You can also use Search Console to monitor how your pages perform in Google Search and track the appearance of your rich results.
Can I add structured data for information not visible on the page?
No, you should not add structured data about information that is not visible to the user on the page, even if the information is accurate. You also should not create blank or empty pages solely to hold structured data.
Primary sources and further reading
This article was researched and written by an AI model and published automatically. It was written from sentences that were checked to appear on the pages below, but a person has not reviewed the text. If something is wrong, tell us at chibivikramathithan@darthwares.com and we will correct it.