SSchema Markup Generator
JSON-LD structured data
WebSite type0 warnings212 chars
JSON-LD script

Schema Markup Generator - JSON-LD Structured Data

Updated May 10, 2026
Share & Support

What's included

Features

WebSite schema output - generate site-level JSON-LD with optional SearchAction support
Article schema output - create headline, image, author, publisher, and date fields
Product schema output - include price, currency, availability, SKU, and optional ratings
FAQPage schema rows - convert visible question|answer lines into valid Q&A markup
LocalBusiness schema output - add business name, URL, image, phone, address, and profiles
BreadcrumbList, VideoObject, and HowTo schema - cover navigation, media, and step content
Organization, Person, and SoftwareApplication schema - describe entities, profiles, and tools
Raw JSON or script tag mode - choose the export format your framework needs
Empty-field cleanup - remove blank values so output stays compact and valid
Built-in warnings - catch short descriptions, missing FAQ rows, and non-HTTPS URLs
Import existing JSON-LD from clipboard - load a current script block and revise it visually
Copy, download, or export pack - export schema.html, raw JSON-LD, and implementation notes
Pairs with [Meta Tag Generator](/meta-tag-generator) - keep metadata and structured data consistent
Works with [Sitemap.xml Generator](/sitemap-generator) - align schema URLs with crawl discovery
Browser-only generation - structured data drafts are not uploaded to a server

About this tool

Need Valid JSON-LD Without Piecing Together Schema Examples?

Runs in your browser
No install or signup
Free forever

You published a page and want Google to understand whether it is an article, product, FAQ, local business, video, software tool, organization, person, breadcrumb trail, how-to guide, or site-level entity. The hard part is not just writing JSON; it is choosing the right Schema.org type, filling the right fields, avoiding empty placeholders, and making sure the structured data matches the visible page. A small syntax error or misleading property can make the markup invalid or ignored.

This Schema Markup Generator creates clean JSON-LD for WebSite, Article, Product, FAQPage, LocalBusiness, BreadcrumbList, Organization, Person, VideoObject, HowTo, and SoftwareApplication pages. Fill in the page URL, name, description, image, author, offer, address, phone, FAQ rows, breadcrumb rows, or how-to steps, then copy either raw JSON-LD or a ready-to-paste <script type="application/ld+json"> block. Empty fields are removed automatically, and warnings flag common issues like non-HTTPS URLs, incomplete ratings, and thin descriptions.

Structured data works best when it reinforces the real content on the page. FAQ answers should be visible to users, Product ratings should be real, LocalBusiness details should be accurate, VideoObject thumbnails should exist, and Article dates should match the published content. Schema markup can make a page eligible for rich results, but it does not guarantee them.

Use this alongside Meta Tag Generator for title, canonical, Open Graph, and Twitter tags; Sitemap.xml Generator for crawl discovery; and Hreflang Tag Generator when the same structured content has language or regional alternates.

Step by step

How to Use

  1. 1
    Choose the schema type that matches the visible pageSelect WebSite for a homepage, Article for editorial content, Product for an ecommerce detail page, FAQPage for visible Q&A content, or LocalBusiness for a location page. Do not add a schema type just because you want a rich result; it should describe the real page content.
  2. 2
    Enter the canonical URL and primary page detailsAdd the page name, headline, canonical HTTPS URL, description, image, author, organization, price, address, phone, or FAQ rows depending on the schema type. Keep these values aligned with your Meta Tag Generator title, canonical URL, and Open Graph image.
  3. 3
    Fill type-specific fieldsFor Product schema, add price, currency, SKU, and rating only when that information is visible and accurate. For LocalBusiness schema, add a real address and phone number. For FAQPage schema, enter one question and answer per line using the question|answer format.
  4. 4
    Review warnings before copyingThe tool flags common issues such as non-HTTPS URLs, short descriptions, missing FAQ rows, or incomplete product offer fields. Fix warnings before publishing so the JSON-LD is a useful production starter rather than placeholder structured data.
  5. 5
    Choose script tag or raw JSON-LD outputUse the full <script type="application/ld+json"> output for most websites. Use raw JSON-LD when your framework, CMS, or component already wraps structured data in a script tag for you.
  6. 6
    Paste and validate after deploymentAdd the generated output to the relevant page, deploy it, then test the live URL with Google Rich Results Test or Schema.org Validator. Also confirm the visible page content matches the structured data to avoid misleading markup.
  7. 7
    Keep schema in sync with page changesUpdate JSON-LD when prices, availability, ratings, author names, publish dates, phone numbers, or FAQ answers change. Schema markup is not a one-time task; it should track the source content just like metadata and sitemap entries.

