Skip to content

JSON-LD output

Enter a course name and description (or click load example) to generate Course JSON-LD.

This tool checks one thing. Our audit checks 190+.

DarnItSEO Audit scans your entire site and writes the fix instructions for every issue it finds. Included in every yearly plan.

Turning a course page into structured course data

This tool builds Course structured data in JSON-LD, the markup that tells Google and other engines a page describes an educational course: a structured series of instruction toward learning a skill or subject, whether it is an online video bootcamp, a university class, a weekend workshop, or a multi-week cohort. You supply the course name, what it teaches, who provides it, and how it is delivered, and the generator returns a code block you paste into the page. Google retired its Course info rich result in 2025, so this markup no longer earns a dedicated course result in Google; it remains valid Schema.org that describes the course clearly to search engines and AI tools.

The education space is crowded and people compare options heavily before enrolling. Marking up a course well distinguishes a genuine educational offering from a generic landing page and increasingly feeds AI tools that recommend learning paths. For course providers, edtech platforms, and creators selling cohorts, it is one of the highest-leverage schema types available.

Name, description and provider: the course essentials

At minimum, a Course needs a name, a description, and a provider. The name is the course title as a prospective learner would search for it, clear and specific rather than clever. The description explains what the course covers and what someone will be able to do after completing it, in at least a sentence or two of real substance that matches the page. provider is the organization or institution offering the course, given as an Organization object with a name and ideally a url and sameAs link, because Google wants to know who stands behind the education being marked up.

Google's guidance has evolved toward expecting more than these basics for full eligibility, particularly the addition of course instance details and offers. The provider especially deserves care: a well-known, clearly identified provider with a consistent presence across the web is a strong trust signal in a category where credibility is everything. A vague or missing provider weakens the markup and the offering's perceived legitimacy in equal measure.

Course instances, mode, and schedule

The property that has become central to modern Course markup is hasCourseInstance, which describes a concrete offering of the course: a specific run with a delivery mode, a schedule, and sometimes a location. Each CourseInstance carries a courseMode such as Online, Onsite, or Blended, which is critical because learners filter heavily on whether a course is remote or in person. For scheduled cohorts, the instance also carries start and end dates and a courseWorkload describing the expected time commitment, for example "PT4H per week".

Distinguishing the abstract Course from its concrete instances is the part people most often get wrong, yet it is exactly what lets a single course page represent both an evergreen self-paced version and a series of dated live cohorts. A self-paced online course is typically one instance with an online mode and a flexible schedule, while a course that runs in scheduled sessions should list each session as its own instance with real dates. Getting this structure right is what makes the markup accurately reflect how learners actually enroll.

Offers, pricing, and prerequisites

Price information makes the course description complete, and the offers property supplies it: an Offer with price, priceCurrency, and a url to enroll. For free courses, set the price to 0 and still include the currency. Including honest pricing is what makes a course listing actionable and is now effectively part of the eligibility bar for the course experience. As always, the price in the markup must match the price a visitor sees, and invented or bait pricing is a policy violation.

Beyond pricing, properties like coursePrerequisites, educationalCredentialAwarded, and about let you describe what a learner needs going in, what credential or certificate they earn coming out, and the subject matter the course addresses. These are not all strictly required, but they meaningfully improve how clearly the course is classified and matched to learner intent. A course that awards a recognized credential, in particular, benefits from saying so explicitly, since that is a major decision factor for many learners.

A few more properties help learners self-select. teaches names the specific skills or outcomes the course delivers, which is more concrete than a general description and maps neatly to "learn to do X" searches. educationalLevel signals whether the course is beginner, intermediate, or advanced, sparing a beginner from clicking into a course that assumes prior expertise. inLanguage states the language of instruction, which matters for a global audience and for AI tools filtering by language. timeRequired or the instance-level courseWorkload sets the time commitment up front. None of these is mandatory, but each removes a reason a learner might bounce, and together they make the offering far easier for both search engines and AI recommenders to match to the right person.

