Local business markup generator
Write LocalBusiness markup for a Gulf business, with its two names and opening days.
- Generator
- 2 rules
- Last updated
What it checks
- The Arabic name as
nameand the English one asalternateName(or the one you give). - The country as the two-letter ISO code (
SA,AE,OM,KW,BH,QA), and the postal code in the shape of the country, in digits 0–9. - The telephone in international form (
+968…), whatever digits or spaces you typed it with. - Hours written in Arabic or English days (
السبت-الخميس 09:00-21:00) become Schema.org'sdayOfWeeknames and times. - Coordinates in Arabic or Western digits, with a comma or a point, become numbers.
Example
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Store", "name": "متجر الواحة", "address": { "@type": "PostalAddress", "streetAddress": "طريق الملك فهد", "addressLocality": "الرياض", "addressCountry": "Saudi Arabia" }, "telephone": "٠٥٠١٢٣٤٥٦٧" } </script>
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Store", "name": "متجر الواحة", "address": { "@type": "PostalAddress", "streetAddress": "طريق الملك فهد", "addressLocality": "الرياض", "addressCountry": "SA" }, "telephone": "+966501234567" } </script>
How to fix
Put the block in the page that describes the business, and keep its details the same as the page shows:
- Use the type nearest to the business (a café, a pharmacy, a clinic);
LocalBusinessif none is. - Keep the name, telephone and address the same everywhere: the page, Google Business Profile, social profiles.
- Update the hours when they change, including at Ramadan and on holidays.
- On a platform, add the block through its code or tag area, or check that the theme does not already write one.
"telephone": "+966501234567",
"address": { "@type": "PostalAddress", "addressCountry": "SA" },
"openingHoursSpecification": [{ "@type": "OpeningHoursSpecification", "dayOfWeek": ["Saturday"], "opens": "09:00", "closes": "21:00" }]FAQ
The profile is what appears in maps. The markup on your own page says the same things to a search engine from the page itself and keeps the two matching. It helps; it does not replace the profile.
Schema.org asks for them: Saturday, Sunday… A day in Arabic («السبت») is not a value it knows, and Google would not read the hours.
No. The generator runs in your browser, and nothing you type leaves it.
What this tool runs
- Business markup is incomplete or written in Arabic forms Schema.org does not readmoderate
local-business-invalid - Postal address in structured data has a country or postal code written wronglymoderate
address-schema-gulf
How we measure
The generator runs in your browser. Its output is judged in a test by local-business-invalid and address-schema-gulf, the checks Arablyzer runs on pages. Postal code shapes: five digits for Saudi Arabia and Kuwait, three for Oman, three or four for Bahrain; the UAE and Qatar have none. Days in a range walk forward round the week from the first to the last, Saturday first. A < in text is written as an escape so a name cannot end the block.