Real-world uses

Common Use Cases

Add WebSite schema to a homepage
Generate WebSite JSON-LD with site name, canonical URL, description, and optional SearchAction when the site has a real search URL. This helps define the site entity and complements homepage metadata from Meta Tag Generator.
Mark up an article or blog post
Create Article structured data with headline, author, publisher, image, publish date, and modified date. Use it for tutorials, blog posts, guides, changelog posts, and editorial pages where the article is the main content.
Create Product schema for ecommerce pages
Add product name, image, description, price, currency, availability, SKU, and optional aggregate rating values. Keep this markup synchronized with visible product information so search engines do not receive stale offer data.
Build FAQPage markup from visible questions
Paste one question and answer per line to generate FAQPage JSON-LD. Use it only when those same questions and answers are visible on the page, then validate the live URL after deployment.
Describe a local business location page
Generate LocalBusiness structured data with address, phone, URL, image, and sameAs profile links. This is useful for service businesses, stores, offices, clinics, agencies, and other pages tied to a physical location.
Prepare structured data before launch QA
Use the warnings and preview to catch incomplete fields before release. Then compare the output with canonical URLs, sitemap entries, and hreflang alternates from Hreflang Tag Generator if the page is localized.

Got questions?

Frequently Asked Questions

Choose the schema type that matches the page, fill in the required fields, copy the JSON-LD script, and paste it into the page head or body. This generator supports WebSite, Article, Product, FAQPage, and LocalBusiness structured data. After deployment, test the live URL with Google Rich Results Test or Schema.org Validator. The structured data should describe content that is actually visible or true on the page.

JSON-LD can be placed in the head or body of the HTML page inside a script tag with type application/ld+json. Many frameworks let you render that script from the page component or layout. The exact location is less important than making sure the JSON is valid and present in the rendered HTML. If your framework already wraps JSON-LD, copy the raw JSON output instead of the full script tag.

Use WebSite for a homepage or site-level entity, Article for blog posts and editorial pages, Product for ecommerce product detail pages, FAQPage for visible question-and-answer content, LocalBusiness for real business location pages, BreadcrumbList for navigation trails, Organization or Person for entity pages, VideoObject for video pages, HowTo for step-based instructions, and SoftwareApplication for tools or apps. The schema type should match the primary purpose of the page. Do not add schema for content that is not visible or true on the page.

No. Structured data can make a page eligible for rich results, but Google decides whether to show them based on quality, relevance, policy compliance, search query, device, and visible page content. Invalid or misleading markup can be ignored. Treat schema as clarity for search engines, not a guaranteed display feature. Always validate after publishing.

No. FAQPage schema should describe questions and answers that users can see on the page. Adding hidden, fake, or unrelated FAQ markup is against rich result guidelines and can cause the structured data to be ignored. If you want FAQ schema, publish useful visible FAQ content first, then generate JSON-LD that matches it exactly.

Product schema usually needs a product name, canonical URL, description, image, offer details, price, currency, availability, and optionally SKU, rating value, and review count. Only include ratings and reviews when they are real and visible or supported by trustworthy review data. Price and availability should stay current. Outdated Product schema can create misleading search snippets and validation warnings.

JSON-LD is structured data written as a standalone JSON script, while microdata is embedded directly in HTML attributes around page content. Google generally recommends JSON-LD because it is easier to maintain and less invasive in templates. This generator outputs JSON-LD so you can add or update structured data without rewriting visible HTML markup.

Paste the live page URL into Google Rich Results Test to check Google-supported rich result eligibility, and use Schema.org Validator for broader structured data validation. Testing raw code is useful during development, but testing the live URL catches rendering, deployment, and script injection issues. Fix errors first, then review warnings and recommended fields.

It should be consistent, though it does not need to be identical word for word. The schema name, headline, description, image, and canonical URL should describe the same page represented by your title tag, meta description, Open Graph tags, and canonical link. Inconsistent metadata and structured data can make the page harder for search engines to interpret.

Yes, when the page legitimately contains multiple entities or content types. A product page might include Product schema and BreadcrumbList schema, while an article page might include Article and FAQPage if the FAQs are visible. Keep each schema accurate and avoid adding markup for things that are not present. When in doubt, start with the primary page type and add supporting schema only when it adds real context.