Schema markup generator
Choose the type, fill in the fields you have and copy the JSON-LD. Empty fields are left out, and missing recommended ones are flagged.
Free · no signup Runs in your browser
How do I create schema markup?
Choose the type of page, such as a local business or an article, fill in the fields and copy the JSON-LD block the tool builds. Paste it into the page's head or body. Empty fields are left out so you never publish blanks, and the checks list anything Google expects that is missing. Markup must describe content visitors can actually see on the page, and it should be tested with Google's Rich Results Test before you publish.
What schema markup is for
Schema markup is a standard vocabulary, from schema.org, for describing what a page is about in a form machines can read. Google recommends writing it as JSON-LD, a script block that sits apart from the visible page, and uses it to understand the page and, for some types, to show richer results. It is not a ranking switch: it helps search engines understand who you are and what the page contains, and it makes some features possible, but it does not by itself lift a page.
Four types are covered. Organization states your name, website, logo and profiles. LocalBusiness adds an address, opening hours, telephone number and the kind of business, with a choice of more specific types such as Plumber, Dentist or Restaurant. Article describes a post with its headline, images, dates and author. BreadcrumbList describes the path to a page. For questions and answers use the FAQ schema generator.
It runs in your browser. Nothing you enter is sent anywhere, and there is no sign-up.
Keeping it honest
Only mark up what is true and visible. Do not add ratings, reviews, prices or opening hours that the page does not show, and do not invent them: Google treats misleading markup as a violation of its guidelines and can remove rich results for the site. That is why this generator has no review or rating fields. Use the same name, address and telephone number as on your website and your Google Business Profile, spelled the same way, so every source agrees. Check the finished block in the Rich Results Test, and keep it up to date when your hours or address change.
When to use it
- Adding local business details to a home or contact page
- Marking up blog posts with author and dates
- Adding a breadcrumb trail
- Checking what fields a type needs
Mistakes it helps you avoid
- Marking up content that is not on the page.
- Inventing reviews or ratings.
- Using an address or phone number that differs from the page.
- Leaving the date, image or author out of an article.
The formula
How the answer is worked out.
1. Choose the type and fill in the fields you have.2. Each filled field becomes a property in a JSON-LD object with @context https://schema.org.3. Opening hours lines such as Monday-Friday 08:00-17:00 become OpeningHoursSpecification entries.4. The object is written as formatted JSON inside <script type="application/ld+json">, with < escaped.
Property names follow schema.org and Google's documentation for each type. Dates should use ISO 8601 (2026-10-26). Latitude and longitude are written as numbers. The generator checks for missing common fields, not for whether Google will show a rich result.
Example: a plumber in Calgary
You choose Local business, kind Plumber, and enter name, address and hours.
- @typePlumber
- Hours lineMonday-Friday 08:00-17:00
A JSON-LD block with PostalAddress and an OpeningHoursSpecification for five days
Test it in the Rich Results Test.
Terms on this page
- JSON-LD
- A way of writing structured data as a JSON script block.
- Schema.org
- The shared vocabulary of types and properties used for structured data.
Common questions
Where do I put JSON-LD?
In the head or body of the page, inside a script tag of type application/ld+json.
Does schema improve rankings?
Not directly. It helps search engines understand the page and can enable rich results.
Can I add star ratings?
Only for real reviews shown on the page. This generator leaves them out on purpose.
Which format does Google prefer?
JSON-LD.
Is my data sent anywhere?
No.
Is anything I enter sent to a server?
No. The calculation happens in your browser and nothing you type leaves your device.
Where these numbers come from
- Google Search Central — Introduction to structured data JSON-LD is the recommended format; markup must describe content that is visible on the page.
- Google Search Central — Local business structured data The properties Google reads for a local business: name, address, opening hours and more.
- Google Search Central — Article structured data The properties for an Article: headline, image, dates and author.
- Google Search Central — Breadcrumb structured data How a BreadcrumbList describes the path to a page.
- Schema.org — LocalBusiness The type and its sub-types, such as Plumber, Dentist and Restaurant.
Last verified 2026-10-25 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.
Related tools
FAQ schema
Write your questions and answers and get FAQPage JSON-LD markup to paste into a page, with a note on when Google shows it.
Open toolMeta tag generator
Create the title, description, canonical, robots, Open Graph and Twitter card tags for a page, with a share preview, and copy the HTML.
Open toolSitemap generator
Paste your page addresses and get a valid sitemap.xml file to upload, with an optional last-modified date.
Open toolHreflang generator
Generate hreflang link tags, sitemap entries or HTTP headers for the language and country versions of a page, with checks for common mistakes.
Open toolRobots.txt generator
Build a robots.txt file with allow and disallow rules and your sitemap address, ready to copy.
Open toolMeta checker
Check the length of a page title and meta description and see a search result preview before you publish.
Open tool🔎 SEO tools
Small SEO jobs done in your browser: previews, checkers and generators. Nothing you enter is sent anywhere.
See all 12 tools in this section