In this knowledgebase article, we’re going to walk you through how you can import Schema Markup from HTML code with Rank Math PRO.
![Simple Schema Trick To Boost Your Traffic from Google](https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg)
How to Import Schema from HTML Code with the Help of Rank Math
Before importing Schema from HTML code please ensure that you’ve enabled the Schema module from Rank Math SEO → Dashboard → Modules section. The import feature of the Schema Module is available only in the PRO version of Rank Math. We recommend installing the Rank Math PRO plugin to make the most of the Schemas supported by the plugin.
If you’re using the Schema Markup for the very first time, we recommend you to go through our massive guide on Configuring Schema Markup with the help of the Rank Math plugin.
Without further ado, let’s walk you through the steps on how to import Schema from HTML code using Rank Math:
Table Of Contents
1 Navigate to the Schema Generator
At first, navigate to your post editing screen. Then open Rank Math in the Gutenberg sidebar by clicking on the Rank Math SEO icon for the page. Or you can also click the three vertical dots in the top right-hand corner of the edit page and select Rank Math in the Plugins section – as shown below:
![Click Rank Math](https://rankmath.com/wp-content/uploads/2021/03/click-rankmath.jpg)
Then in the Schema tab of Rank Math’s meta box, click on Schema Generator.
![Click on Schema Generator](https://rankmath.com/wp-content/uploads/2021/03/click-schema-generator-1.jpg)
2 Navigate to the Import Tab
Click on the Import tab in the Schema Generator.
![Navigate to the Import tab](https://rankmath.com/wp-content/uploads/2021/03/click-on-import-1.jpg)
3 Select Appropriate Option in the Import Tab
In the Import tab, select HTML code option from the drop-down list as shown below:
![select HTML Code option](https://rankmath.com/wp-content/uploads/2021/03/import-from-html-code.jpg)
4 Enter the HTML Code
You can copy the HTML code from any webpage. To do so, right-click on the webpage and select Show Page Source, as shown below. (Exact words may differ depending on the browser). Once the source page is opened, copy the entire code on the page.
![Show Page Source](https://rankmath.com/wp-content/uploads/2023/03/page-source.jpg)
Once done, enter the HTML code in the corresponding box and click Process HTML, as shown below.
![Enter the HTML code and click Process Code](https://rankmath.com/wp-content/uploads/2023/03/process-html-code.jpg)
5 Select the Schema
The Schemas available in the HTML code will be imported and presented to you in a fraction of a second. Click Use to use whichever Schema you want, as shown below.
![Click Use to use the Schema](https://rankmath.com/wp-content/uploads/2023/03/schema-found.jpg)
6 Modify the Schema
You can modify the Schema’s values to suit your site’s content. However, do not change the value of the @type property. Once done, click Save for this Post.
![Modify the Schema and save it](https://rankmath.com/wp-content/uploads/2023/03/modify-the-schema.jpg)
7 Validate the Schema
To confirm your Schema is properly set up, click the Eye icon, as shown below.
![Click the eye icon](https://rankmath.com/wp-content/uploads/2023/03/click-eye-icon-1.jpg)
In the Schema Builder, click Test with Google.
![Test with Google](https://rankmath.com/wp-content/uploads/2023/03/test-with-google-1.jpg)
In the Rich Results Test tool, click TEST CODE.
![test code](https://rankmath.com/wp-content/uploads/2023/03/test-code-1.jpg)
You will be presented with the validity of the structured data.
- A checkmark in a green circle indicates the Schema is valid and eligible for display in Google Search results.
- An exclamation mark in a yellow triangle indicates an issue with the Schema.
- An exclamation mark in a red circle indicates an error in the Schema.
If you require extra details about the validity, issues, or error in the Schema, click the option available in the Detected structured data tab, as shown below.
![Click Detected structured data for more details](https://rankmath.com/wp-content/uploads/2023/03/valid-item-detected.jpg)
If you still have any questions about importing Schema from HTML with Rank Math, feel free to reach out to our support team who are available 24×7 and are always more than happy to help.