This guide explains how to use Hotel Schema Generator, step by step, with screenshots of the real tool. It is written for site owners and SEOs who add structured data to their pages. Create Hotel or LodgingBusiness JSON-LD with star rating, amenities, check-in and check-out times, price range and address.
Quick answer: To use the Hotel Schema Generator, open the free tool, choose the type, enter the name, enter the website and enter the phone, then copy the text it creates. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Hotel Schema Generator?
Create Hotel JSON-LD with starRating, amenityFeature, checkinTime, checkoutTime, priceRange and address.
Hotel schema describes your property for search engines, including rating, amenities and check-in details.
How to use Hotel Schema Generator step by step
-
Step 1: Open the Hotel Schema Generator
Go to the Hotel Schema Generator on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Choose Type
Choose an option from Type. Options include Hotel, Motel, Resort and Hostel. The example uses Hotel.
-
Step 3: Enter Name
In the Name box, type your own value.
-
Step 4: Enter Website
In the Website box, type your own value.
-
Step 5: Enter Phone
In the Phone box, type your own value.
-
Step 6: Enter Stars
In the Stars box, type your own value.
-
Step 7: Enter Price range
In the Price range box, type your own value. The example uses $80-$150, which you can replace.
-
Step 8: Enter Check-in
In the Check-in box, type your own figure. The example uses 14:00, which you can replace.
-
Step 9: Enter Check-out
In the Check-out box, type your own figure. The example uses 12:00, which you can replace.
-
Step 10: Read the results
The output appears inside the tool card. Change any input to compare different scenarios.

Screenshot of the Hotel Schema Generator results. -
Step 11: Copy or download the output
Use Copy code to take the result into your document, CMS, spreadsheet or report.
What does each field in the Hotel Schema Generator mean?
| Field | What to enter | Example |
|---|---|---|
| Type | Choose one option (Hotel, Motel, Resort and more) | Hotel |
| Name | Your text | Your own value |
| Website | Your text | Your own value |
| Phone | Your text | Your own value |
| Stars | Your text | Your own value |
| Price range | Your text | $80-$150 |
| Check-in | Your text | 14:00 |
| Check-out | Your text | 12:00 |
What does a worked example look like?
With the example inputs (Type: Hotel, Price range: $80-$150, Check-in: 14:00 and Check-out: 12:00), the Hotel Schema Generator returns: <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Hotel" } </script>
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Hotel Schema Generator?
- Fill in the fields; the JSON-LD updates as you type.
- Paste it into the page HTML or your SEO pluginβs schema box.
- Test it in Googleβs Rich Results Test, then request indexing.
- Keep the schema text identical to what the page shows.
- Use one main type per page and test it in the Rich Results Test.
For background, read the Google introduction to structured data. If you are working on a related task, our guide on how to use the Speakable Schema Generator walks through it the same way. You can also browse all free Schema Markup Generators.
What mistakes should you avoid with the Hotel Schema Generator?
- Marking up content that visitors cannot see on the page.
- Adding fake ratings or reviews, which breaks Google guidelines.
- Not testing the code in the Rich Results Test before publishing.
Key terms
- Structured data
- Code added to a page, usually as JSON-LD, that describes its content in the Schema.org vocabulary. Search engines use it to understand entities such as products, articles and businesses, and some types can unlock rich results in Google.
- JSON-LD
- JavaScript Object Notation for Linked Data, the format Google recommends for structured data. It sits in a script tag, separate from the visible HTML, which makes it easy to add, test and update without changing the page design.
- Return on investment
- A measure of profit compared with what was spent, calculated as gain minus cost, divided by cost and multiplied by 100. It helps compare marketing channels, but it depends on accurate costs and honest attribution.
- HTML
- HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
- JSON
- JavaScript Object Notation, a light text format for data made of key and value pairs, arrays and nested objects. It is used by APIs, configuration files and JSON-LD structured data, and must follow strict syntax to be valid.
Related free tools
Frequently asked questions
Is the Hotel Schema Generator free to use?
Yes. The Hotel Schema Generator is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Hotel Schema Generator?
No. The Hotel Schema Generator runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Hotel Schema Generator?
It creates a solid first draft from your inputs. Always review and edit the output so it is accurate, specific and sounds like you before you publish or send it.
Does the Hotel Schema Generator work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Hotel Schema Generator on a phone, tablet or computer in any modern browser.
Can I use the Hotel Schema Generator for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Hotel Schema Generator?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Hotel Schema Generator on 2 November 2026. Further reading: Schema.org.




