Schema Markup Generator
Create schema.org structured data for a business, article, product, event, FAQ, breadcrumbs or website, as JSON-LD ready to paste into your page.
- Free, no sign-up
- Runs in your browser
- Sources cited
- Organization
- Local business
- Article
- Product
- Event
- FAQ page
- Breadcrumbs
- Website
Details
Required by Google
Required by Google
Required by Google
JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Riverside Pottery Studio",
"address": {
"@type": "PostalAddress",
"streetAddress": "210 Riverside Dr",
"addressLocality": "Austin",
"addressRegion": "TX",
"postalCode": "78704",
"addressCountry": "US"
},
"telephone": "+1-512-555-0142",
"url": "https://www.example.com",
"image": "https://www.example.com/studio.jpg",
"priceRange": "$$",
"geo": {
"@type": "GeoCoordinates",
"latitude": 30.2549,
"longitude": -97.7534
},
"openingHours": [
"Mo-Fr 10:00-18:00",
"Sa 10:00-16:00"
]
}
</script>Put the script element in the page’s HTML, usually in the head.
How to use the schema markup generator
Choose the type
Pick what the page describes: a local business, organization, article, product, event, FAQ, breadcrumb trail or website.
Fill in the details
Each type shows its own fields, with an example to start from. Fields Google requires are marked.
Fix what the checks find
Missing required properties, URLs without https://, dates not in ISO 8601 format and non-numbers are flagged.
Add it to the page
Copy the script element into the page’s HTML, then confirm it with Google’s Rich Results Test.
How structured data works
Structured data describes a page in a standard vocabulary that search engines can read. The vocabulary is schema.org: types such as LocalBusiness or Event, each with properties such as name and address. Google recommends writing it as JSON-LD, a W3C format placed in a script element, separate from the visible HTML.
Properties that are things in their own right become nested objects with their own type: an address is a PostalAddress, an event’s venue a Place, a price an Offer. The generator builds that nesting from simple fields. Google lists required properties for some features, such as name, startDate and location for events, and name and address for local businesses; the generator marks those and leaves every other property optional, as schema.org does.
Google’s guidelines say structured data must describe content visible on the page, and that correct markup does not guarantee rich results. Values are written as JSON, so quotes and other characters are escaped, and a closing script tag inside a value is escaped too so it cannot end the script early.
Worked example
For the example local business, the street “210 Riverside Dr” and city “Austin” become an address object: {"@type":"PostalAddress","streetAddress":"210 Riverside Dr","addressLocality":"Austin","addressRegion":"TX","postalCode":"78704","addressCountry":"US"}. The coordinates become {"@type":"GeoCoordinates","latitude":30.2549,"longitude":-97.7534}, and the opening hours a list of 2 entries.
For an event without a venue, the check reports Venue name missing and Street address missing. A breadcrumb trail of 3 entries gets positions 1, 2, and 3.
Understanding the result, and common mistakes
- Marking up content that is not on the page. Structured data must match what visitors can see.
- Dates in local formats. Use ISO 8601, such as 2026-04-18T10:00:00-05:00, with the time zone offset.
- Relative URLs. Images, logos and links need full https:// addresses.
- Expecting guaranteed rich results. Valid markup makes a page eligible; search engines decide what to show.
Frequently asked questions
Where do I put the JSON-LD?
Anywhere in the page’s HTML; the head is common. Each page can have several script elements.
How do I test it?
Paste the page’s URL or the code into Google’s Rich Results Test, linked next to the result.
Is anything uploaded?
No. The markup is built in your browser.
Sources
- Schema.org vocabularySchema.org · retrieved Nov 14, 2026
- JSON-LD 1.1World Wide Web Consortium · retrieved Nov 14, 2026
- Introduction to structured data markup in Google SearchGoogle Search Central · retrieved Nov 14, 2026
- General structured data guidelinesGoogle Search Central · retrieved Nov 14, 2026
- Event structured dataGoogle Search Central · retrieved Nov 14, 2026
- Local business structured dataGoogle Search Central · retrieved Nov 14, 2026
About these results
- The markup is built in your browser. Nothing you enter is sent anywhere.