# Schema Markup Generator

> Pick a Schema.org type, fill in a short form, and copy a ready JSON-LD script tag, with checks for the fields Google requires or recommends.

- Page: https://codethatmoves.com/tools/seo/schema-markup-generator/
- Site: Code That Moves
- Category: SEO and AI search
- Free, runs in the browser, nothing is uploaded
- Last checked: 2026-11-03

## What it does

- Article, BlogPosting, NewsArticle, FAQPage, BreadcrumbList, Organization, Person and WebSite
- JobPosting for Google for Jobs: HTML description, datePosted, validThrough, employmentType, hiringOrganization, jobLocation or fully remote (jobLocationType TELECOMMUTE with applicantLocationRequirements), baseSalary range with unitText, directApply and identifier
- Validate existing JSON-LD: paste the JSON or a page's HTML, get the JSON parse error with its line and column, and the same field checks for every object in an array or @graph; Edit in generator loads the known types into the form
- Rich result types: Product (offers, aggregateRating, review), LocalBusiness (address, geo, openingHoursSpecification), Event (dates, location, offers, eventStatus, eventAttendanceMode), Recipe, VideoObject and SoftwareApplication
- Article with several authors and a publisher URL and logo; Event performers as a group or a Person
- Recipe and video times typed as 1h 30m, 1h30m, 1.5h or minutes are written as ISO 8601 durations (PT1H30M); opening hours typed as Mo-Fr | 09:00-17:00 or Fr-Mo | 9am-5pm become OpeningHoursSpecification
- Cross-field checks from Google's docs: a product needs offers, a rating or a review; calories need servings; cookTime goes with prepTime; geo needs 5 decimal places; a video needs contentUrl or embedUrl
- Fields marked required or recommended, following Google Search Central where Google has a feature for the type
- Checks for missing fields, relative URLs, non-ISO dates and breadcrumbs without URLs
- Output escapes < so text in a field can never close the script element
- An approximate search preview for every type: stars and price for products and apps, time and calories for recipes, date and venue for events, a thumbnail with duration for videos, a business card with hours, breadcrumb trails, knowledge-panel-style cards and the FAQ accordion
- Several items in one script through @graph, for example Organization, WebSite and BreadcrumbList on the same page
- Checks real calendar dates, time zones on date-times, modified-before-published dates, http:// links, duplicate profiles and email format
- Copy the script tag, the JSON alone, or a share link that restores every item; one click copies the code and opens Google's Rich Results Test

## How to use it

1. Choose the type that matches what the page is: Article for a post, Product for a product page, Local business for a place people visit, Event, Recipe, Video or Software app for those pages, Breadcrumbs for the path, Organization or WebSite for the home page.
2. Fill in the fields. Lists take one item per line; FAQ and breadcrumbs take Question | Answer or Name | URL. Empty fields are left out of the output. The preview under the form sketches how the result could look.
3. To describe more than one thing on the page, press Add another item: the current item is saved and the script switches to a single @graph that holds them all.
4. To check markup a page already has, paste its JSON-LD or HTML into Validate existing JSON-LD, read the checks per item, and press Edit in generator to fix it in the form.
5. Copy the script tag into the page, keep it in line with what the page shows, and test the URL with Google's Rich Results Test or the Schema Markup Validator.

## What it checks and why

JSON-LD is the structured data format Google recommends. It sits in a script tag of type application/ld+json and describes the page with Schema.org types, so search engines can read who wrote an article, when it changed, what the breadcrumb path is, or which organization runs a site.

Google lists no required properties for Article; headline, image, datePublished, dateModified and author are recommended. BreadcrumbList needs a name and a position for each item and a URL for every item but the last. FAQPage needs each question with its accepted answer. Since August 2023 Google shows FAQ rich results only for well-known government and health sites, so for most sites FAQ markup no longer earns a rich result in Google.

Google retired the sitelinks search box worldwide on 21 November 2024, so a SearchAction in WebSite markup no longer adds a search field to results. Google says leftover markup causes no errors; the tool leaves it out. WebSite markup still feeds the site name Google shows above the URL.

For the rich result types the tool follows Google's feature docs. Product snippets need a name plus offers, a review or an aggregate rating. LocalBusiness needs a name and an address; geo (at least 5 decimal places), opening hours, phone and URL are recommended. Event needs a name, a startDate and a location with a name and address. Recipe needs a name and an image, and calories need recipeYield. VideoObject needs a name, thumbnailUrl and uploadDate. SoftwareApplication needs a name, offers.price (0 for free) and a rating or review. JobPosting needs a title, an HTML description, datePosted, hiringOrganization and jobLocation; a fully remote job uses jobLocationType TELECOMMUTE and lists the countries applicants may live in with applicantLocationRequirements. An aggregate rating needs ratingValue plus ratingCount or reviewCount.

Google's current event docs do not list eventAttendanceMode; it is a Schema.org property, and the tool writes it when you pick one. For an online-only event it writes a VirtualLocation with the join URL and warns that Google's event docs describe venues with an address.