One course, a self-paced version and a live cohort

The example below models a common setup: the same course sold as an always-available online version and as a dated blended cohort. Each run is its own CourseInstance, the self-paced one has a workload but no dates, and the cohort has real start and end dates, a weekly schedule and a location. The single Offer covers both because the price is the same.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Course",
  "name": "SQL for Data Analysis",
  "description": "Learn to query, join and summarise business data with SQL, from SELECT basics to window functions, using real sales datasets.",
  "url": "https://www.learnpath.io/courses/sql-for-data-analysis",
  "provider": {
    "@type": "Organization",
    "name": "LearnPath",
    "url": "https://www.learnpath.io/",
    "sameAs": "https://www.linkedin.com/company/learnpath"
  },
  "teaches": ["SQL joins", "Aggregate functions", "Window functions"],
  "educationalLevel": "Beginner",
  "inLanguage": "en",
  "educationalCredentialAwarded": "Certificate of completion",
  "offers": {
    "@type": "Offer",
    "category": "Paid",
    "price": "49.00",
    "priceCurrency": "USD",
    "url": "https://www.learnpath.io/courses/sql-for-data-analysis/enroll"
  },
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": "Online",
      "courseWorkload": "PT12H"
    },
    {
      "@type": "CourseInstance",
      "courseMode": "Blended",
      "startDate": "2027-01-12",
      "endDate": "2027-02-23",
      "courseSchedule": {
        "@type": "Schedule",
        "repeatFrequency": "P1W",
        "repeatCount": 6
      },
      "location": "LearnPath Studio, 40 Market St, Chicago, IL"
    }
  ]
}
</script>

Checking the instances and offers in the output

The output is a single script block with type application/ld+json holding an object whose @context is schema.org and @type is Course. Inspect it and confirm three things: the provider is a proper Organization object with a name, at least one hasCourseInstance is present with a courseMode, and any offers include both a price and a currency. Dates inside course instances should be ISO 8601, and the courseWorkload, if present, uses the same PT duration format as other schema times. Empty fields should be omitted rather than left blank.

Sanity-check that the instance structure matches reality. If your course is purely self-paced, you should not have a string of dated cohort instances; if it runs in live sessions, those sessions should appear as distinct instances rather than being flattened into one. The single most common gap in course markup is missing instance and offer detail, so verify those sections are genuinely populated.

Course markup errors that cost eligibility

The most frequent Course-specific mistake is confusing the type entirely. Course is for actual structured education that teaches a skill or subject. A single how-to blog post should use HowTo or Article, a product training video might be better as VideoObject, and a page that merely sells access to a tool is not a course at all. Applying Course schema to non-course content, or to a thin page with no real curriculum, is a structured-data violation under Google's structured data guidelines.

The second big mistake is omitting hasCourseInstance and offers, which leaves the course description incomplete. A third is mismatching courseMode with reality, labeling an in-person workshop as Online or vice versa, which confuses the filters learners rely on. A fourth is stale dates: live cohorts whose start dates are long past but still marked as upcoming. And as everywhere, fabricated ratings or prices that do not match the enrollment page put the markup and the whole site at risk.

How AI tutors and assistants pick courses to recommend

Education is one of the categories where AI assistants are most actively asked to recommend. People prompt these tools with "what's a good course to learn data analysis" or "find me a beginner Python class that's self-paced and under fifty dollars", and the systems answering depend on structured course data to respond with specifics. A course marked up with a clear provider, an explicit delivery mode, a real schedule, a credential, and an honest price gives an AI engine everything it needs to surface and compare the offering, which is far more than it can extract from a wall of sales copy.

As AI-driven learning recommendations grow, the providers whose courses are cleanly described in machine-readable form will have an edge in being recommended, just as they already have an edge in Google's course experience. Course schema is therefore not just about a current rich result; it is about being legible to the next generation of search and recommendation surfaces that learners are starting to trust for guidance.

Installing Course markup on your platform

WordPress

