How to Add Schema Markup for SEO (And Improve Your SEO)

Learn how to boost your search engine rankings and improve visibility in search results by adding schema markup using Google's Structured Data Markup Helper tool.
  • Portrait of a smiling woman with long hair, transparent background.
    Sarah Berry SEO Consultant
    Author block right corner shape
  • October 25, 2023
  • 6 min. read

 

Schema markup, also known as structured data, is an effective tactic for search engine optimization (SEO). That’s because structured data provides search engines like Google with more information about your URL, which can lead to more relevant rankings, plus glow-ups in search results.

Keep reading to learn how to add schema markup for SEO, plus get answers to common FAQs!

How to add schema markup to your website

Learn how to add schema markup to your website below:

  1. Visit Google’s Structure Data Markup Helper tool
  2. Select your schema markup
  3. Add your URL or HTML
  4. Select your markup elements
  5. Generate your HTML
  6. Add your schema markup to your URL

1. Visit Google’s Structured Data Markup Helper tool

Google offers a plug-and-play tool called Structured Data Markup Helper for generating schema markup.

Google Structured Data Markup Helper

From here, you can generate the following schema markup types:

  • Articles
  • Events
  • Movies
  • Restaurants
  • Book Reviews
  • Job Postings
  • Products
  • Software Applications
  • Datasets
  • Local businesses
  • Questions & Answer Page
  • TV Episodes

If you don’t see your schema markup type, you’ll need to take a different route like:

  • Working with a developer
  • Using a third-party tool

For this guide on how to implement schema markup, I’m focusing on using Google’s provided tool.

2. Select your schema markup

Next, select your schema markup type.

While you can add more than one type of schema markup to a URL, you can only select one type using the Structured Data Markup Helper tool. You’ll need to repeat the process outlined in this guide to generate another piece of structured data for your URL.

Selecting markup type in Google Structured Data Markup Helper

3. Add your URL or HTML

Once you select your markup, you’ll enter your URL or the URL’s HTML code. Click “Start Tagging.”

Enter URL and start tagging in Google Structured Data Markup Helper

4. Select your markup elements

After your URL loads, you can begin selecting your markup elements. The process will work as follows:

  1. Highlight text or select elements, like a product’s title
  2. Select its corresponding element, like “Name” for Product markup

Highlight text and select element in Google Structured Data Markup Helper

Complete this process for your structured data’s available fields, which will display on the left-hand side.

If your URL loads but doesn’t display correctly, you can enter markup data manually with these steps:

  1. Scroll to the bottom of the left-hand display
  2. Click “Add missing tags”

Adding missing alt tags in Google Structured Data Markup Helper

  1. Select the tag
  2. Enter the value
  3. Click save

Adding alt tags and saving in Google Structured Data Markup Helper

 

You’ll see optional and required tags depending on your selected schema markup. For the best results, provide data (if it exists) for all the given tags because this will give Google more information about your URL.

5. Generate your HTML

Once you’ve finished ‘marking up’ your URL, click “Create HTML” in the upper-right-hand corner.

Create HTML in Google Structured Data Markup Helper

By default, Google will provide the schema markup as JSON-LD markup. While you can select alternative markup formats, like microdata, Google recommends JSON-LD since it’s easier to edit than other formats like RDFa or microdata.

If you prefer microdata, select the JSON-LD dropdown menu and choose “Microdata.”

6. Add your schema markup to your URL

Finally, you can learn how to implement schema markup on your URL! Follow these steps to get started:

  1. Click “Download” from the upper-right corner or select and copy the markup
  2. Open a new browser tab and visit Google’s Rich Results Test
  3. Select “Code”
  4. Enter the markup
  5. Click “Test Code”

Test HTML in Google Rich Results Test

  1. Review the results to confirm there are zero errors
  2. Return to your Structured Data Markup Helper browser tab
  3. Click “Finish” from the upper-right corner

Finish markup in Google Structured Data Markup Helper

  1. Review the installation instructions provided by Google
  2. Implement the markup

For the best experience installing schema markup, view Google’s provided installation instructions in step nine. Sites vary, and practices change, so to ensure this guide offers you the most value (and doesn’t lead you down a troubleshooting trail), use the provided documents in step nine.

Remember, you can always use Google’s Rich Results Test to test schema markup on your URL!

Bring schema markup (and all its SEO benefits) to your site

You know how to add schema markup to your website, but do you have time to do it? If you’re thinking, “No…,” then get some help bringing schema markup and all its SEO benefits to your site. Just fill out our contact form to get started!

 


FAQs about schema markup

Learn more about schema markup for SEO with these FAQs:

What is schema markup?

Schema markup is a form of microdata that search engines use to understand web content better. Businesses use schema markup for SEO to help search engines categorize website content in search results, which can lead to improved visibility in organic search results.

Why is schema markup important?

Schema markup is important for a few reasons, including:

  • Context: With structured data, you provide search engines with more context about your website. For example, you can define for search engines the stages of a how-to guide or the ingredients of a recipe — they don’t have to guess or assume.
  • Visuals: In some cases, schema markup also generates rich results, like dropdown menus with FAQ markup, which can lead to higher click-through rates (CTRs) by making your content stand apart from the rest.

Google’s also found schema markup to have an impact on:

  • Click-through rate
  • Time on page
  • Interaction rate

With markup, you can deliver a better user experience and more information to search engines.

What are the types of schema markup?

There are dozens of schema markup types through Schema.org. Search engines do not support every kind of structured data available, though. If you’re curious which schema markup types Google supports, visit their document for the most up-to-date information.

Portrait of a smiling woman with long hair, transparent background.
Sarah Berry is an SEO Consultant at one of the largest SEO agencies in the USA — WebFX. With more than 10,000 hours of SEO experience, she offers practical insights and strategies you can use to grow your rankings, traffic, and revenue from search.

Add WebFX to your content marketing toolbox today

Get SEO Proposal

What to read next

My Website Traffic Is Going Down. How Can I Fix It?
  • Apr 12, 2024
  • 6 min. read
Keep Reading
My Website Isn’t Showing up on Google. What Do I Do?
  • Apr 12, 2024
  • 5 min. read
Keep Reading
My Website Doesn’t Convert. What Do I Do?
  • Apr 09, 2024
  • 5 min. read
Keep Reading