Restaurant and cafe menus: HTML first, then schema.org Menu
from the what's-on-the-menu dept.
A lot of restaurant websites still post the menu as a photo of the printed one, or a PDF from the designer. It looks right, and on a phone it's a pinch-and-zoom chore. For software, an image is worse: there's no text in it to read. If someone asks an assistant whether your place has a gluten-free option, and your menu is a JPEG, the honest answer from the assistant is "I can't tell."
This guide covers the fix in two steps: put the menu on the page as text, then add schema.org Menu markup that mirrors it.
Step 1: the menu as text
The W3C's guidance on images is the rule to work from: when an image contains text that isn't on the page elsewhere, that text has to be available, at minimum in the image's alt text. For a full menu, alt text isn't a realistic place for forty dishes and prices. Put the menu on a normal web page instead.
A simple structure that works for most places:
- A heading for each section: Breakfast, Starters, Burgers, Drinks.
- Under each heading, each dish's name, a one-line description, and the price, as text.
- Dietary notes as words ("vegetarian," "gluten-free"), not only as little icons. Icons without text labels don't tell a text reader anything.
- A line at the top or bottom: "Prices and dishes checked [month year]. Ask your server about allergens."
Keep the PDF if you like it for printing, and link to it as an extra. The text page is the main version.
Step 2: the markup
schema.org has a small set of types for this:
- Menu
- A structured representation of food or drink items available from a food establishment.
- MenuSection
- A sub-grouping of items, such as a course (Breakfast, Dinner), a type of dish (Vegan, Drinks), or any other grouping you use.
- MenuItem
- A food or drink item on a menu or in a section. It can carry an
offerswith the price, andsuitableForDietfor dietary guidelines like gluten-free. - menuAddOn
- Extras that can be added to a menu item, such as a side salad or fries, or a whole section of allowed add-ons.
Your restaurant connects to the menu with hasMenu. schema.org says it can be the full structured menu, plain text, or the URL of the menu page. Google's LocalBusiness documentation lists menu (the URL of the menu) as a recommended property for food businesses, along with servesCuisine.
Here's a small café menu with one section and two items:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CafeOrCoffeeShop",
"name": "Example Cafe",
"url": "https://example.com/",
"servesCuisine": "Breakfast",
"acceptsReservations": false,
"address": {
"@type": "PostalAddress",
"addressLocality": "St. Cloud",
"addressRegion": "MN",
"addressCountry": "US"
},
"hasMenu": {
"@type": "Menu",
"name": "All-day menu",
"hasMenuSection": {
"@type": "MenuSection",
"name": "Breakfast",
"hasMenuItem": [
{
"@type": "MenuItem",
"name": "Two eggs any style",
"description": "With hash browns and toast.",
"offers": { "@type": "Offer", "price": "9.50", "priceCurrency": "USD" }
},
{
"@type": "MenuItem",
"name": "Oatmeal bowl",
"description": "Steel-cut oats, berries, brown sugar.",
"suitableForDiet": "https://schema.org/VeganDiet",
"offers": { "@type": "Offer", "price": "7.00", "priceCurrency": "USD" }
}
]
}
}
}
</script>
Notes:
- Use the right business type.
FoodEstablishmentis the general schema.org type, with subtypes likeRestaurant,CafeOrCoffeeShop,BakeryandBarOrPub. acceptsReservationstakes true or false, or a URL where reservations can be made. If you take bookings online, put the booking page URL there.- Sections can nest. schema.org's own example has a Dinner section containing Starters and Soups & Salads.
- Prices follow the usual rules: a period for decimals, the currency in
priceCurrency, no dollar sign in the price.
Be careful with diet labels
A dietary tag in your markup is a claim, the same as one printed on the menu. Only mark an item gluten-free or vegan if it is, the way you make it, every day. If the fryer is shared, or the kitchen can't promise it, describe the dish honestly on the page and leave suitableForDiet off. "Ask us about allergens" in plain text is better than a confident label that's wrong. Nobody wants an assistant repeating a gluten-free claim to someone with celiac disease because of a careless tag.
Big menus and changing menus
- Daily specials don't belong in markup unless you'll update it daily. Put "specials change daily, call or check our Facebook" in text instead.
- Seasonal menus: update the page and the markup together when the menu changes. A spring menu still marked up in November tells software the wrong thing.
- Very long menus: it's fine to mark up only the main menu sections and give
hasMenuas the URL of the menu page for the rest. Partial and accurate beats complete and stale.
Mistakes to avoid
- Prices in the markup that don't match the page, usually because one was updated and the other wasn't. Change both in the same sitting.
- Every dish marked up but none of the sections, which leaves software with a flat list of 60 items and no idea which are drinks.
- Icons doing the work of words. A little leaf for vegetarian means nothing to a text reader. Add the word.
- Menu text loaded by a third-party widget that doesn't appear in your page source. Use Ctrl+F on View Page Source to check; if the dishes aren't there, add a plain text version on the page.
- A menu page that's hard to find. Link to it from the main navigation with the word "Menu," not a clever label.
Where else your menu shows up
Your Google Business Profile has its own hours, and food and drink businesses also get a menu editor there. Apple's business tools let a business manage how it appears on Apple Maps, including hours, and offer "custom actions" for things like reservations. Those listings are separate from your website and won't update when your site does, so add them to the same checklist you use when prices change. Our guide to business listings covers them.
Checking your work
- Open your menu page and use Find (Ctrl+F) to search for a dish name and its price. If Find can't see it, neither can a text reader.
- Run the page through the Schema Markup Validator (validator.schema.org) and expand the Menu. Every section and item should be there, with the right prices.
- Look at the page on your phone without zooming. If it's hard to read, fix that first; it's your customers' first impression.
Sources
- W3C WAI: An alt Decision Tree
- schema.org: Menu
- schema.org: MenuSection
- schema.org: MenuItem
- schema.org: menuAddOn
- schema.org: suitableForDiet
- schema.org: acceptsReservations
- schema.org: FoodEstablishment
- schema.org: VeganDiet
- Google Search Central: LocalBusiness structured data
- Apple Business
- Google Business Profile Help: About the menu editor
Checked October 2026.