LMS plugins such as LearnDash, Tutor LMS and LifterLMS, and SEO plugins like Rank Math (which has a Course schema type), may already print Course markup, so view the page source first. If nothing is there, or you need instance details the plugin cannot produce, paste the generated script into a header snippet with WPCode scoped to that course page, and switch off any partial Course output from the plugin so there is only one block.

Shopify

Courses sold as Shopify products usually get the theme's Product markup. For the course itself, add the script to the product template through a Custom Liquid block, or in theme.liquid wrapped in {% if product.handle == 'sql-for-data-analysis' %}, so it only prints on that course's page.

Google Tag Manager

Add a Custom HTML tag with the script and trigger it on a Page View matching the course URL. Google can read JSON-LD that GTM injects once it renders the page, but server-rendered markup is more dependable, especially for cohort dates and prices that change and need to be picked up quickly.

Testing and keeping cohort dates current

Paste the generated block into the head of the specific course page, then check it with the Schema.org validator (or our schema validator) to confirm the JSON-LD parses and the course instance, offer and provider are complete. Google retired its Course info rich result in 2025, so do not expect a dedicated course result, Rich Results Test eligibility or a Course report in Search Console. The markup is still valid Schema.org that search engines and AI tools can read.

Keep instance dates and pricing current as cohorts come and go, retire or update instances whose dates have passed, and make sure the markup always agrees with what a prospective learner sees on the page. A course offering changes over time more than most content, so the schema needs the same regular upkeep as the enrollment page itself.

Before publishing, the JSON-LD Validator catches syntax errors, and the schema markup tester checks the markup once the page is live. Build the provider once with the Organization Schema Generator so every course points at the same entity. Our schema markup guide covers how the types fit together.

How it works

  1. Enter Course Details

    Add the course name, description, and the provider organization that offers it.

  2. Add Pricing and URL

    Include the enrollment price, currency, and course URL to qualify for richer results.

  3. Copy Course JSON-LD

    Paste the generated markup into your course landing page head section.

Frequently asked

What is Course schema and what rich result does it enable?

›

Course schema marks up an educational offering with a name, description, and provider. When combined with course list pages, it can make your courses eligible for Google's course rich results and course carousels, which display the course title, provider, and details directly in search for education-related queries.

What fields does Google require for Course rich results?

›

Google requires at minimum a name, a description, and a provider with a name and url. To appear in the richer course list experience, Google also expects offers (price and currency), and details like hasCourseInstance with course mode, schedule, and instructor. Without provider and description you will not qualify.

What is the difference between Course and CourseInstance?

›

Course describes the course in general, its title, subject, and provider. CourseInstance (added via hasCourseInstance) describes a specific scheduled offering: the dates, location, delivery mode (online or onsite), and instructor. A single Course can have multiple instances, such as a January and a June cohort of the same class.

How do I mark a free course?

›

Add an offers object with price set to 0 and a priceCurrency. Setting price to 0 explicitly signals a free course, which Google handles differently from a missing price. You can also add a category of Free. Do not omit offers entirely if the course is free, as that loses eligibility for pricing-aware rich results.

Can I use Course schema for a single lesson or video?

›

Not ideally. Course schema is for a structured educational program with learning outcomes, not an isolated tutorial video. For a standalone how-to video, use VideoObject or HowTo schema instead. Reserve Course for offerings that have a curriculum, a provider, and typically enrollment or completion.

Does the provider have to be an accredited institution?

›

No. The provider can be any Organization or Person that offers the course, including independent creators, bootcamps, and companies. What matters is that the provider name and url are accurate and that the course content genuinely matches the markup. Misrepresenting an informal video as an accredited course risks a manual action.

How does Course schema help with AI search?

›

AI assistants and AI Overviews increasingly answer learning intent queries like best course to learn X. Structured Course data gives them a clean, machine-readable summary of your title, level, provider, and price, improving the odds your offering is surfaced and cited accurately rather than being skipped in favor of competitors with clearer markup.

Related tools

More Schema Markup tools

See all Schema Markup tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans