Structured data is becoming increasingly important as Google spends in making search results more complex and aesthetically appealing. Fortunately, you can include structured data on your website for free (and with little technical know-how).
Many SEO-related websites have created free rich snippet generator tool which is also known as schema.org generator that handle the heavy lifting for you. All you have to do is provide the necessary information and then paste the matching code into your website.
What is Schema.org structured data?
Schema.org (also known as schema) is a semantic vocabulary of tags (or microdata) that you may use in your HTML to improve how search engines interpret and display your page in SERPs.
Schema.org is the product of a cooperation by Google, Bing, Yandex, and Yahoo! to assist you in providing the information their search engines require to comprehend your content and offer the best search results at this moment. By including schema markup into your HTML, you may improve the way your page appears in SERPs by increasing the rich snippets that appear beneath the page title.
What is the Impact of Structured Data on Search Rankings?
The impact of structured data on rankings has been the topic of much debate and experimentation. There is no solid proof that this markup helps ranks as of yet. However, there is some evidence that search results containing more elaborate rich results snippets (such as those built with schema) will have a higher click-through rate. Experiment with schema markup to observe how your audience reacts to the resultant rich snippets for the best results. (Don't forget to use SEO Content Analysis tool to improve your SEO writing)
The distinction between Schema.org, microdata, and structured data
Structured data is a method of associating a name with a value that assists search engines in categorising and indexing your information. Microdata is a type of structured data that is compatible with HTML5. Schema.org is a project that offers an agreed-upon set of definitions for microdata tags.
The Free Schema Markup Generator Tool
This free Schema Markup Generator tool will help you quickly generate JSON-LD markup for Frequently Asked Questions (FAQ) pages, How-to articles, Job ads, Products, Events, People, etc based on Schema.org's standards.
The necessary attributes for Google's Rich results are incorporated automatically. That's why the tool generates the whole code stack required for a satisfying end result.
All you can do is choose the schema type for your webpage from the dropdown list and then start entering the required details one by one. The generated JSON-LD code will soon appear on the next box which can be copied and applied
The rich snippet generator tool currently supports the following schema types:
- Article
- Event
- FAQ page
- How-to Guides
- Job posting
- Local Business
- Organization Profile (Logo, Contact Address, Social Networks)
- Person schema
- Product and reviews
- Recipe
- Video
- Website's sitelink searchbox
- And more schema types supported by Google’s search gallery are coming soon
All of the major search engines (including Google, Bing, Yahoo!, and Yandex) support Schema and update the vocabulary often. The schema markup generated by this tool will be in the form of JSON-LD, which the major search engines support.
How to Implement Schema Markup on a Website?
After generating a JSON-LD markup of your chosen schema type, you can copy and paste the JSON-LD code into the <head></head> section of your webpage. For example:
<!DOCTYPE html>
<html>
<head>
<title>Schema Markup Generator | Walter Pinem Tools</title>
<!-- Your schema markup here -->
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Walter Pinem Tools",
"url": "https://walterpinem.me/projects/tools/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://walterpinem.me/projects/tools/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- End section of schema markup -->
</head>
<body>
<h1>Site Title</h1>
<p>Site content here.</p>
</body>
</html>
If you're using WordPress, you can add the JSON-LD markup using WordPress built-in hook functions. For example:
If you want to add the JSON-LD markup into the <head></head> section of your homepage or frontpage, you can use place the following code into your child theme's functions.php file:
<?php
function wpinem_tools_add_schema() {
if (is_home() || is_front_page()) {
?>
<!-- Your schema markup here -->
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Walter Pinem Tools",
"url": "https://walterpinem.me/projects/tools/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://walterpinem.me/projects/tools/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- End section of schema markup -->
<?php
}
}
add_action('wp_head', 'wpinem_tools_add_schema' );
Or if you want to apply the it into a specific single post, use the following code:
<?php
function wpinem_tools_add_schema() {
if (is_single('13')) {
?>
<!-- Your schema markup here -->
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Walter Pinem Tools",
"url": "https://walterpinem.me/projects/tools/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://walterpinem.me/projects/tools/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- End section of schema markup -->
<?php
}
}
add_action('wp_head', 'wpinem_tools_add_schema' );
Don't forget to change "13" with your actual post ID.
If you want it appears at a specific page, use the following code instead:
<?php
function wpinem_tools_add_schema() {
if (is_page('13')) {
?>
<!-- Your schema markup here -->
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Walter Pinem Tools",
"url": "https://walterpinem.me/projects/tools/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://walterpinem.me/projects/tools/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- End section of schema markup -->
<?php
}
}
add_action('wp_head', 'wpinem_tools_add_schema' );
Don't forget to change "13" with your actual page ID.
Else, if you want to add it into a specific custom post type, use the following code:
<?php
function wpinem_tools_add_schema() {
if (is_single('13') && 'books' == get_post_type() ) {
?>
<!-- Your schema markup here -->
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Walter Pinem Tools",
"url": "https://walterpinem.me/projects/tools/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://walterpinem.me/projects/tools/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- End section of schema markup -->
<?php
}
}
add_action('wp_head', 'wpinem_tools_add_schema' );
Don't forget to change "13" and "books" with your actual custom single post type and post ID.
Start Testing and Validating Your Structured Markup for Google Rich Results
As stated before that schema markup will help your webpage to be supported by Google Rich Results, after applying the markup into your webpage, it's time to validate it using the Google Rich Results Testing tool. If there's no issue, then it's good to go.