Schema markup generator for independent pharmacies

Pharmacies should use the Pharmacy type, not plain Store or LocalBusiness. Fill in the form and I’ll build valid JSON-LD you can paste into your site’s head.

Your details

One or two factual sentences. The same words as your homepage intro work well.
International format: +1-403-…
A real photo of you, your team or your space.
Comma-separated, e.g. Mo-Fr 09:00-17:00, Sa 10:00-14:00
Optional. A symbol range like $ or a short text range.
Comma-separated cities or regions.
Pharmacy services beyond dispensing. (knowsAbout)
Drug plan billing matters here. (paymentAccepted)
Languages your pharmacists speak. (knowsLanguage)
Link to your location on a map. (hasMap)
One URL per line: Google Business Profile, LinkedIn, Instagram, directories.

Pharmacy JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Pharmacy",
  "@id": "https://altadorepharmacy.example/#business",
  "name": "Altadore Community Pharmacy",
  "description": "An independent pharmacy in Altadore offering prescriptions, vaccinations, medication reviews and free local delivery.",
  "url": "https://altadorepharmacy.example/",
  "telephone": "+1-403-555-0142",
  "email": "hello@altadorepharmacy.example",
  "image": "https://altadorepharmacy.example/images/photo.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Example Street SW",
    "addressLocality": "Calgary",
    "addressRegion": "AB",
    "postalCode": "T2P 1J9",
    "addressCountry": "CA"
  },
  "openingHours": [
    "Mo-Fr 09:00-17:00"
  ],
  "priceRange": "$",
  "areaServed": [
    "Calgary",
    "Airdrie",
    "Cochrane",
    "Okotoks"
  ],
  "knowsAbout": [
    "Prescription refills",
    "Flu and COVID vaccinations",
    "Medication reviews",
    "Compounding",
    "Blister packaging"
  ],
  "paymentAccepted": "Cash, Debit, Visa, Mastercard, Direct billing to most drug plans",
  "knowsLanguage": [
    "English",
    "Arabic",
    "Hindi"
  ],
  "hasMap": "https://maps.example/altadore-pharmacy",
  "sameAs": [
    "https://www.instagram.com/altadorecommunitypharmacy",
    "https://www.linkedin.com/company/altadorecommunitypharmacy"
  ]
}
</script>

Paste this into your page’s head, then test it with Google’s Rich Results Test and validator.schema.org. The example values are made up: replace every one.

Want this added to your pharmacy’s website?

Send me your site and I’ll check your current structured data and send back corrected JSON-LD for it. Free.

No newsletter. Just what you asked for, from me. Privacy

The properties that matter for independent pharmacies

Type: Pharmacy. Every property below is a real schema.org property.

Key schema properties for independent pharmacies
PropertyWhy it matters
openingHoursPharmacy searches are often “open now” searches. Accurate hours, including holidays on the page, matter more here than almost anywhere.
knowsAboutVaccinations, compounding and medication reviews are why people choose an independent pharmacy. Name them.
areaServedIf you deliver, list the communities you deliver to. It tells search tools your reach goes past the counter.
knowsLanguageTalking about medications in a first language matters. It’s an easy, useful signal.
telephoneRefill calls are constant. Use the main pharmacy line, not a head office number.

Common mistakes

  • Using Store or Drugstore-style generic types. Pharmacy is the specific schema.org type.

  • Copying the parent banner’s hours or phone onto an independent location. Each location needs its own real details.

  • Adding Product markup for prescription drugs. Keep product markup to genuine retail items with prices, if at all.

How to add it to your site

  1. Replace every example value in the form with your own details. They should match your Google Business Profile exactly.
  2. Copy the code and paste it into your page’s <head>. Most site builders have a custom code field. On a hand-built site, it goes in the template.
  3. Test the live page with Google’s Rich Results Test and validator.schema.org, and fix anything they flag.
  4. Add the same facts to the visible page. Structured data should describe what visitors can see. My website checklist for independent pharmacies covers the rest.
FAQ

Schema for independent pharmacies: questions

  1. Pharmacy. It’s a schema.org type that sits under MedicalOrganization and MedicalBusiness, so it carries both health and local business meaning.

  2. schema.org has specialOpeningHoursSpecification for that, which the generator doesn’t include. The simplest path is to update your Google Business Profile and post holiday hours on the page.

  3. Yes, if it has its own name, phone and hours. Give it its own Pharmacy block with its own @id so it isn’t confused with the clinic.

Keep reading

Let’s begin

Let’s build something you’re proud to share.

Let’s Talk