Markup has to match the visible page. Google's structured data guidelines say not to mark up content that readers cannot see, and a page with misleading markup can lose rich result eligibility.

## Specs and sources

- [Google Search Central: Introduction to structured data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
- [Google Search Central: Article structured data](https://developers.google.com/search/docs/appearance/structured-data/article)
- [Google Search Central: Breadcrumb structured data](https://developers.google.com/search/docs/appearance/structured-data/breadcrumb)
- [Google Search Central blog: Changes to HowTo and FAQ rich results](https://developers.google.com/search/blog/2023/08/howto-faq-changes)
- [Google Search Central blog: Farewell, sitelinks search box](https://developers.google.com/search/blog/2024/10/sitelinks-search-box)
- [Google Search Central: Site names in Google Search](https://developers.google.com/search/docs/appearance/site-names)
- [Google Search Central: Product snippet structured data](https://developers.google.com/search/docs/appearance/structured-data/product-snippet)
- [Google Search Central: Review snippet structured data](https://developers.google.com/search/docs/appearance/structured-data/review-snippet)
- [Google Search Central: Local business structured data](https://developers.google.com/search/docs/appearance/structured-data/local-business)
- [Google Search Central: Event structured data](https://developers.google.com/search/docs/appearance/structured-data/event)
- [Google Search Central: Recipe structured data](https://developers.google.com/search/docs/appearance/structured-data/recipe)
- [Google Search Central: Video structured data](https://developers.google.com/search/docs/appearance/structured-data/video)
- [Google Search Central: Job posting structured data](https://developers.google.com/search/docs/appearance/structured-data/job-posting)
- [Google Search Central: Software app structured data](https://developers.google.com/search/docs/appearance/structured-data/software-app)
- [Schema.org: full hierarchy of types](https://schema.org/docs/full.html)

## Limits

- It covers thirteen common types and their main properties, not every Schema.org type or property (no Course, merchant listing shipping and returns, or nested Recipe video yet). The validator lists the properties of other types but has no form for them.
- Product, Recipe and SoftwareApplication take one aggregate rating and Product one review; more reviews, AggregateOffer and pros and cons need hand editing.
- Valid markup does not guarantee a rich result. Google decides what to show, and some types have no rich result at all.
- The search preview is an approximation drawn in the page, not Google's real layout, and it never loads your images.
- It does not fetch or test a live URL: paste the page's HTML instead, or use the Rich Results Test or the Schema Markup Validator.

## Questions

### What is schema markup?

Structured data, usually JSON-LD, that describes a page with Schema.org types such as Article or Organization, so search engines can understand its content and show rich results.

### Where do I put JSON-LD on a page?

In a script tag with type application/ld+json, in the head or the body. Google reads both. Add one script per item, or combine several items in an array.

### Does FAQ schema still work?

Since August 2023 Google shows FAQ rich results only for well-known government and health sites. The markup is still valid Schema.org, and other systems can read it.

### Does HowTo schema still work?

Not in Google. Google stopped showing HowTo rich results on mobile in August 2023 and on desktop on 13 September 2023, and calls the type deprecated. That is why this tool has no HowTo form; the markup is still valid Schema.org.

### What does JobPosting schema need?

Google requires title, description (HTML), datePosted, hiringOrganization and jobLocation. For a fully remote job, set jobLocationType to TELECOMMUTE and list the countries applicants may live in. validThrough, employmentType, baseSalary, directApply and identifier are recommended.

### How do I test schema markup?

Paste the code or the page HTML into Validate existing JSON-LD for field checks here, then paste the page URL or the code into Google's Rich Results Test to see which rich results it can get, or into the Schema Markup Validator to check it against Schema.org.

### Can I put several schema types on one page?

Yes. Use one script per item, or one script whose @graph array holds all of them under a single @context. Every item should describe something the page actually shows.

### What fields does Product schema need?

Google's product snippet docs require a name and at least one of offers, review or aggregateRating. An offer needs a price; priceCurrency and availability are recommended. An aggregate rating needs ratingValue and ratingCount or reviewCount.

### How do I write cook time in recipe schema?

As an ISO 8601 duration such as PT30M for 30 minutes or PT1H15M for 1 hour 15 minutes. Google asks to use cookTime together with prepTime, or totalTime on its own. Type 1h 15m in the tool and it writes the ISO form.

### What date format does schema markup use?

ISO 8601: 2026-10-21 for a date, or 2026-10-21T09:00:00+02:00 for a date and time. Google recommends adding the time zone; without it Google uses Googlebot's time zone.

### Is the sitelinks search box markup still needed?

No. Google stopped showing the sitelinks search box on 21 November 2024. Existing SearchAction markup does no harm, but it no longer changes the result.

### Is JSON-LD better than Microdata?

Google supports JSON-LD, Microdata and RDFa and recommends JSON-LD because it is the easiest to add and maintain: it sits in one block and does not change the visible HTML.
