PublicSoftTools

Schema Markup Generator — Free JSON-LD Tool

Generate valid JSON-LD structured data for 8 schema types: Article, Product, FAQPage, LocalBusiness, Organization, WebSite, Event, and BreadcrumbList. Fill the form, copy the output, and paste it into your page head. No signup, runs entirely in your browser.

JSON-LD Output
{
  "@context": "https://schema.org",
  "@type": "Article"
}

Paste this code inside a <script type="application/ld+json"> tag in the <head> of your page.

How the Schema Markup Generator Works

  1. 1Select a schema type from the type picker — Article, Product, FAQPage, LocalBusiness, Organization, WebSite, Event, or BreadcrumbList.
  2. 2Fill in the form fields on the left. Required fields are marked with an asterisk. Empty optional fields are automatically omitted from the output.
  3. 3The JSON-LD output on the right updates in real time as you type. Review the structure to confirm it looks correct.
  4. 4Click Copy to copy the JSON-LD to your clipboard, then paste it inside a <script type="application/ld+json"> tag in your page's <head>.

Why Structured Data Improves Search Visibility

Search engines read the text of your page, but structured data gives them explicit, machine-readable facts: this is a product priced at $49.99, this business is open Monday to Friday, this page lists ten frequently asked questions. That precision lets Google generate rich results — enhanced snippets that include star ratings, prices, event dates, or FAQ dropdowns directly in the search listing.

Rich results consistently achieve higher click-through rates than standard blue links because they surface more information before the user even clicks. A product page with a star rating and price visible in search gets more qualified clicks from buyers who already know the price. An FAQ schema that expands two questions directly in search results keeps your page relevant to users researching a topic.

Tips for Effective Schema Markup

Match content to schema

Only include schema for content actually visible on the page. Do not add a Product schema on a blog post page — Google may penalise mismatches between schema and visible content.

Use specific types when possible

LocalBusiness has subtypes like Restaurant, Hotel, and MedicalBusiness. Using a specific subtype gives search engines more context and may unlock richer result formats.

Validate before deploying

Paste your JSON-LD into Google's Rich Results Test at search.google.com/test/rich-results to confirm it qualifies for enhanced search features before publishing.

Keep FAQs accurate

Google shows FAQ rich results only when the questions and answers are genuinely informative. FAQ schema added purely for rich results without matching visible content on the page risks being ignored or demoted.

Add BreadcrumbList to every page

BreadcrumbList schema tells Google the hierarchical position of a page within your site. It typically renders as a breadcrumb trail below the page title in search results, improving context and navigation.

Combine multiple schema types

A page can have multiple JSON-LD blocks. A product page might include Product schema for the item and BreadcrumbList for navigation. Generate each type separately and add both tags to your page head.

Frequently Asked Questions

What is schema markup and why does it matter for SEO?

Schema markup is structured data added to a web page that helps search engines understand the content — what type of thing it describes, who created it, when it was published, and more. Google uses it to generate rich results in search: star ratings for products, FAQ dropdowns, event dates, and sitelinks search boxes. Pages with accurate schema markup tend to achieve higher click-through rates because their search snippets are more informative.

What is JSON-LD and how do I use this output?

JSON-LD (JSON for Linked Data) is the format Google recommends for schema markup. It is a plain JSON object wrapped in a <script type="application/ld+json"> tag and placed inside the <head> of your HTML document. It does not affect page rendering — it is invisible to visitors but readable by search engine crawlers. Copy the output from this tool and paste it directly into your page's <head> section.

Which schema type should I use?

Choose the type that best matches your content: Article for blog posts and news; Product for e-commerce pages; FAQPage for pages with a list of questions and answers; LocalBusiness for physical business locations; Organization for company homepages; WebSite for your site's root page (also enables Sitelinks Searchbox); Event for conferences, concerts, and meetups; BreadcrumbList for navigation breadcrumbs.

Can I have multiple schema types on one page?

Yes. You can include multiple <script type="application/ld+json"> blocks in one page, each with a different @type. For example, a product page might include both a Product schema and a BreadcrumbList schema. Generate each type separately using this tool and add both script tags to your page head.

What fields are required vs optional?

Fields marked with * are required for a minimal valid schema. All other fields are optional but add more context for search engines. Google's Rich Results requirements are stricter than the schema.org spec: for example, Product rich results require name, image, and at least one of offers/aggregateRating/review. Check Google's Rich Results documentation for type-specific requirements.

Does the tool validate my schema?

The tool generates syntactically valid JSON-LD and omits empty fields automatically. For full validation — including checking required fields for specific rich result types — paste the generated code into Google's Rich Results Test (search.google.com/test/rich-results) or Schema Markup Validator (validator.schema.org).

Is my data stored or sent anywhere?

No. Everything runs entirely in your browser. No data is transmitted to any server. Your form inputs stay on your device.

Can I use this output in a CMS like WordPress?

Yes. Paste the <script type="application/ld+json"> block into your theme's header template, a custom HTML block in the page editor, or a plugin that supports custom code in the head section. In WordPress, plugins like Rank Math, Yoast, or Insert Headers and Footers can inject the tag for you.