Restaurant schema markup: a copy-paste JSON-LD example
Schema markup is a block of code that states your restaurant's name, address, hours and menu address in a form machines read without guessing. Google requires two fields and recommends ten more. This page gives you a working example, explains each field, and shows how to test it.
What schema markup does a restaurant website need?
Add one JSON-LD block using the Restaurant type on your home page or location page. Google's Local business documentation requires name and address, and recommends geo, telephone, url, openingHoursSpecification, priceRange, servesCuisine and menu. Every value must match what a visitor can read on the page. Test it in Google's Rich Results Test.
Markup does not guarantee a ranking or any special display. It reduces guessing. It also keeps your hours, phone number and menu address consistent when a machine reads your site. That matters most when a person asks an assistant a plain question, such as when you close tonight.
The example restaurant
The markup below describes a made-up restaurant. Its details are shown here in plain text, because markup must describe content that is visible on the page. Your page should show the same facts in the header, footer or a contact block.
Harbor Street Kitchen
Seafood and Pacific Northwest dishes, $$
214 Harbor Street, Tacoma, WA 98402 · (253) 555-0148
Hours: Tuesday to Thursday 11:00 a.m. to 9:00 p.m.; Friday and Saturday 11:00 a.m. to 10:00 p.m.; closed Sunday and Monday.
Menu: harborstreetkitchen.example/menu/
Fictional business and reserved example domain. Replace every value with your own.
Add Restaurant schema in six steps
-
Use the most specific type
Google's Local business documentation says to use the most specific subtype available. For a restaurant that is
Restaurant. A bar can useBarOrPub, and a bakeryBakery. You can give an array of types if one business is two things. -
Fill the two required fields
nameandaddress. Write the name exactly as it appears on your sign and Google profile. Use a fullPostalAddresswith street, city, region, postal code and country. -
Add the recommended fields you can keep accurate
Add
telephone,url,geo,priceRange,servesCuisine,menuandopeningHoursSpecification. Google asks for latitude and longitude with at least five decimal places. Only add what you will update. A field you forget to maintain becomes a wrong fact. -
Point
menuat your text menu pageGoogle's documentation names the
menuproperty: for food establishments, the fully qualified URL of the menu. Schema.org also defineshasMenu, and it accepts a URL or a full Menu object. Use a text page, not a PDF. For the page itself, see restaurant menu SEO. For item-by-item markup, see its Menu structured data section. -
Describe regular hours, and keep the date-bound ones separate
Use one
OpeningHoursSpecificationper group of days withdayOfWeek,opensandcloses. Google documentsvalidFromandvalidThroughfor seasonal closures and says a day the business is closed all day sets bothopensandclosesto "00:00". Holiday handling has its own page: holiday and special hours. -
Validate, publish, and inspect
Paste the code into the Rich Results Test and fix critical errors. After publishing, use the URL Inspection tool in Search Console to see how Google reads the live page. Test again after every menu or hours change.
The JSON-LD for Harbor Street Kitchen
Put this inside a script tag with type="application/ld+json", once per page. Remove the comments line in your copy, since JSON has no comments.
Sunday and Monday are left out because the restaurant is closed. The values match the example card above, line for line.
Use the international phone format and 24-hour times. Get real coordinates from a map tool.
Property checklist for a restaurant page
| Property | Google status | What to put | Common mistake |
|---|---|---|---|
name | Required | Sign name | Adding keywords such as the city |
address | Required | Full PostalAddress | A single text line |
geo | Recommended | Lat and long, 5+ decimals | Rounded numbers |
telephone | Recommended | One number with country code | A tracking number that differs from the page |
url | Recommended | The canonical page | A link to a third-party listing |
openingHoursSpecification | Recommended | Regular hours; dated ranges for closures | Hours that differ from the Google profile |
menu | Recommended | URL of the text menu page | A link to a PDF or a delivery app |
servesCuisine | Recommended | One or two cuisines | A long list of everything you cook |
priceRange | Recommended | $ to $$$$ | A range that contradicts menu prices |
aggregateRating, review | Not for your own business | Leave out | Marking up your own review score |
Google says aggregateRating and review are for sites that collect reviews of other local businesses. Showing your own ratings through review pages is fine, but do not mark them up on your own restaurant page.
Five mistakes that make markup worse than none
- Markup that disagrees with the page. If the page says closed Mondays and the code says open, a machine has two answers.
- One block copied to every location. Each location page needs its own address, phone and hours.
- Hours that never change. Update the code the same day you change hours on Google. A stale block outlasts the people who wrote it.
- Marking up content that is not on the page. Do not add cuisines, awards or prices a visitor cannot see.
- Expecting FAQ results. Google removed FAQ rich results in May 2026. Write FAQs for your guests, not for a display.
If an assistant gives a wrong answer about your restaurant, the cause may be a stale copy elsewhere. See how to fix a wrong menu on Google.
Restaurant schema questions
Do I need schema markup for my restaurant website?
No, it is not required to appear in search. It helps because it states your name, address, hours and menu address in a form machines read directly. Google's documentation names name and address as required for the Local business type. If the markup is wrong or out of date, it does more harm than leaving it out, so only add it if you will maintain it.
Which schema type should a restaurant use?
Use Restaurant, which is a more specific type of LocalBusiness. Google's Local business documentation says to use the most specific subtype available. If you run a bar, a bakery or a cafe, there are more specific types for those. If a business is two things, you can give an array of types.
Where do I put the JSON-LD code on my site?
Put it in a script tag with type application/ld+json, in the head or body of the page it describes. Use it on your home page if you have one location, or on each location page if you have several. Use one block per page, and make sure every value matches what a visitor can read there.
Should I add my star rating to my restaurant schema?
No. Google's documentation says aggregateRating and review are intended for sites that collect reviews of other local businesses, not for markup about your own business. You can still show reviews on your page for guests. Just leave your own rating out of the structured data.
How do I test my restaurant structured data?
Paste your code or page address into Google's Rich Results Test and fix critical errors. After publishing, use the URL Inspection tool in Search Console to see how Google reads the live page. A passing test does not mean Google will show anything special. It means the code is readable and consistent.
Not sure what your site says?
If your website markup is missing or wrong, call and we will read it with you. It takes a few minutes and costs nothing.
Related reading
- Restaurant menu SEO — the page your
menuproperty points to. - Restaurant hours on Google — holiday and special hours.
- Wrong menu on Google — fix stale copies.