Course Schema Generator
Produce Course JSON-LD with the provider and instance details that make a course eligible for a course listing.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Course Schema Generator does
The course schema generator on this page will produce Course JSON-LD with the provider and instance details that make a course eligible for a course listing. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for marking up a course page so it can appear in a course listing in search. More utilities in this area are collected on FreeToolsWorld.org.
How to use it
- Give the course a name, a description and a provider; all three are required.
- Add dates, mode or an instructor to produce a CourseInstance block.
- Paste the output into the head of the course page.
How it works
Course markup describes a course as an idea; CourseInstance describes one actual running of it. The distinction is the thing to get right. "Introduction to Espresso" is the Course — it has a name, a description and a provider, and those do not change between terms. The May-to-June evening cohort is a CourseInstance, with its own dates, mode and instructor. A page about a course that runs repeatedly wants one Course containing one or more instances.
Google requires name, description and provider for a course to be eligible at all, and this tool names any of the three you have left out. For the course list experience it also wants either a price or a clear free indication, which is why an Offer with price 0 is marked category Free rather than simply omitted — a free course that says nothing about price looks like a course with missing data.
courseMode is a short string rather than a URL — Onsite, Online, Blended, Full-time, Part-time — and repeatFrequency uses ISO 8601 duration notation, where P1W is weekly, P1D daily and P1M monthly. Both are small details that fail validation quietly when written in plain English instead.
When to use it
- Marking up a course page so it can appear in a course listing in search.
- Describing a course that runs several times a year without duplicating the page.
- Getting the CourseInstance and Schedule shapes right without reading the spec.
- Making a free course explicitly free in markup rather than silent about price.
Common mistakes to avoid
- Putting dates on the Course rather than on a CourseInstance. The course is the idea; the dates belong to a particular run.
- Omitting provider. It is required, and a course with no provider is not eligible for any rich result.
- Writing repeatFrequency as "weekly". It is an ISO 8601 duration — P1W.
- Leaving a free course with no Offer at all, which reads as missing data rather than as free.
Frequently asked questions
What is the difference between Course and CourseInstance?
Course is the course as a subject — name, description, provider. CourseInstance is one running of it, with dates, mode and an instructor. One Course can hold several instances.
Which fields does Google require?
name, description and provider, as a minimum. For the course list experience, price information as well. The tool lists whichever of those you have not supplied.
How do I say a course is free?
Give price 0 and a currency. The tool marks the Offer category as Free automatically.
What values can courseMode take?
Short strings such as Onsite, Online, Blended, Full-time or Part-time. Unlike availability it is not a schema.org URL.