Free Schema Markup Generator | OneStepToRank

Schema Markup Generator

Generate valid JSON-LD structured data for 22+ schema types. Choose a type below or use the LocalBusiness generator at the bottom of the page.

Local Business

Hours, address, geo, ratings, 21 subtypes

FAQ

Q&A pairs for People Also Ask rich results

Article

Blog posts, news articles, tech articles

Product

Price, availability, reviews, SKU

Organization

Company info, logo, socials, contacts

Video

Thumbnail, duration, upload date, embed

Review

Star ratings, review count, aggregate scores

Event

Dates, location, tickets, performers

Person

Bio, job title, socials, employer

Job Posting

Google for Jobs with salary, location

Breadcrumb

Navigation trail for SERP display

HowTo

Step-by-step instructions with tools

Recipe

Recipe cards with ingredients & steps

Website

Sitelinks searchbox & site identity

Software App

App ratings & pricing in search

Course

Course cards with provider & pricing

Q&A Page

Community Q&A with answers

Book

Book info panels & knowledge graph

Movie

Movie rich results with cast & ratings

Dataset

Google Dataset Search visibility

Discussion Forum

Forum posts with replies & votes

Profile Page

Person/org profiles with social links

Or use the LocalBusiness Generator below

Our most popular schema type with 21 business subtypes, hours, geo, ratings, and FAQ builder.

Build Your Schema

Only add aggregate rating if reviews are visible on your website. Adding fake or misleading ratings violates Google's structured data guidelines and may result in a manual penalty.

Get Schema Monitoring

OneStepToRank monitors your structured data in production, alerts you when schema breaks, and tracks how your rich results change over time.

Get Started

What is Structured Data?

Structured data is a standardized format for providing information about a page and classifying its content. When you add structured data to your website, you give search engines explicit clues about what your page means, not just what it says. This machine-readable information helps Google, Bing, and other search engines understand your content with far greater precision than they could from raw HTML alone.

There are three main formats for structured data: Microdata, RDFa, and JSON-LD. Microdata and RDFa require embedding attributes directly into your HTML markup. JSON-LD lives in a standalone <script> tag and does not touch your visible HTML. This separation makes JSON-LD easier to implement, debug, and maintain. Google has publicly stated that JSON-LD is their preferred format, giving it the best support for new features and the most thorough documentation.

Why Local Businesses Need Schema Markup

For local businesses, schema markup directly affects how your business appears in search results. When Google reads your structured data, it can display rich snippets with your star rating, hours, price range, address, and phone number right in the search results. These enhanced listings earn significantly higher click-through rates than plain blue links.

Schema markup also feeds into Google's Knowledge Panel, the information box that appears when someone searches for your business by name. A complete Knowledge Panel builds instant credibility and reduces the chance of incorrect information appearing in your listing.

Voice search adds another dimension. When someone asks a smart speaker "what time does the plumber on Main Street close," the answer comes from structured data. Businesses without schema are invisible to voice assistants, and as voice search grows, that gap becomes costly. Most local businesses have not implemented structured data yet, so adding it now puts you ahead of the majority of your market.

Understanding LocalBusiness Schema

The LocalBusiness type is part of the Schema.org vocabulary, an open standard maintained by Google, Microsoft, Yahoo, and Yandex. It defines a structured way to describe a physical business with a local presence, including name, address, phone, operating hours, and geographic coordinates.

Schema.org organizes business types in a hierarchy. LocalBusiness is the parent type, with specific subtypes like Restaurant, Dentist, Plumber, and Attorney beneath it. Using the most specific type gives Google a clearer signal about what you do, improving relevance for search queries. The key properties to include are:

  • name -- Your official business name, exactly as it appears on your Google Business Profile and website.
  • @type -- The most specific Schema.org business type that applies (e.g., Dentist instead of LocalBusiness).
  • address -- A PostalAddress object with street, city, state, ZIP, and country.
  • telephone -- Your primary business phone number in a consistent format.
  • url -- The canonical URL of your business website.
  • description -- A brief summary of your business, services, and unique value proposition.
  • geo -- A GeoCoordinates object with latitude and longitude for precise map placement.
  • openingHoursSpecification -- An array defining your operating hours for each day of the week.

Our generator builds all of these properties from your form inputs and outputs valid JSON-LD conforming to Schema.org. You can paste the generated code directly onto your website without modification.

How to Implement Schema on Your Website

Implementing schema markup takes just a few minutes regardless of your platform:

  1. Generate your schema using the form above. Fill in every field you can -- the more complete your markup, the more useful it is to search engines.
  2. Copy the HTML embed code by clicking the "HTML Embed" tab and the "Copy" button. This gives you the complete script tag ready to paste.
  3. Add it to your website. Place it in the <head> section of your homepage or before the closing </body> tag. On WordPress, use Insert Headers and Footers plugin or paste into header.php. On Shopify, add it to theme.liquid. On Squarespace, use Code Injection under Settings.
  4. Validate your markup with Google's Rich Results Test. Enter your page URL and confirm Google can parse your structured data without errors.
  5. Monitor over time. Google Search Console's "Enhancements" section shows detected structured data and flags issues. Check periodically as your site changes.

Important: your structured data must accurately reflect the visible content on your page. Google penalizes misleading schema, so keep your markup in sync with your actual business information.

Use this generator alongside our Local Rank Checker to monitor whether schema improvements affect your search position, and our GBP Completeness Grader to ensure your Google Business Profile is equally optimized.

Frequently Asked Questions

What is JSON-LD?

JSON-LD (JavaScript Object Notation for Linked Data) is a structured data format that uses JSON to encode information about your business in a way search engines can read. Google recommends JSON-LD over other formats like Microdata or RDFa because it sits in a standalone script tag and does not interfere with your visible page content, making it simpler to implement and maintain.

Where do I add the schema markup code?

Paste the generated script tag in your website's HTML <head> section or just before the closing </body> tag. Both locations are valid and recognized by Google. If you use WordPress, you can add it through a plugin like Insert Headers and Footers or directly in your theme's header template. On Shopify, add it to your theme.liquid file.

Does schema markup help SEO?

Schema markup helps search engines understand your content more accurately, which can lead to rich snippets showing your star rating, hours, and contact details directly in search results. These enhanced listings earn higher click-through rates. While schema is not a direct ranking factor, the improved visibility and engagement it drives have a measurable positive impact on local search performance.

How do I validate my schema markup?

After adding the code to your site, use Google's Rich Results Test at search.google.com/test/rich-results to verify that Google can read your structured data and whether it qualifies for enhanced search features. For general syntax validation, use the Schema Markup Validator at validator.schema.org. Both tools show errors, warnings, and detected entities so you can fix issues before they affect your search presence.