Course Schema Generator
Generate valid Course schema markup (JSON-LD) for your online courses, tutorials, and educational content. This tool helps search engines understand your course offerings and can lead to rich results in Google. Fill in the details below and copy the generated code into your page's head section.
Your course name and description will be used when people share your course on social media. Here's how they fit within each platform's limits.
Title Limits
Description Limits
Generated Course Schema (JSON-LD)
Social Media Title and Description Limits
When your course page gets shared on social media, platforms pull your title and description for the preview card. Each platform has different character limits for what they display. Here's a quick reference so you can optimize your content.
| Platform | Title Limit | Description Limit |
|---|---|---|
| X (Twitter) | 70 characters | 200 characters |
| 88 characters | 300 characters | |
| 200 characters | 256 characters | |
| 100 characters | 500 characters | |
| Google SERP | 60 characters | 160 characters |
Keep in mind that these limits can change as platforms update their designs. The numbers above are based on what each platform typically displays before cutting off the text with an ellipsis.
What is Course Schema?
Course schema is a type of structured data that tells search engines about your educational content. It uses the Schema.org vocabulary in JSON-LD format, which is Google's preferred method for adding structured data to web pages.
When you add Course schema to your pages, you're giving search engines detailed information about your course - the name, description, provider, price, duration, and more. This helps Google understand what you're offering and can lead to enhanced search results with rich snippets that show course details right in the search results.
Why Should I Use Course Schema?
Adding Course schema to your educational content has several benefits.
- Better search visibility. Google can display rich results for your courses, showing details like price, provider, and ratings directly in search results.
- Improved click-through rates. Rich results stand out more than plain text listings, which can lead to more clicks.
- Voice search optimization. Structured data helps voice assistants understand and recommend your courses.
- Future-proofing. As search engines get smarter, having well-structured data becomes more important for discoverability.
What Delivery Mode Should I Choose?
The delivery mode tells search engines how your course is taught.
- Online. The course is delivered entirely over the internet. This includes video courses, webinars, and any self-paced digital learning.
- Onsite. The course happens at a physical location. This is for in-person classes, workshops, and seminars.
- Blended. A mix of online and in-person instruction. Use this if students attend some sessions in person and complete others online.
Most courses sold online should use the "Online" option. If you're not sure, Online is usually the safe choice for digital products.
How Do I Add This Schema to My Website?
After generating the schema code, you need to add it to your course page. Here's how to do it.
- Copy the generated JSON-LD code using the Copy button.
- Open your course page's HTML file or template.
- Paste the code inside the <head> section, or just before the closing </body> tag. Either location works.
- Save and publish your changes.
If you're using a course platform like Teachable, Thinkific, or Kajabi, check their documentation for adding custom code to your pages. Most platforms have a section for adding scripts to your page header.
For WordPress users, you can add the code through your theme's header.php file, use a plugin like Insert Headers and Footers, or add it via your SEO plugin if it supports custom schema.
What Fields Are Required?
Google has specific requirements for Course schema. At minimum, you need to include these fields.
- name. The title of your course.
- description. A description of what the course covers.
- provider. The organization or person offering the course.
For the best chance at rich results, you should also add the course image, price information, and instructor details. The more complete your schema, the better Google can understand and display your course in search results.
How Can I Test My Schema Markup?
After adding the schema to your page, you should validate it to make sure everything looks right. Google provides two tools for this.
- Rich Results Test. This tool shows you if your page qualifies for rich results and highlights any problems. Visit search.google.com/test/rich-results to use it.
- Schema Markup Validator. This is the official Schema.org validator at validator.schema.org. It checks your markup against the Schema.org specification.
You can test by entering your page URL or by pasting the code directly. If you see any errors or warnings, fix them and test again until everything passes.
Related Tools
Let's Grow Your Business
Want some free consulting? Let’s hop on a call and talk about what we can do to help.