Schema markup for cafés & coffee shops
Coffee shop schema markup, amenities and all
Use CafeOrCoffeeShop, with your address, opening hours, menu link and the amenities people ask about: wifi, power points, outdoor tables, dogs. Those are the details behind a search like “café open now with wifi”, and markup states them plainly instead of leaving them in your Instagram captions.
The type to use
CafeOrCoffeeShop
It's the schema.org type for places that mainly serve coffee and drinks with somewhere to sit, and a kind of FoodEstablishment. Choose Bakery instead if what you bake outsells what you pour.
CafeOrCoffeeShop on schema.orgWhat to include
The properties that matter for cafés & coffee shops
Most important first. Fill in what's true for you and leave out the rest; every value must also be on the page.
- openingHoursSpecification
- Cafés often shut mid-afternoon and open later at weekends. Give each set of days its own entry, so “open now” is right at 2:30 on a Sunday, when you've already closed.
- amenityFeature
- Wifi, power points, a dog-friendly courtyard: each a LocationFeatureSpecification with a name and true. These are what laptop workers and dog walkers ask assistants about.
- address
- Street, suburb and postcode, so a search for coffee two streets away can place you.
- hasMenu
- Your menu page, with coffee, food and the milks you offer written out. A photo of the blackboard can't be read.
- servesCuisine
- What you're known for, such as “Specialty coffee, all-day breakfast”, in the words people type.
- acceptsReservations
- false if it's walk-in only, so nobody hunts for a booking button; your booking page if you hold tables for groups.
- paymentAccepted
- How people can pay. If you've stopped taking cash, list only cards, here and by the till.
- geo
- Latitude and longitude for the door, which helps when your café is down a lane or inside another building.
- sameAs
- The Instagram account where you post the specials, so your site and that account are tied together as one café.
Example
Copy, then make it yours
This is the markup for a made-up business. Replace every value with your own before you use it.
- Change every name, address, number and link to your own, and delete lines that don't apply.
- Paste it into your site's header code (website builders call it “code injection” or “custom code”), or let FoodCited add it for you.
- Check it with Google's Rich Results Test or the Schema Markup Validator.
CafeOrCoffeeShop JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CafeOrCoffeeShop",
"name": "Little Ember Coffee",
"url": "https://www.example.com/",
"image": "https://www.example.com/images/window-bench.jpg",
"telephone": "+61 2 5550 1834",
"address": {
"@type": "PostalAddress",
"streetAddress": "88 Crown Street",
"addressLocality": "Surry Hills",
"addressRegion": "NSW",
"postalCode": "2010",
"addressCountry": "AU"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": -33.88206,
"longitude": 151.21312
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "06:30",
"closes": "15:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday",
"Sunday"
],
"opens": "07:30",
"closes": "14:00"
}
],
"servesCuisine": "Specialty coffee, all-day breakfast",
"hasMenu": "https://www.example.com/menu",
"amenityFeature": [
{
"@type": "LocationFeatureSpecification",
"name": "Free wifi",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Power points at the window bench",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Dog-friendly courtyard",
"value": true
}
],
"acceptsReservations": false,
"paymentAccepted": "Credit Card, Debit Card",
"priceRange": "$",
"sameAs": [
"https://www.instagram.com/example"
]
}
</script>Watch out
Mistakes cafés & coffee shops make with markup
A LocalBusiness block left by the theme
Many website themes add generic LocalBusiness markup by default. It says nothing about coffee; replace it with CafeOrCoffeeShop rather than adding a second block beside it.
Wifi in the code, nowhere on the page
Amenities belong in markup only when the page says them too. Add a line under your hours (“Free wifi, power at the window bench, dogs welcome in the courtyard”) and mark that up.
Weekday hours copied to the weekend
If you open later on Saturday and Sunday, or close on public holidays, those days need their own entries. One 6:30–3:00 block for every day sends people to a locked door.
Also worth adding
- Product: For beans you sell online: one Product per bag on its own page, with weight, roast and price.
- Event: For cuppings, latte art classes or a pop-up supper, on that event's own page with its date and price.
FAQ
Cafés & coffee shops: markup questions
Type to search these questions, or ask anything about getting found on Google and AI.
We roast our own beans. Is there a roaster type?
No. schema.org has no roastery type, so the café stays CafeOrCoffeeShop. What you sell by the bag is a matter for its own pages.
Should every milk and syrup go in the markup?
No. List them on the menu page in plain text; hasMenu points there. The markup describes the café, and the menu page carries the detail.
We're inside a bookshop. Which address do we use?
The building's street address, the same one on your Google Business Profile. Say how to find you inside it on the page (“upstairs, past the cookbooks”), and use geo for the entrance.
More for cafés & coffee shops
- SEO and AI search for cafés and coffee shopsShow up for “coffee near me”, “laptop-friendly café” and brunch searches with the hours and details people check first.Read
- Questions your website should answerWhat customers ask Google and AI assistants about cafés & coffee shops, and what a good answer includes.Read
Your next regular is searching right now.
Check your site free, then press Optimize. Back to the kitchen.