Skip to content

Structured data

Hotel schema markup checklist

Hotel schema markup, the hidden code that states your property's facts: which type to use, what to include, a copy-ready example and mistakes to avoid.

The short answer

  • Use the most specific lodging type: Hotel, BedAndBreakfast, Hostel, Motel, Resort, Campground or VacationRental, all kinds of LodgingBusiness on schema.org.
  • Google requires name and address, and recommends telephone, url, geo, priceRange and opening hours where they apply. Lodging types add check-in and check-out times, amenities, pets and number of rooms.
  • Describe amenities with LocationFeatureSpecification (name plus true or false), and only list what guests really get.
  • Only add a star rating from an official grading body, and never add review stars from reviews you collect yourself.

What is hotel schema markup?

It's a hidden block of code that states your property's facts in the schema.org vocabulary: what kind of place it is, where it is, check-in times, amenities and how to get in touch. It's usually written as JSON-LD.

Google says no special markup is needed to appear in its AI features, so don't expect a switch to flip. What markup does is remove guesswork: the facts are stated once, clearly, for any search engine or tool that reads them.

Which lodging type should you use?

Pick the type that best describes what you are. All of these are kinds of LodgingBusiness:

LodgingBusiness types on schema.org
TypeUse it for
HotelHotels, boutique hotels, inns with a reception
BedAndBreakfastB&Bs and small owner-run guesthouses serving breakfast
HostelHostels with dorms and shared facilities
MotelMotels and roadside lodging
ResortResorts with on-site leisure facilities
CampgroundCampsites and many glamping sites
VacationRentalA whole cottage, villa or apartment let to one party
LodgingBusinessAnything that fits none of the above, such as serviced apartments
LodgingBusiness types on schema.org

Which properties should a hotel include?

Lodging structured data properties
PropertyWhat it saysSource
nameYour property's nameGoogle: required
addressFull street addressGoogle: required
telephoneThe number guests callGoogle: recommended
urlYour websiteGoogle: recommended
geoLatitude and longitude, to 5 decimal placesGoogle: recommended
priceRangeA rough price level, such as ££ or “£120–£180”Google: recommended
imagePhotos of the property and roomsSchema.org
checkinTime / checkoutTimeWhen guests can arrive and must leaveSchema.org (LodgingBusiness)
amenityFeatureParking, breakfast, pool, wifi and so onSchema.org (LodgingBusiness)
petsAllowedWhether pets are welcome (true, false or a short note)Schema.org (LodgingBusiness)
numberOfRoomsHow many rooms or units you haveSchema.org (LodgingBusiness)
starRatingAn official rating, with the body that gave itSchema.org (LodgingBusiness)
availableLanguageLanguages your team speaksSchema.org (LodgingBusiness)
Lodging structured data properties

What does a complete example look like?

A six-room B&B (JSON-LD)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BedAndBreakfast",
  "name": "Harbour Lane Guesthouse",
  "url": "https://www.example.com/",
  "telephone": "+44 1632 960123",
  "image": [
    "https://www.example.com/images/front.jpg",
    "https://www.example.com/images/garden-room.jpg"
  ],
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "4 Harbour Lane",
    "addressLocality": "Exampleton",
    "postalCode": "EX1 2AB",
    "addressCountry": "GB"
  },
  "geo": { "@type": "GeoCoordinates", "latitude": 50.21234, "longitude": -5.48012 },
  "priceRange": "££",
  "checkinTime": "15:00:00",
  "checkoutTime": "10:30:00",
  "numberOfRooms": 6,
  "petsAllowed": true,
  "availableLanguage": ["English", "French"],
  "amenityFeature": [
    { "@type": "LocationFeatureSpecification", "name": "Free parking", "value": true },
    { "@type": "LocationFeatureSpecification", "name": "Breakfast included", "value": true },
    { "@type": "LocationFeatureSpecification", "name": "Free wifi", "value": true }
  ]
}
</script>

Replace every value with your own and remove anything you can't confirm. For a hotel, change the type to Hotel; for a whole-property rental, see the holiday rental guide first, because Google's vacation rental feature works differently.

How should you list amenities?

Use one LocationFeatureSpecification per amenity, with a plain name and true (or false when guests often ask and the answer is no, like “No lift”). Use the words guests use: “Free parking”, not “Complimentary vehicle accommodation”.

  • List what every guest gets. If parking costs extra or only some rooms have a bath, say so on the page and keep the markup general.
  • Match the page. Every amenity in the markup should be visible on your amenities or rooms page.
  • Keep it current. Pool closed for the winter? Update the page and the markup.

What mistakes should you avoid?

  • Self-awarded stars. starRating is for official ratings from a grading body. Don't use it for your own opinion or a review average.
  • Review stars from your own guests. Google says a business that controls reviews about itself isn't eligible for review stars. Leave aggregateRating out.
  • Markup that contradicts the page. If the page says check-in from 4 pm, the markup can't say 3 pm.
  • Two conflicting blocks. Hotel themes, booking widgets and SEO plugins sometimes each add markup. Keep one.
  • Rates in the markup that go stale. Use a priceRange, not today's rate.

Where do you add it, and how do you test it?

Paste the block once into your home page's head. WordPress sites usually use the SEO plugin's schema settings or a header-code plugin; Squarespace uses Code Injection; Wix and Webflow have custom code settings. Several properties? Give each its own page and block.

Then run the page through Google's Rich Results Test (opens in a new tab) and the Schema Markup Validator (opens in a new tab). The free schema generator writes the core business details for you.

HotelCited builds your full property markup, including check-in times, amenities and booking link, from your property profile, and checks it on every scan.

Questions people also ask

Type to search these questions, or ask anything about getting found on Google and AI.

Is there a special Google rich result for hotels?

Hotel prices and booking links in Google come from Google's hotel programmes, not from markup on your site. Your structured data still states your facts clearly for search engines and other tools.

Should I mark up each room?

It's optional. Schema.org has HotelRoom and Suite types with beds and occupancy, but Google doesn't document a feature for them. Clear room pages in plain text matter more.

Can I use Hotel if I'm really a guesthouse?

Use the closest honest match. A small owner-run place serving breakfast is a BedAndBreakfast; if none fit, LodgingBusiness is always correct.

Sources

  1. Local business (LocalBusiness) structured data(opens in a new tab) · Google Search Central
  2. LodgingBusiness(opens in a new tab) · Schema.org
  3. LocationFeatureSpecification(opens in a new tab) · Schema.org
  4. HotelRoom(opens in a new tab) · Schema.org
  5. Review snippet (Review, AggregateRating) structured data(opens in a new tab) · Google Search Central
  6. AI features and your website(opens in a new tab) · Google Search Central
  7. Rich Results Test(opens in a new tab) · Google
  8. Schema Markup Validator(opens in a new tab) · Schema.org

Checked on . AI products change quickly; the operators' own pages are the final word.

Terms in this guide

Someone is asking AI where to stay tonight.

Check your site free, then press Optimize. Back to your guests.