Hreflang tags tell Google which translated page is which
Hreflang annotations tell Google which language or regional version of a page suits each searcher, and they can go in the HTML head, in HTTP headers or in a sitemap, which Google treats as equivalent.
What it means for your Maryland business
Hreflang tags are lines of code that tell Google which language each version of a page is in, so a Spanish-speaking searcher lands on your Spanish page and an English speaker on the English one. They matter to Maryland businesses with translated pages: immigration and personal injury law firms, tax preparers, health clinics and dental practices serving Spanish, Korean, Chinese or Amharic speakers in Montgomery County, Prince George's County and Baltimore, plus businesses with pages aimed at customers in other countries. An English-only site has nothing to tag yet; the tags go in the day a translated version goes live.
A tax preparation office in Langley Park has English and Spanish versions of each service page. In the Census-defined Langley Park area, 48% of households were limited-English households speaking Spanish, compared with 2% statewide, according to the U.S. Census Bureau's 2020–2024 American Community Survey estimates, so the Spanish page is the version many nearby households need. Every English page lists itself as English and its Spanish twin as Spanish, the Spanish page lists both as well, and every address is written out in full, starting with https. The office's language-choice page is set as the x-default fallback. When a Spanish-speaking searcher looks for tax help, Google has a clear signal to show the Spanish page.
One-way tags are easy to create and easy to catch. Tags that point only one way are ignored, because Google requires both pages to name each other. Shortened addresses like a bare path don't count; use full URLs. Tags placed outside the page's head section can be missed. Using all three methods at once adds no benefit and is harder to maintain. And hreflang doesn't make a page Spanish: Google detects language on its own, so translating only the menu and footer while the main text stays in English leaves you with duplicate pages, not localized ones.
In Google's words
“If you have multiple versions of a page for different languages or regions, tell Google about these different variations. Doing so will help Google Search point users to the most appropriate version of your page by language or region.”
What Google says
Hreflang annotations tell Google which language or regional version of a page suits each searcher, and they can go in the HTML head, in HTTP headers or in a sitemap, which Google treats as equivalent. Every version must list itself and all the others with fully qualified URLs, tags that aren't reciprocated by the other page are ignored, and an x-default value can name a fallback. Google notes it detects a page's language with its own algorithms rather than hreflang, and may find alternate versions even without tags.
Where to go next
The entries on either side of this one in SEO basics.
