The short answer
- Restaurant schema markup is a hidden block of code (JSON-LD) that states your type, address, hours, cuisine, price range and menu link.
- Google requires only name and address, and recommends servesCuisine, menu, priceRange, openingHoursSpecification, telephone, url and geo.
- Pick the most specific type you can: Restaurant, CafeOrCoffeeShop, Bakery and BarOrPub are all kinds of FoodEstablishment.
- Never add star ratings from reviews you collect about yourself. Google won't show them, and the markup must match what's on the page.
What is restaurant schema markup?
It's a short block of code, invisible to guests, that tells machines the facts about your restaurant. It uses the schema.org vocabulary and is usually written as JSON-LD in the page's head.
With it, search engines don't have to guess whether you're a café or a cocktail bar, when you open or where your menu lives. Google says no special markup is needed to appear in its AI features, so think of it as removing guesswork rather than unlocking a secret ranking.
Which type should you use?
Use the most specific type that describes what you mainly are. All of these are kinds of FoodEstablishment, which is itself a kind of LocalBusiness:
| Type | Use it for |
|---|---|
| Restaurant | Sit-down restaurants, bistros, tasting menus |
| CafeOrCoffeeShop | Cafés, coffee shops, brunch spots |
| Bakery | Bakeries and patisseries, including bakery-cafés that mainly sell baked goods |
| BarOrPub | Bars, pubs, wine bars, cocktail bars |
| FastFoodRestaurant | Counter service and quick-service food |
| IceCreamShop | Ice cream and gelato shops |
| Brewery, Winery, Distillery | Producers with a taproom, tasting room or bar |
Which properties matter most?
Start with what Google asks for, then add the food-specific details schema.org offers. Every value must match what guests can see on your page.
| Property | What it says | Google's documentation |
|---|---|---|
| name | Your restaurant's name | Required |
| address | Full street address | Required |
| telephone | Number guests can call | Recommended |
| url | The page for this location | Recommended |
| geo | Latitude and longitude, to 5 decimal places | Recommended |
| openingHoursSpecification | Opening hours for each day | Recommended |
| priceRange | A rough price level such as $$ | Recommended |
| servesCuisine | Your cuisine, such as Italian or Thai | Recommended |
| menu | The web address of your menu page | Recommended |
| acceptsReservations | Yes/no, or the address of your booking page | Defined by schema.org |
| image | A photo of your venue or food | Defined by schema.org |
What does a complete example look like?
Here's a full example for a restaurant open for dinner Tuesday to Sunday, with weekend lunch. Replace every value with your own, and remove anything you can't confirm.
Restaurant JSON-LD with split weekend hours
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Osteria Lume",
"url": "https://www.example.com/",
"telephone": "+1-415-555-0142",
"image": "https://www.example.com/images/dining-room.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Hayes Street",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94102",
"addressCountry": "US"
},
"geo": { "@type": "GeoCoordinates", "latitude": 37.77662, "longitude": -122.42413 },
"servesCuisine": ["Italian"],
"priceRange": "$$",
"menu": "https://www.example.com/menu",
"acceptsReservations": "https://www.example.com/reservations",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
"opens": "17:00",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Saturday", "Sunday"],
"opens": "11:30",
"closes": "14:30"
}
]
}
</script>Two opening-hours entries handle split shifts: Saturday and Sunday appear in both. Days you're closed are simply left out. Prefer not to write code? The free schema generator builds this for you.
Where do you put the code?
Paste it once into the page it describes, usually your home page or contact page. Each builder has a place for it:
- WordPress: your SEO plugin's schema settings, or a header-code plugin.
- Squarespace: Settings → Developer Tools → Code Injection → Header.
- Wix: Settings → Custom Code, added to the head of the right page.
- Webflow: Page settings → Custom code → Inside head tag.
- Anything else: just before the closing
</head>tag.
Got several locations? Give each one its own page and its own block, with that location's address and hours.
What mistakes should you avoid?
- Self-collected star ratings. Google says pages for a business that controls reviews about itself aren't eligible for review stars. Leave aggregateRating out and let your Google Business Profile carry ratings.
- Markup that doesn't match the page. If your markup says you close at 11 pm and the page says 10 pm, you've created the confusion you were trying to fix.
- Two conflicting blocks. Themes and SEO plugins often add their own markup. Check the page source, and keep one block per location.
- Stale hours. When hours change for the season, update the markup the same day as the page.
- The wrong type. Marking a café as a generic LocalBusiness or Organization throws away the food-specific details.
How do you test it?
Paste your page's address into Google's Rich Results Test (opens in a new tab) to check Google can read it, and into the Schema Markup Validator (opens in a new tab) to check the schema.org details. Fix any errors, then retest after each change.
FoodCited checks your markup on every scan, builds it from your business profile and keeps it in step when your hours or menu change.
Questions people also ask
Type to search these questions, or ask anything about getting found on Google and AI.
Will schema markup get me into AI answers?
Not on its own. Google says no special structured data is needed for its AI features. Markup helps by stating your facts without guesswork; being readable, accurate and well reviewed is what gets you recommended.
Should I use microdata instead of JSON-LD?
Either works, but JSON-LD is easier to add and keep up to date because it sits in one block instead of being spread through your page.
What should priceRange say?
A short, honest price level such as $, $$ or $$$, or a typical range like “$15–30”. Keep it under about 100 characters.
Do I need markup on every page?
No. Add the Restaurant block to the page for each location. Your other pages don't need their own copy.
Sources
- Local business (LocalBusiness) structured data(opens in a new tab) · Google Search Central
- FoodEstablishment(opens in a new tab) · Schema.org
- Restaurant(opens in a new tab) · Schema.org
- OpeningHoursSpecification(opens in a new tab) · Schema.org
- Review snippet (Review, AggregateRating) structured data(opens in a new tab) · Google Search Central
- AI features and your website(opens in a new tab) · Google Search Central
- Rich Results Test(opens in a new tab) · Google
- Schema Markup Validator(opens in a new tab) · Schema.org
Checked on . AI products change quickly; the operators' own pages are the final word.