Articles · Search basics
What is schema markup and does a small business need it?
By Armstrong Websites. Published . Updated .
Schema markup is a block of code on your website that labels your business details for search engines. It states, in a format machines can read, that this is a business, this is its name, this is its address, and these are its hours. A small business does not need much of it. One accurate block that describes the business is worth having, and many platforms add part of it for you.
What schema markup is
A person reads “Open Tuesday to Saturday, 9 to 5” on your contact page and understands it. A search engine sees a string of text and has to guess what it means.
Schema markup removes the guess. It uses a shared vocabulary from a project called Schema.org, which the major search engines started together. The vocabulary has names for things (a local business, a product, an event, a recipe) and for their details (opening hours, price, start date, cooking time).
You may also hear it called structured data. The two terms mean the same thing in everyday use.
Visitors never see the markup. It sits in the code of the page.
What it looks like
Google recommends a format called JSON-LD. It is a short block of text inside a script tag. Here is a small example for a made-up business.
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Example Plumbing",
"telephone": "+1-250-555-0100",
"url": "https://www.example.ca/",
"address": {
"@type": "PostalAddress",
"addressLocality": "Armstrong",
"addressRegion": "BC",
"addressCountry": "CA"
}
}
You do not need to write this yourself. It helps to know what it is, so you can check it.
What schema markup can do
It makes your details clear. Search engines can match your website to your Google Business Profile and other listings with more confidence when the name, address, and phone number are labeled and identical.
It can make you eligible for rich results. Rich results are search listings with extras, such as event dates, product prices, recipe photos, or review stars. Google shows these only for certain types of content, and only when the markup follows its rules.
It helps other systems read your site. Bing uses the same vocabulary. AI search tools read web pages too, and clearly labeled facts are easier for any program to use. No one outside those companies can say exactly how much weight they give it.
What it cannot do
Schema markup is not a ranking trick. Google has said that structured data helps it understand a page, and that it does not guarantee a rich result or a higher position.
It also cannot fix wrong information. If the markup says you open at 8 and your door sign says 9, you have made a new problem.
And it does not replace your Google Business Profile. The profile drives your place in map results. How to set up a Google Business Profile, step by step comes first.
The types a small business uses
Hundreds of types exist. A small business needs only a few.
LocalBusiness. This is the main one. It holds your name, address, phone, website, hours, logo, and the area you serve. Schema.org has more specific versions, such as Plumber, Electrician, Restaurant, HairSalon, and Dentist. Use the closest match. Put this block on your homepage or contact page.
Product. For an online store. It holds the name, price, and stock status of each item. Shopify themes and WooCommerce usually add it for you.
Event. For a business that runs classes, markets, tastings, or shows. It holds the name, date, and place.
Article. For blog posts and news. Many platforms add it for you.
BreadcrumbList. This describes where a page sits in your site. Many themes and SEO plugins add it.
FAQPage. This labels questions and answers. Google has cut back on showing FAQ rich results, so do not expect extra space in results from it. The markup does no harm if the questions and answers are visible on the page.
Rules to follow
Google publishes guidelines for structured data. Markup that breaks them can be ignored, and repeated abuse can cost a site its rich results. The main rules are simple.
- Describe only what is on the page. Every detail in the markup must also be visible to visitors.
- Keep it true and current. Update the markup when your hours, phone, or address change.
- Do not mark up your own reviews for stars. Google does not show review stars for a local business that marks up reviews about itself on its own website. Never invent a rating.
- Match your other listings. Use the same name, address, and phone number as your Google Business Profile. Why your business name, address, and phone must match everywhere explains why.
How to add it
Start by checking what you already have. The steps below describe each platform in general terms, because settings change.
Squarespace, Wix, and Shopify. These add some markup without any work from you. What they add depends on the details you enter in your business information settings. Fill in those settings completely.
WordPress. An SEO plugin such as Yoast SEO or Rank Math adds markup for the site and each page. Look in the plugin’s settings for a section about your organization or local business details. Some plugins keep full local business features in a paid add-on.
Custom-built sites. Your web designer adds the JSON-LD block to the page template. Ask them to include LocalBusiness markup and to show you where to update the hours.
If your platform has no setting for it, most have a place to paste a code snippet into the head section of a page. A designer can write the block for you in a short session.
How to test it
Two free tools check your markup. Search for each by name.
Rich Results Test. This is Google’s tool. Enter a page address. The tool lists the markup it found that can produce rich results and flags any errors.
Schema Markup Validator. This tool, run by Schema.org, shows all the markup on a page, including types Google does not use for rich results.
Run your homepage through both. Read the output and check each detail against the real facts.
After Google has visited your pages, Google Search Console shows reports for some markup types under an enhancements heading. It also emails you when it finds errors. How to set up Google Search Console for your website covers that tool.
So, does your business need it?
For most small businesses, the answer is a short yes.
Add one accurate LocalBusiness block. Let your platform handle products, articles, and breadcrumbs. Skip the rest until you have a reason.
Schema markup is a finishing step. Do it after your pages have clear text, your Google Business Profile is complete, and your details match everywhere. A site with thin pages and perfect markup still has thin pages.
If you would like your site’s markup checked or added, mention it on the contact page.
Read next
How long does SEO take to work for a local business?
Local SEO takes months, not days. Some fixes show up in a few weeks and others take most of a year. Here is what affects the wait and how to track progress.
How to read Google Analytics for a small business
Google Analytics can answer four questions for a small business: how many people visit, where they come from, what they read, and whether they contact you.
How to redesign a website without losing Google rankings
Keep your Google rankings through a redesign: list your old pages, keep the addresses that work, redirect the rest, keep your text, and check Search Console.