How to add schema markup using JSON-LD

Join InfoPhilic Community!

Let's build a community to help & encourage each other to grow!

Using schema markup in your site help in increasing search engines’ understanding of your site’s content. Adding schema markup is nothing but adding enhanced description i.e., the rich snippet for your site to appear in search engines. explained,

“Most webmasters are familiar with HTML tags on their pages. Usually, HTML tags tell the browser how to display the information included in the tag. For example, <h1>Avatar</h1> tells the browser to display the text string “Avatar” in a heading 1 format. However, the HTML tag doesn’t give any information about what that text string means — “Avatar” could refer to the hugely successful 3D movie, or it could refer to a type of profile picture—and this can make it more difficult for search engines to intelligently display relevant content to a user.”

Although there are various ways to implement Schema Markup on your website.

I have even introduced one of them in my earlier article: How to Boost Your SEO by Using Schema Markup on Your Website?

Now, in this guide, I am going to guide you on JSON-LD implementation for Schema Markup on your Site. But, first, at all, let me introduce you to JSON-LD.

JSON-LD stands for JavaScript Object Notation for Linked Data. It is a method with, you can encode linked data using JSON. JSON is a format for interchanging lightweight data.

Using JSON-LD means providing a small block of JavaScript code that has all that info.

Why Use JSON-LD?

Previously, the Cumbersome method was used to add to your site. In this method, you have to add some code in markup that generally varied from page to page even if adding the same header for every page. This gets problematic sometimes.

Using JSON-LD collect overall data about your product and display it on a single and small piece of JavaScript. You can even push this code anywhere into the page. By doing this, you can independently work on a implementation.

Google even recommend using JSON-LD as it is the easiest way to add metadata to sites.

How to Add Schema Markup Using JSON-LD ?

JSON-LD comes in a standardized format. Consider the following example.

<script type="application/ld+json">
 "@context" : "",
 "@type" : "WebSite", 
 "name" : "InfoPhilic",
 "url" : "",
 "potentialAction" : {
 "@type" : "SearchAction",
 "target" : "{search_term}",
 "query-input" : "required name=search_term"

Once you add new JSON-LD script to your site, make sure you have validated your code. To do so, you can use the Google’s structured data test tool.

If you are using WordPress, there are plugins available to add schema markup to your site.

Here, I have listed some top rated plugins.

1. Schema:

Schema is the best and most rated plugin for adding by using JSON-LD. This is a lightweight plugin and automatically adds JSON format to WordPress sites.

In addition, unlike other WordPress plugins, there is no hectic setup required. Google mostly recommend using this plugin as it requires minimal settings.

2. Schema App Structured Data:

Schema App Structured Data plugin automatically adds all your pages, posts, authors and category content. It comes with schema app tools that automatically deploy custom content. You just need to activate the plugin and your contents will be automatically optimized to be fully understood by search engines.

  • No JSON-LD coding required
  • Provide schema markup maintenance

3. WPSSO Schema JSON-LD Markup:

It includes comprehensive and correct and meta tags as well to your all contents. The fascinating thing about it, it also supports Automattic’s Accelerated Mobile Pages (AMP) plugin.

  • Assigns a Custom Field Value to a Schema Property.
  • Includes contributor markup for Co-Authors Plus authors and guest authors

If you wanna use the plugin, then I recommend using Schema App Structured Data plugin because it is hassle free.

Have you applied JSON-LD Schema Markup by Using JSON-LD? What experience do you have with it? Share in the comments section below.

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.


Please enter your comment!
Please enter your name here


Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...



GET 30 Days Free.


Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

Guide to Set up Perfect WordPress SEO Permalink Structure

In this guide, I will tell you about how you can choose a perfect permalink structure for your blog to acquire good rankings in...

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

How to Fix Failed to Open Stream Error in WordPress

When WordPress.Org releases a new update to it’s WordPress standalone CMS (Content Management System) for that you may have set your website to get...

How to Disable Google AMP & Remove AMP Content from Google Search

Most of the users access the internet on their mobile phones. But, all the sites are not mobile friendly yet. Thus, Google started a...