Sign up free

Schema Markup Generator

Pick a schema type, fill in the form, see what Google still needs, and copy a ready JSON-LD script for your page.

About Schema Markup Generator

A schema markup generator saves you from writing JSON-LD by hand, where one missing comma breaks the whole block and a misspelled property is silently ignored. Choose one of 12 types: Article, FAQPage, Product with offer, rating, brand and SKU, Organization, LocalBusiness with address, opening hours and map coordinates, BreadcrumbList, Event, WebSite, Person, HowTo, VideoObject and SoftwareApplication. Questions, breadcrumbs, steps and opening hours are repeatable rows. As you fill in the form, the markup is checked against what Google asks for rich results: missing required properties show in red, the check turns green once everything required is there, and recommended properties are listed. Values in the wrong form are pointed out too, such as a relative link where a full https:// address is needed, a date that isn't in ISO form or a price with a currency sign.

To test markup you already have, choose Check existing code in the type list and paste any JSON-LD, with or without its script tag. Several blocks and @graph are fine, and everything is checked the same way. When a page needs more than one type, such as Organization, BreadcrumbList and Product, click Add to this page after each one and copy them together as one @graph. The notes also tell you what Google no longer shows: FAQ rich results only for well-known, authoritative government and health websites since August 2023, no HowTo rich results since September 2023 and no sitelinks search box since November 2024. A link to the Google Rich Results Test sits next to the result, and our Structured Data Checker tests the published page. The generator runs in your browser, and nothing is uploaded.

How to use Schema Markup Generator

  1. 1
    Choose the type

    Pick the schema type that matches the page, or Check existing code to test markup you already have.

  2. 2
    Fill in the fields

    Enter the details, adding a row for each question, breadcrumb, step or set of opening hours, and fix whatever the check flags.

  3. 3
    Copy the JSON-LD

    Copy the script block, or collect several types with Add to this page and copy them as one @graph, then paste it into the page's HTML.

  4. 4
    Test the live page

    Run the published page through the Structured Data Checker or the Google Rich Results Test.

Why use Cubfile for this

  • Google's requirements checked

    Missing required properties show in red, complete markup turns green, and recommended properties are listed.

  • Wrong values caught

    Relative links, dates and durations not in ISO form, prices with a currency sign, bad currency codes, GTINs and ratings.

  • Check existing code

    Paste any JSON-LD, with or without the script tag, including @graph and several blocks.

  • One @graph per page

    Add Organization, BreadcrumbList, Product and more to this page's markup and copy it as one block.

FAQ

Schema Markup Generator: questions and answers

Which schema types can this generator make?
Article, FAQPage, Product, Organization, LocalBusiness, BreadcrumbList, Event, WebSite, Person, HowTo, VideoObject and SoftwareApplication. Each one is checked against what Google asks for rich results.
Can I check JSON-LD that's already on my page?
Yes. Choose Check existing code in the type list and paste the markup, with or without the script tag. Several blocks and @graph are fine, and it's checked like generated code, for missing required properties, recommended ones and values in the wrong form.
Where do I paste the JSON-LD code?
Anywhere in the page's HTML. Google reads JSON-LD in both the head and the body, and one page can carry several blocks, or all its types in one @graph made with Add to this page. Open Graph tags for share cards belong in the head as well, and the Open Graph Generator writes them.
Will schema markup get me rich results?
It makes a page eligible, but the search engine decides what to show. Since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites, it stopped showing HowTo results in September 2023, and it dropped the sitelinks search box in November 2024. WebSite markup is still useful, because Google reads it when choosing the site name shown in results.
What mistakes does the check catch?
Missing required properties, and values in the wrong form: relative addresses that should start with https://, dates not in ISO form, prices with a currency sign, currency codes that aren't three capital letters, GTINs with the wrong length or check digit, durations not written in ISO 8601 like PT30M, and ratings that aren't numbers.
Share Schema Markup Generator with a friendIt runs in any browser, and they can try it without signing up.

Related tools

XML XML Sitemap GeneratorCrawl your site or paste a list of URLs to build an XML sitemap.
HTML Meta Tag GeneratorWrite title, description and robots tags with live length checks and a preview.
TXT Robots.txt GeneratorCreate a robots.txt with presets for search engines and AI crawlers.
HTML Open Graph GeneratorMake Open Graph and Twitter Card tags and preview the share card.
CONF 301 Redirect GeneratorGet redirect rules for Apache, Nginx, IIS, PHP and HTML.
URL UTM Link BuilderAdd UTM tags to links so you can track campaigns in analytics.
HTML Hreflang Tag GeneratorBuild hreflang tags for every language version of a page.
CONF Htpasswd GeneratorCreate .htpasswd lines for Apache and Nginx basic authentication.