How to use Schema Markup Generator and Validator
- Choose Build markup, pick a type and fill in the name and the address, which every type needs.
- Add the properties that fit the type, such as an author and publisher for an article, an address for a business, a price for a product, or a start date and place for an event.
- Select Build or validate schema, then copy the script block or download the JSON file.
- To check a block you already have, choose Check pasted JSON-LD, paste the whole thing and read the problems and the notes.
Example: Schema Markup Generator and Validator
Build an Article block for a guide page and then check the same block for structural problems.
Options
- Type to build
- Ten types are offered: Article, BlogPosting, WebSite, WebPage, Organization, LocalBusiness, Person, Product, Event and SoftwareApplication. Only the properties that fit the chosen type are written, so a field you filled in for another type is quietly left out rather than copied into the wrong place.
- JSON-LD to check
- The check accepts one object, an array of objects, or an object with a @graph list. It reads names, identifiers, address-looking values, dates and prices anywhere in the document, up to eight levels deep.
Supported inputs and limits
Where your input is processed
This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.
Reading a JSON-LD block before you trust it
JSON-LD is a plain JSON document, which makes it easy to read and easy to get subtly wrong. The parts worth checking first are the context, which says the terms come from schema.org; the type, which says what the node describes; and the properties, which must describe the page the block sits on rather than a page you wish it were. A block that names a price the page does not show, a rating with nothing behind it or a business address that is out of date is worse than no markup, because it states something untrue in a form a machine reads. Build the block from the page, keep the values in the page's own currency and wording, and test the published page again after it is indexed.
schema.org: the vocabulary these types come from
Questions about Schema Markup Generator and Validator
Which type should I pick?
Pick the type that matches what the page is about. An article or blog post takes Article or BlogPosting, a company or shop takes Organization or LocalBusiness, a product page takes Product, a dated gathering takes Event, and a site or a single page takes WebSite or WebPage. When two types seem to fit, build the one that describes the page's main subject, because a reader is looking for one clear statement of what the page is.
Does valid JSON-LD mean I get a rich result?
No. This check reads the shape of the file, and a rich result also depends on what the page shows, on the rules the search engine applies to that type, and on data the markup does not carry. Use it to remove structural mistakes before you test the live page with the search engine's own tool.
Why does the check call my type unknown?
The checker recognises a fixed list of common types and reports anything outside it as a note, then still runs the generic checks for missing context, missing type, duplicate identifiers, addresses, dates and prices. Your type may be perfectly valid and simply outside the list this page carries.
Can I build a BreadcrumbList or an FAQPage here?
Not with the generator, because those types are built from a list of entries and this form writes one node at a time. The checker does read them, so paste a BreadcrumbList, FAQPage or HowTo block you already have to see whether its parts hold together.
Is my markup sent anywhere?
No. The block is built and checked in this browser, and the download is created from the text on this page. Nothing is uploaded, and none of the addresses in the markup are opened or tested.