Hotel schema generator
Hotel is a LodgingBusiness subtype. Hotel prices and availability in Google come from hotel feeds (Hotel Center), not from page markup, so use markup for the property's identity, location and amenities.
All Google-required properties present. That makes the page eligible, not guaranteed. Google's docs
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Hotel",
"name": "The Fernwood Hotel (example)",
"url": "https://fernwoodhotel.example",
"telephone": "+1-503-555-0190",
"priceRange": "$$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "1415 SW Alder St",
"addressLocality": "Portland",
"addressRegion": "OR",
"postalCode": "97205",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 45.5197,
"longitude": -122.6848
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"opens": "00:00",
"closes": "23:59"
}
]
}
</script>Properties that matter for hotels
| Property | Why |
|---|---|
starRating | schema.org Rating for an official classification, not guest reviews. |
checkinTime / checkoutTime | schema.org properties for LodgingBusiness. |
amenityFeature | LocationFeatureSpecification items such as free Wi-Fi (schema.org). |
priceRange | Recommended by Google's local business docs. |
The generator covers Google's documented properties; add the extra schema.org ones above by hand if they apply. Sources: Google local business docs, schema.org/Hotel.
Tips
- Google's hotel price results use Hotel Center feeds; markup doesn't add prices to search.
- Use BedAndBreakfast, Hostel, Motel or Resort when they fit better.
- Vacation rentals (whole homes) use VacationRental markup, a separate Google feature.
The example business in the form is fictional. Replace every value with your own before publishing, and test the live page with the schema validator.
Hotel schema questions
What schema type should hotels use?
Hotel is the most specific schema.org type here. It inherits from LocalBusiness, so Google's local business rules apply: name and address are required, and phone, url, geo, opening hours and price range are recommended.
Will Hotel markup get my business into the map pack?
No. Local pack rankings depend on Google Business Profile, relevance, distance and prominence. Markup confirms your details from your own site; it is not a ranking switch.
Where do I put the code?
On the page for that location, usually the contact or location page, in a <script type="application/ld+json"> block. One block per location page.