Jump To:
Let’s get one thing straight: it’s not cheating to use ChatGPT to write schema markup.
In fact, it’s one of the smartest AI assists you can use to boost your SEO efforts.
Here’s the deal: I’m not a coder. I’m really good at thinking like Google, I’ve got a solid handle on tech, and I love to write—but I’m not a developer.
Learning to write schema markup from scratch? Definitely not on my 2024 bingo card.
But I knew I wanted to start implementing schema markup on my own website and for my clients, and I was looking for a simple, no-fuss way to make that happen.
Enter ChatGPT. It’s a tool that makes generating schema easy—even for non-coders like me. And if you’re in the same boat, this is the guide for you.
In this post, I’ll show you how to use ChatGPT to create schema for your website, so you can make sure Google understands exactly who you are, what you do, and how your content helps the right audience find you.
And no, you don’t need to be a tech genius to make it work!
What is Schema?
Schema, also known as structured data, is like giving Google a cheat sheet for understanding your website.
It’s a special type of code that tells search engines exactly what your content is about, rather than leaving them to guess based on headings and keywords alone.
Without schema, Google’s pretty good at making educated guesses about what’s on your site.
But why leave it up to chance when you can just hand over the answers? With schema, you can directly specify to search engines things like:
- Who you are (Person schema)
- What services you offer (Service schema)
- What products you sell (Product schema)
- What FAQs you’re answering (FAQ schema)
While schema can lead to cool stuff like rich results (those flashy star ratings or FAQ boxes in search), for most of us, the real value is just making sure Google understands what the heck our content is all about.
If Google can’t figure out your website, it’s not going to show it to the people who need it most.
Structured Data and Schema: What’s the Difference?
Structured data is a broad term that covers any data on your site that’s neatly organized.
Think heading tags (H1, H2), lists, tables—you know, the usual suspects that give your page structure.
Schema is a more specific type of structured data that takes things further.
It provides search engines with crystal-clear instructions on what your content means. It helps Google stop guessing and start knowing what your website is about.
In short: all schema is structured data, but not all structured data is schema. Schema is your opportunity to make sure Google knows exactly what’s happening on your website without any misunderstandings.
Basic Schema Structure and Types
Schema might sound intimidating, but it’s not as complicated as it seems.
It’s usually written in JSON-LD format, which is just a fancy way of saying it’s structured so search engines can read it easily.
Here’s the basic structure you’ll see with schema:
- @context: This tells Google you’re using schema.org standards (basically the gold standard for structured data).
- @type: This is where you define what kind of content you’re talking about (e.g., person, product, service).
- Properties: These are the juicy details like name, description, price, etc.
Here’s an example schema markup specifying information about a person:
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Your Full Name",
"jobTitle": "Your Job Title",
"worksFor": {
"@type": "Organization",
"name": "Your Organization Name"
},
"url": "https://www.yourwebsite.com",
"image": "https://www.yourwebsite.com/path-to-your-image.jpg",
"description": "A brief description or bio about you and your expertise.",
"sameAs": [
"https://www.linkedin.com/in/yourprofile",
"https://www.instagram.com/yourprofile",
"https://twitter.com/yourprofile"
]
}
And here’s an example schema markup specifying information about a service-based-business:
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Your Business Name",
"url": "https://www.yourwebsite.com",
"logo": "https://www.yourwebsite.com/path-to-your-logo.png",
"description": "A brief description of your organization, its mission, or its primary services.",
"sameAs": [
"https://www.instagram.com/yourprofile",
"https://www.linkedin.com/in/yourprofile"
]
}
Common Types Of Schema
Now that you’ve seen the basic structure, let’s talk about the common types of schema you’ll likely use. Here’s what each can contain:
Person Schema
Used for: Individual profiles (on author pages, about page).
What it can contain: Name, job title, affiliation, contact details, and social media profiles.Organization Schema
Used for: Businesses, non-profits, educational institutions, or any formal organization. (on home page, about page)
What it can contain: Organization name, URL, logo, description, contact information, address, and social media profiles.Product Schema
Used for: E-commerce product pages.
What it can contain: Product name, description, price, SKU, availability, and aggregate reviews.Service Schema
Used for: Service-based businesses (on services pages)
What it can contain: Service name, description, pricing, provider, and location.Course Schema
Used for: Online or offline educational courses (on course pages)
What it can contain: Course name, description, provider, duration, and prerequisites.Website Schema
Used for: Defining the general structure of a website (applied to site-wide header code)
What it can contain: Website name, URL, and owner information.FAQ Schema
Used for: Frequently Asked Questions sections (applied to relevant pages)
What it can contain: Questions and their corresponding answers.Article Schema
Used for: Blog posts or news articles
What it can contain: Article title, author, publication date, and the main content.
How to Use ChatGPT to Generate Schema
Now, here’s where the magic happens.
Using ChatGPT to generate schema is as easy as having a conversation.
You don’t need to know code; you just need to know what to ask for.
Step 1: Ask ChatGPT to Generate the Schema
There are two ways to approach this, depending on your comfort level with schema.
Method 1: For Those Familiar with Schema
If you’re already familiar with schema and just need ChatGPT to format the markup, just provide specific details to get precisely what you need.
ChatGPT works best when you give it clear instructions. So, the more specific you are about the schema you want, the better the result.
It’s the difference between ordering “coffee” and ordering a “16 oz split shot americano with half-and-half.”
Example Prompt:
“Please write schema markup for a service called ‘Pelvic Floor Physical Therapy,’ including:
Service Name: Pelvic Floor Physical Therapy
Description: Comprehensive pelvic floor physical therapy services tailored to support recovery and wellness.
Provider Information: Bloom Physical Therapy
Offers: Physical Therapy Session at $100.”
or:
“Please write schema markup for a service called ‘Pelvic Floor Physical Therapy’ with a description of ‘Comprehensive pelvic floor physical therapy services tailored to support recovery and wellness,’ provided by ‘Bloom Physical Therapy,’ and an offer named ‘Physical Therapy Session’ priced at $100.”
(I’m polite with my chat bot, why not?)
Once you’ve given the prompt, let ChatGPT do its thing. It’ll spit out schema faster than you can say “structured data.”
Here’s what you might get from the example above:
{
"@context": "https://schema.org",
"@type": "Service",
"name": "Pelvic Floor Physical Therapy",
"description": "Comprehensive pelvic floor physical therapy services tailored to support recovery and wellness.",
"provider": {
"@type": "Organization",
"name": "Bloom Physical Therapy"
},
"offers": {
"@type": "Offer",
"name": "Physical Therapy Session",
"priceCurrency": "USD",
"price": "100.00"
}
}
That’s it! Your schema is generated. No coding skills required.
Method 2: For Schema-Newbies
If you’re new to schema, ChatGPT can guide you through the process. Just start the conversation with something like this:
Beginner Prompt Example:
“I want to write person schema for my about page. What information do you need from me?”
ChatGPT will ask you for the details it needs (like your name, title, organization, etc.), and you can go from there.
It’s a back-and-forth, so feel free to ask questions or provide additional info as needed.
Remember, it’s a conversation!
Step 2: Refine the Output if Needed
Sometimes ChatGPT nails it right away, and other times you might need to tweak a detail or two.
For example, you might want to add contact info or specify the service area.
Just ask ChatGPT to make adjustments.
Example:
“Add a phone number (123-456-7890) and service area (greater Barbieland area) to the schema for ‘Pelvic Floor Therapy’.”
Step 3: Review and Copy the Schema
Before you get too excited and paste it on your website, give the schema a once-over.
Double-check the important stuff like names, prices, and descriptions. You want to make sure everything is spot on.
Once you’re happy with it, copy the schema and get ready to validate it.
Validating Schema Generated by ChatGPT
You wouldn’t skip proofreading your blog post, right? Same goes for schema.
Before you add it to your site, you’ve got to make sure it’s error-free. Luckily, Google has a tool for that.
Copy the Generated Schema
You’ve got your shiny new schema from ChatGPT. Copy it so you’re ready to test it.
Visit Google’s Structured Data Testing Tool
Go to Google’s Structured Data Testing Tool (it’s free and super easy to use). This tool will tell you if your schema has any issues that need fixing.
Paste the Schema into the Testing Tool
Once you’re there, just paste your schema into the field under “Code Snippet” (see the screenshot above).
Run the Test
Hit the “Run Test” button and wait a few seconds while Google does its thing. It’ll let you know if there are any errors or warnings.
If everything looks good, here’s what the test will spit out:
- If you get an error, here’s what it’ll look like:
Review Results and Fix Errors
The test will let you know if you have an error. You can go back to ChatGPT and ask it to help you fix your errors, then run the test again.
More often than not, you’ll find ChatGPT does a pretty good job the first time.
Re-test and Confirm Validation
Once everything’s fixed, run the test again. When you get the all-clear (no errors), you’re ready to roll!
Where to Place Schema on Your Website
Now that you’ve got a validated schema, the next step is placing it on your website.
Where you put it depends on the type of schema and whether it applies to your whole site or just specific pages.
Site-Wide Schema
Some schema types, like “Website” schema, apply to your entire site. For example, if you’re telling Google about your business or website structure, you’ll want that info on every page.
How to Add Site-Wide Schema:
WordPress users: Use a plugin like AddFunc Head & Footer Code to add schema to the header of every page.
Other platforms: Add the schema code to your global header template or the CMS settings for the entire site.
Page-Specific Schema
For things like “Service” schema or “Product” schema, you’ll want to add the schema only to the relevant pages.
So, if you’ve created schema for your “Pelvic Floor Therapy” service, it only belongs on that specific service page.
How to Add Page-Specific Schema:
WordPress: Use AddFunc Head & Footer Code add structured data to individual pages.
You’ll find the option to add page-specific schema by navigating to Pages > Specific Page > Edit (the same place you access your Yoast or SEO plugin settings).
Scroll all the way to the bottom, likely below Yoast or your SEO plugin of choice.
It should look something like this:
Other platforms: Look for settings that let you edit the HTML or header code for specific pages, then paste the schema there.
ChatGPT, Your SEO WIngWoman
And there you have it!
You don’t need to be a coding genius to implement schema markup on your website.
With ChatGPT as your wingwoman, you can take advantage of this super valuable SEO optimization, without spending hours trying to write the code yourself.
If you read this far but you’re thinking, “Wow, this is all overwhelming!”, I’ve got you covered.
SEO is my jam, and I’m here to help simplify things.
Let’s talk about where YOU should start and how I can lighten your load. Book a free call, and let’s get your SEO on the right track together.