Free Course Schema Generator - JSON-LD | OneStepToRank

Course Schema Generator

Generate valid Course JSON-LD structured data for online courses and training programs. Help Google display rich course results with provider, pricing, and schedule details.

Build Your Course Schema

Only add aggregate rating data if your page genuinely displays user-generated reviews and ratings. Fabricating or inflating review data violates Google's structured data guidelines and may result in a manual action.

Want Automated Schema Monitoring?

OneStepToRank monitors your structured data in production, alerts you when schema breaks, and tracks how your rich results change over time.

Get Started

What is Course Schema?

Course schema is structured data markup that tells search engines a page describes an educational course. Built on the Schema.org Course type, it provides machine-readable details about the course name, description, provider, instructor, delivery format, schedule, and pricing. When Google reads this markup, it can display your course in enhanced search results with rich snippets showing the provider name, price, rating, and schedule details directly in the SERP.

Without Course schema, Google has to infer course details from the raw HTML on your page. It may miss the instructor, display the wrong price, or fail to associate the course with its provider. Structured data removes that ambiguity. You explicitly declare what Google needs to show, increasing the likelihood of appearing in course-specific rich results, carousels, and the dedicated Courses filter in Google Search.

How Course Rich Results Appear in Google

Google uses Course schema to power several enhanced search features. The most common is the course rich result, which displays the course name, provider, and a short description in a visually distinct card format. For queries like "machine learning courses" or "web development training," Google may show a dedicated Courses carousel pulling data directly from structured markup on course pages.

Rich course results can include the provider name (such as Coursera, Udemy, or a university), the price or "Free" label, aggregate ratings with star icons, and the delivery mode (Online, Onsite, or Blended). These details help users compare courses at a glance without clicking through, which paradoxically increases click-through rates because users can quickly identify the most relevant option. Pages with Course schema consistently outperform plain blue links for education-related queries.

Course vs CourseInstance -- Understanding the Structure

The Course schema has two key components that work together:

  • Course -- Describes the course itself: its name, description, subject, provider, and general information. Think of this as the course catalog entry that remains constant across sessions.
  • CourseInstance -- Describes a specific offering or session of the course. This includes the start date, end date, delivery mode (online or onsite), location, and instructor. A single Course can have multiple CourseInstance entries for different semesters, cohorts, or time slots.

Google recommends including at least one CourseInstance with schedule and mode details for the best chance of triggering rich results. If your course is self-paced with no fixed dates, you can omit CourseInstance entirely, but including it with a courseMode of "Online" still strengthens the markup.

Tips for Maximizing Course Schema Impact

To get the most out of your Course structured data, follow these best practices:

  • Include the provider -- Always specify the organization offering the course. Google uses this to group courses by provider in carousel results.
  • Add pricing -- Courses with explicit pricing (including "0" for free courses) are more likely to receive rich result treatment. Users actively compare prices in search results.
  • Use accurate ratings -- Only include aggregateRating if your page displays genuine user reviews. Fabricated ratings violate Google's guidelines and risk a manual action.
  • Specify the language -- The inLanguage property helps Google serve your course to users searching in that language, improving relevance for international audiences.
  • Keep dates current -- Outdated CourseInstance dates signal to Google that the page may be stale. Update start and end dates for each new session or cohort.

After implementing your Course schema, validate the live page with the Rich Results Test and monitor the Enhancements report in Google Search Console for errors. Use this generator alongside our Local Rank Checker to measure how structured data improvements affect your visibility in search results.

Frequently Asked Questions

What is Course schema markup?

Course schema markup is structured data you add to web pages that describe educational courses. It uses the Schema.org Course type encoded in JSON-LD format to provide machine-readable details like the course name, description, provider, instructor, schedule, and pricing. When Google reads this markup, it can display your course in enhanced search results with rich snippets showing the provider, price, rating, and availability directly in the SERP.

How does Course schema appear in Google search results?

Course schema can trigger a dedicated course rich result in Google Search. This enhanced listing typically shows the course name, provider or institution name, a short description, and may include details like price, rating, and duration. Google also uses Course markup to populate its dedicated Education carousel and the Courses filter in search results, giving marked-up courses significantly more visibility than plain blue links.

What is the difference between Course and CourseInstance?

Course describes the general course itself, including the name, description, provider, and subject matter. CourseInstance describes a specific offering or session of that course, with details like start date, end date, location, delivery mode (online or onsite), and instructor. A single Course can have multiple CourseInstance entries representing different sessions, semesters, or cohorts. Google recommends including at least one CourseInstance with schedule details for the best chance of rich results.

Is Course schema only for online courses?

No. Course schema works for any type of educational course, whether online, in-person, or blended. The courseMode property on CourseInstance lets you specify the delivery format: Online for virtual courses, Onsite for in-person classes, and Blended for hybrid formats. You can also specify a physical location for onsite courses. This makes Course schema suitable for universities, training centers, workshops, bootcamps, and MOOCs alike.