Free · no email needed
Tell Google and AI tools exactly what your place is.
Start from your website or fill in a short form, and get lodging schema markup. It's a short block of code that tells search engines and AI tools what you are, where you are, what each room or site offers and where to book. Copy it, paste it into your homepage, done.
Your code
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LodgingBusiness",
"address": {
"@type": "PostalAddress",
"addressCountry": "US"
}
}
</script>Add 3 more things to copy it. It updates as you type.
Checklist · 0 of 9
- Pick your property type (needed)
- Add your property name, the way it shows on Google (needed)
- Add your full street address, city, state and ZIP (needed)
- Add your website address
- Add a phone number guests can call
- Add your map coordinates
- Add a link to your best photo
- Add check-in and check-out times
- Add your booking page link
Pick the Code tab and paste it in. Your draft stays in this browser only, so you can come back and finish it.
Adding it to your site
Four steps, about 10 minutes.
- 01Start from your site or from scratchAlready have a website? Enter it and the tool reads the lodging details already in your homepage code. Otherwise fill in the form. The checklist shows what’s still missing. Then copy the code.
- 02Paste it on your homepageLook for a setting called header code, custom code or code injection in your website builder or SEO plugin. If your booking software built your site, ask its support where custom code goes. Once is enough. It doesn’t need to be on every page.
- 03Test itPaste the code into Google’s Rich Results Test (the Code tab), or test your homepage address after it’s live. Fix anything marked as an error.
- 04Keep it currentChanged your check-in time, added a cabin or stopped taking pets? Come back, change it here and paste the new code over the old one.
Not sure if your site has it already? The free website check looks for lodging details on your homepage. The lodging website studies keep finding them missing on most small properties' sites.
What's in the code
Each answer, and why it's there
Types and properties come from schema.org. Formats follow Google's local business guidelines, like a phone number with the country code and coordinates to 5 decimal places.
| Your answer | In the code | Why it matters |
|---|---|---|
| Property type | @type | Says you’re a place to stay, and which kind. Hotel, BedAndBreakfast, Motel, VacationRental, Campground or LodgingBusiness. |
| Name, address, phone | name, address, telephone | The same facts as your Google Business Profile, so Google knows your website and your profile are one business. |
| Map coordinates | geo | Puts you on the map exactly, not at the post office down the road. |
| Check-in and check-out | checkinTime, checkoutTime | One of the first things guests ask an AI tool about a place. |
| Rooms, units or sites | numberOfRooms, containsPlace | Lets a search for “sleeps 6” or “full hookup” match the right one. |
| Pets and amenities | petsAllowed, amenityFeature | The filters guests use. Hot tub, Wi-Fi, dog friendly. |
| Booking page | potentialAction (ReserveAction) | Points to where a guest books with you directly. |
| Profiles and listings | sameAs | Ties your social pages and listings back to your website. |
Left out on purpose
What this won't add, and why
Review stars
Google doesn’t show star ratings for reviews a business publishes about itself, so adding your rating doesn’t help.
Nightly rates
Rates change too often to keep in code. A rough price range is enough.
Google’s special vacation rental listings
Google can show some vacation rentals with photos, ratings and reviews right in search results. That’s only for sites set up with Google’s team through its Hotel Center, so this code won’t turn it on. It still tells Google what you are. If you test a vacation rental, Google may suggest at least 8 photos, a rating and reviews for those listings. They’re marked optional, so you can leave them.
More on what schema markup does and doesn't do for a small property, with Comal Inn's own setup, in Schema markup for small properties.
Questions
Is anything I type saved or sent anywhere?
The code is built in your browser. Your answers are saved in this browser only, so you can come back and finish. Start over clears them. If you use Read my site, your web address is sent to this site’s server, which reads your public homepage and sends back what it found. Nothing is published or changed on your site.
What is lodging schema markup?
A short block of code with the facts about your property, written so Google and AI tools can read it directly. Guests never see it.
Where do I paste it?
On your homepage, in the header code or a custom code block. Most website builders and SEO plugins have a setting for it. If your booking software runs your website, ask its support team where custom code goes.
Will it get me review stars or a special box in Google?
No. Google doesn’t show stars for reviews a business publishes about itself, and its special vacation rental listings are only for sites set up with Google’s team through its Hotel Center. What it does is give Google and AI tools a clean copy of your facts, so they’re less likely to get them wrong.
What if my website already has schema markup?
Enter your website at the top and the tool reads it for you. It fills in the form from your current code and tells you what’s missing, what it fixes and anything your code has that this tool doesn’t write. Then replace your old block with the new one rather than adding a second. Two blocks that disagree make Google guess.
Why couldn’t it read my site?
Some sites show a bot check before the homepage, and some add their schema code with JavaScript after the page loads. Neither can be read this way. Fill in the form instead. It only reads your homepage, the same as the website check.
I have cabins and RV sites. Which type do I pick?
Pick what most guests book. Then list the rest in the units section, each with its own kind. A campground with cabins can list both.
Do I need to list every room or site?
No. List the ones guests choose between. For campgrounds, group sites that are the same, like “50 amp pull-through sites.”