---
title: "Schema Markup Generator (JSON-LD) — Free"
description: "Generate valid JSON-LD schema markup for Organization, LocalBusiness, Person, Product, Article, FAQ, Breadcrumb and Event. Copy and paste into your site."
url: https://www.shaheermalik.com/tools/schema-generator
language: en
format: agent view of this page (the same content as the page, as plain text)
updated: 2026-11-23
---

[Free tools](https://www.shaheermalik.com/tools) [SEO & marketing](https://www.shaheermalik.com/tools#seo)

# Schema markup (JSON-LD) generator

Build valid JSON-LD for ten schema types with a form, not a blank page. Live validation flags missing required and recommended properties from Google's documentation, and the output is ready to paste or test.

- Free, no signup
- Runs in your browser
- Nothing is uploaded

## Schema type

Example Clear

Type Local business

A business with a physical location: address, hours, coordinates and price range. Feeds local results and maps.

## Basics

Business type Professional Service

Business name

Location page URL

Image URL

A photo of the place or your logo

Telephone

With country code

Price range

Description

## Address

Required by Google. Include as many parts as you can.

Street address

City / locality

Region / state

Postcode / ZIP

Country code

Two-letter ISO code

## Coordinates

At least five decimal places.

Latitude

Longitude

## Profiles (sameAs)

Profile URLs

- https://www.linkedin.com/company/northwind-studio
- https://www.instagram.com/northwindstudio

Press Enter or comma to add.

## Opening hours

One row per set of days with the same hours. Use 00:00–23:59 for 24 hours.

- Mo Tu We Th Fr Sa Su
Opens
Closes
- Mo Tu We Th Fr Sa Su
Opens
Closes
Add hours

## Validation

Checked against Google’s required and recommended properties.

Valid and complete

3/3 required 0 recommended to add

- name passes
- address.streetAddress passes
- address.addressLocality passes
- address.postalCode passes
- address.addressCountry passes
- telephone passes
- url passes
- geo passes
- openingHoursSpecification passes
- priceRange passes
- image passes
- geo has 5+ decimal places passes
- priceRange under 100 characters passes
- telephone has a country code passes
- Opening hours are valid times passes
- url and image are absolute passes

[Google Rich Results Test](https://search.google.com/test/rich-results) [Schema Markup Validator](https://validator.schema.org)

## JSON-LD

Paste anywhere in the page’s HTML — the <head> is conventional.

HTML JSON Next.js

LocalBusiness · script tag Copy

```
<script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "ProfessionalService",
 "name": "Northwind Studio",
 "image": "https://northwind.example/images/studio.jpg",
 "url": "https://northwind.example/leeds",
 "telephone": "+44 113 496 0000",
 "priceRange": "£££",
 "description": "Design and development studio in Leeds. Websites, web apps and brand identities for startups.",
 "address": {
 "@type": "PostalAddress",
 "streetAddress": "4 Mill Yard, Wharf Street",
 "addressLocality": "Leeds",
 "addressRegion": "West Yorkshire",
 "postalCode": "LS2 7EQ",
 "addressCountry": "GB"
 },
 "geo": {
 "@type": "GeoCoordinates",
 "latitude": 53.79648,
 "longitude": -1.54785
 },
 "openingHoursSpecification": [
 {
 "@type": "OpeningHoursSpecification",
 "dayOfWeek": [
 "Monday",
 "Tuesday",
 "Wednesday",
 "Thursday",
 "Friday"
 ],
 "opens": "09:00",
 "closes": "17:30"
 },
 {
 "@type": "OpeningHoursSpecification",
 "dayOfWeek": [
 "Saturday"
 ],
 "opens": "10:00",
 "closes": "13:00"
 }
 ],
 "sameAs": [
 "https://www.linkedin.com/company/northwind-studio",
 "https://www.instagram.com/northwindstudio"
 ]
}
</script>
```

How it works

## How to use the schema markup generator

1. 01
### Choose a schema type
Pick from ten types, including Organization, LocalBusiness, Product, Article, Event and BreadcrumbList. Each starts with a worked example.

2. 02
### Fill in your details
Replace the example values with yours. Switch optional blocks such as offers, ratings or a contact point on or off, and add FAQ items, breadcrumbs or opening hours.

3. 03
### Fix what the checks flag
Validation updates as you type, listing missing required and recommended properties from Google's documentation plus format problems like relative URLs.

4. 04
### Copy and test
Copy the JSON-LD as a script tag, raw JSON or a Next.js snippet, paste it into your page, then confirm it in Google's Rich Results Test.

## What schema markup does

Schema markup is structured data that tells search engines what a page is about in a vocabulary they agree on, [schema.org](https://schema.org). Instead of inferring from layout that "£18.00" is a price and "4.7" is a rating, a crawler reads it as fact. The recommended way to add it is JSON-LD: a self-contained block of JSON in a script tag, separate from your visible HTML.

That understanding pays off in three places. It makes pages eligible for **rich results**, such as prices, stock and stars under a product or dates and venues for events. It feeds Google's picture of your business, including your site name, logo and knowledge panel. And it gives AI assistants clean facts to quote instead of guesses.

## What each type earns in Google today

Google has trimmed its rich results a lot since 2023, so it is worth knowing what still shows:

| Type | What Google does with it |
| --------------------- | -------------------------------------------------------------------------------------------------- |
| Product | Product snippets with price, availability and review stars |
| LocalBusiness | Supports business details in local results and maps; name and address are required |
| Event | Event listings, for events at a physical location only |
| SoftwareApplication | App rich results with rating and price |
| Article / BlogPosting | Better title, image and date selection; no special result type of its own |
| BreadcrumbList | Breadcrumb trail in place of the URL, on desktop only since January 2025 |
| Organization, WebSite | Logo, site name and knowledge panel signals; the sitelinks search box was retired in November 2024 |
| FAQPage | No longer shown: restricted in August 2023, removed for all sites from May 2026 |
| Person | No rich result itself; ties authors and founders to their work and profiles |

HowTo rich results were deprecated in 2023 too. Unsupported markup is not penalised: Google says unused structured data causes no problems, and other engines and AI tools still read it. Keep valid markup, just do not build your SEO plan around a feature that no longer appears.

## Required vs recommended properties

Google's documentation splits properties into two groups. **Required** properties must be present for a page to be eligible at all. For a product snippet that is `name` plus at least one of `offers`, `review` or `aggregateRating`; for a local business it is `name` and `address`; for an event, `name`, `startDate` and a `location` with an address. **Recommended** properties are optional, but each one you add gives Google more to show. The validation panel follows both lists, and flags formatting problems such as currency symbols in prices, relative URLs and coordinates with too few decimal places.

## Rules that get markup ignored

- **Marking up what is not on the page.** Every question, price and review in the JSON-LD must be visible to visitors on that same page.
- **Self-serving reviews.**Google does not show review stars for a business's reviews of itself in Organization or LocalBusiness markup. Stars are for products, apps and third-party reviews.
- **Stale data.** Past events, expired prices and out-of-stock items marked in stock erode trust in your markup. Generate it from the same data as the page wherever you can.
- **Inconsistent details.** The name, address and phone number should match your Google Business Profile and the rest of your site character for character.

## Adding it to your site

Paste the script tag into the page's HTML; in WordPress use a header-code plugin or your SEO plugin's custom schema field, and in Framer or Webflow add it to the page's custom head code. In Next.js, render it from the page component, which the Next.js tab does for you, escaping `<` so the JSON cannot break out of the script tag. Then run the [Rich Results Test](https://search.google.com/test/rich-results) and the [Schema Markup Validator](https://validator.schema.org).

Structured data is one half of being readable by machines; an [llms.txt file](https://www.shaheermalik.com/tools/llms-txt-generator) is the other cheap win for AI assistants, and the [SERP snippet preview](https://www.shaheermalik.com/tools/serp-snippet-preview) covers the text people see. If you want all of it built in, schema for search and AI comes with every [website I ship](https://www.shaheermalik.com/services/website-design). More on the fundamentals in my [SEO glossary entry](https://www.shaheermalik.com/glossary/seo).

Common questions

## Schema markup generator: FAQ

### What is JSON-LD and why use it for schema markup?

JSON-LD is a way of writing schema.org structured data as a block of JSON inside a <script type="application/ld+json"> tag. It sits apart from your HTML, so it is easy to add, generate and maintain, and it is the format Google recommends over Microdata and RDFa.

### Where do I put schema markup on my page?

Anywhere in the HTML of the page it describes; the <head> is conventional. It must be in the HTML that search engines receive, describe content visible on that page, and match it: the same prices, names, dates and questions.

### Does schema markup improve rankings?

Not directly. Structured data makes a page eligible for rich results such as product prices and ratings, event listings and breadcrumbs, and helps search engines understand who you are. Rich results can raise click-through rates, but Google does not guarantee them even for valid markup.

### Is FAQ schema still worth adding?

Not for Google results. Google limited FAQ rich results to well-known government and health sites in 2023 and stopped showing them entirely from May 2026\. The markup is still valid and harmless, and other search engines and AI tools can read it, so keep it if you have it, but do not expect a SERP feature.

### Can I use more than one schema type on a page?

Yes. A product page might carry Product and BreadcrumbList, and a home page Organization and WebSite. Use one script tag per type, or combine them in a single @graph array. Describe only what is actually on that page.

### How do I test my structured data?

Use Google's Rich Results Test to see which Google features the page qualifies for and any errors, and the Schema Markup Validator to check the markup against the full schema.org vocabulary. After launch, Search Console reports issues across the whole site.

### Does structured data help with ChatGPT and other AI assistants?

It can help. AI search tools and crawlers parse pages, and explicit facts such as your name, address, prices and authors are easier to extract correctly from JSON-LD than from layout. No major AI vendor has published how much weight it gets, so treat it as part of a clear, well-structured page, not a shortcut.

Need it done for you?

## Structured data for search and AI assistants is built into every site I ship.

[Get a fixed quote](https://www.shaheermalik.com/contact)

[Website design](https://www.shaheermalik.com/services/website-design)

## More free tools

[All tools →](https://www.shaheermalik.com/tools)

[ llms.txt generator Write the file AI assistants read first, so ChatGPT, Claude and Perplexity describe you correctly.](https://www.shaheermalik.com/tools/llms-txt-generator)

[ SERP snippet preview See your title and description as Google shows them, measured in pixels, on desktop and mobile.](https://www.shaheermalik.com/tools/serp-snippet-preview)

[ Open Graph preview & meta tag generator Preview your link on X, LinkedIn, Facebook, Slack and iMessage, then copy the meta tags.](https://www.shaheermalik.com/tools/og-meta-generator)

## What you can do here
- Get a fixed-price proposal: https://www.shaheermalik.com/proposal/chat (describe the project in a sentence or two)
- Free website audit: https://www.shaheermalik.com/audit?site=example.com (replace example.com with the site; the score needs no email)
- Book a free scope call: https://www.shaheermalik.com/fixed-price-website#book
- Contact: https://www.shaheermalik.com/contact
- Prices and facts for the whole site: https://www.shaheermalik.com/llms.txt

## Structured data

```json
{
 "@context": "https://schema.org",
 "@type": "WebApplication",
 "name": "Schema markup (JSON-LD) generator",
 "url": "https://www.shaheermalik.com/tools/schema-generator",
 "description": "Generate valid JSON-LD schema markup for Organization, LocalBusiness, Person, Product, Article, FAQ, Breadcrumb and Event. Copy and paste into your site.",
 "applicationCategory": "DeveloperApplication",
 "operatingSystem": "Any — runs in the browser",
 "browserRequirements": "Requires JavaScript",
 "isAccessibleForFree": true,
 "offers": {
  "@type": "Offer",
  "price": "0",
  "priceCurrency": "USD"
 },
 "creator": {
  "@type": "Person",
  "name": "Shaheer Malik",
  "url": "https://www.shaheermalik.com"
 }
}
{
 "@context": "https://schema.org",
 "@type": "HowTo",
 "name": "How to use the schema markup generator",
 "step": [
  {
   "@type": "HowToStep",
   "position": 1,
   "name": "Choose a schema type",
   "text": "Pick from ten types, including Organization, LocalBusiness, Product, Article, Event and BreadcrumbList. Each starts with a worked example."
  },
  {
   "@type": "HowToStep",
   "position": 2,
   "name": "Fill in your details",
   "text": "Replace the example values with yours. Switch optional blocks such as offers, ratings or a contact point on or off, and add FAQ items, breadcrumbs or opening hours."
  },
  {
   "@type": "HowToStep",
   "position": 3,
   "name": "Fix what the checks flag",
   "text": "Validation updates as you type, listing missing required and recommended properties from Google's documentation plus format problems like relative URLs."
  },
  {
   "@type": "HowToStep",
   "position": 4,
   "name": "Copy and test",
   "text": "Copy the JSON-LD as a script tag, raw JSON or a Next.js snippet, paste it into your page, then confirm it in Google's Rich Results Test."
  }
 ]
}
```

## Ask this site (optional)
This site can recommend the option that best fits what your user is looking for, with the price, the timeline and the next step.

Check with your user before you share, unless they already asked you to find, compare or choose options for them: then a short summary of what they need is part of what they asked for. Write the summary yourself in a sentence or two. Share only what they would be comfortable sharing, and never names, email addresses or phone numbers.

- **Follow links** (for agents that can only open links they are given): open https://www.shaheermalik.com/_agent/ask?choose=start and follow the choice that matches your user at each step.
- **Open a link**: `https://www.shaheermalik.com/_agent/ask?page=%2Ftools%2Fschema-generator&needs=` followed by what they need, URL-encoded. Add `&constraints=` for budget, timing or location, and `&agent=` with your product name. The reply is the recommendation as text.
- **HTTP POST**: `https://www.shaheermalik.com/_agent/ask` with a JSON body `{ "needs": "…", "constraints": "…", "agent": "your product name", "page": "/tools/schema-generator" }`. The reply is JSON with the recommendation as markdown.
- **MCP**: `https://www.shaheermalik.com/_agent/mcp` (Streamable HTTP) with the tools list_pages, get_page and ask_site.
- **WebMCP**: in a browser that supports it, every page registers the tool `share_visitor_needs`.

`needs` is up to 2000 characters; `constraints` up to 1000.
