درحال‌حاضر صفحه درخواستی به زبان شما دردسترس نیست. می‌توانید زبان دیگری را در انتهای صفحه انتخاب کنید یا بااستفاده از ویژگی ترجمه داخلی Google Chrome هر صفحه وبی را فوراً به زبان انتخابی‌تان ترجمه کنید.

Rich Results Test

Put structured data on your page to enable special features in Google Search results, then test it with the Rich Results test.

Open the Rich Results test

Run the test

For a URL

Submit the full URL of the page to test.

Important: All page resources must be accessible by an anonymous user accessing the code from the internet. Any resources that are behind a firewall or password-protected will not be available to the test. If your page is behind a firewall or hosted on your local machine, you can test it by exposing a tunnel.
For a code snippet You can test an arbitrary code snippet using this tool. In the tool landing page, choose Code instead of URL for the test, then paste the code to be tested. You can modify the code and rerun the test by clicking Run test as often as you like.
Optionally choose a user agent You can choose which user agent to use when testing your page: that is, test your page with a smartphone or a desktop computer. Choose a user agent from the list below the URL or code entry textbox. The default user agent is smartphone, as this is how the majority of users browse the web today.

 

Supported structured data formats

The Rich Results test supports structured data in JSON-LD, RDFa, and Microdata

Comment support in code blocks
The Rich Results test tool ignores comments within JSON-LD blocks. However, that behavior is not supported by the JSON-LD standard and so might result in errors in actual usage. Be sure to remove any comments from JSON-LD before publishing your final page.

Review the results

The test shows which rich result types were found on the page, as well as any errors or suggestions for your structured data.

If there are errors or warnings, expand the individual item to see details, and click the description to open the code explorer in the corresponding location. The explorer uses the rendered source code.

The test results cover the following areas:

URL status

The tool can report any the following status values for a tested URL where N depends on the number of items found.

  • No significant availability issues icon N valid item(s) detected
  • No items detected
  • N valid item(s) with warnings detected
  • N valid items detected: All have warnings
  • N valid items detected: Some have warnings
  • N items detected: Some are invalid
  • N invalid item(s) detected
  • URL cannot be crawled
  • Structured data with syntax errors detected

Crawling

This section describes whether Google is permitted to crawl the page. If Google is prevented from crawling the page as part of its regular crawl cycle (for example, is prevented from crawling by a robots.txt rule or noindex directive), the page cannot be tested with this tool.

  • Crawled successfully / Crawl failed: A "crawled successfully" message means that Google was able to access a page, while a "crawl failed" message means that Google was unable to access a page.
  • Crawled as: Shows the type of user agent used for the crawl (smartphone or desktop)
  • Crawl allowed? Tests whether a robots.txt rule on the site prevents this page from being crawled.
  • Page fetch: Whether the page could be fetched by the test. If crawling failed, this will always fail.

Detected Items / Detected structured data

Whether any structured data items were found on the page. If structured data was found but could not be parsed, that will be indicated here. Any items found, whether good, with warnings or errors, or unparseable, will be listed here, along with a description of the item and any issues.

Errors

Supported rich result types

This test currently supports the following rich result types:

Save test history

Search Console saves your code and test state each time you run the test. To save a version history of your code and tests, bookmark the page URL after running a test. Test history is saved for approximately 90 days. These bookmarks are accessible by anyone.

Share test results

You can use the Share button to share the test results browser link with anyone; permissions are not required to view the results. Test result links are valid for approximately 90 days.

See how your page might look in Google Search results

For some rich result types you can preview how the result might appear in Google Search or Google Assistant. If your page is eligible for multiple Search result layouts, this tool will include selectors to let you view the different layouts, including layouts for desktop and mobile searches.

You can experiment with your page by changing the code and rerunning the test to generate new layouts. You can share the URL in your browser with other users to share your rendered results.

Depending on what the tool finds on the page, you can choose a result type to view and select a desktop or mobile version.

Google does not guarantee that your page will appear exactly as shown here, or that any of the views shown will be applied to your page result; Google tries to show the best result for a search request, based on the user's search history, location, and many other variables.

More structured data resources

Here are some more resources about structured data and Google Search result features:

Was this helpful?

How can we improve it?
5736992564707279615
true
Search Help Center
true
true
true
true
true
83844
false
false
Search
Clear search
Close search
Main menu
false