Documentation updates · Oct 23, 2026 · 1 min read

Use hyphens, not underscores, in URLs, Google says

Google recommends hyphens, not underscores, between words in URLs, because hyphens clearly mark where one word ends and underscores are often used to bind concepts together, as in programming function names.

What it means for your Maryland business

Between hyphens and underscores in URLs, use hyphens. Google says a hyphen signals a break between words, while an underscore tends to read as joining them, so /crab-cakes is clearer than /crab_cakes to both people and Google. Address choices come up for every Maryland business that adds pages to its site, most often when a new site is being planned or a store is setting up product and category addresses: restaurants naming menu pages, retailers with large catalogs, law firms adding practice-area pages, and real estate agents creating neighborhood pages.

While a Laurel cleaning company builds a new site, its service pages can use short, readable addresses such as /move-out-cleaning and /office-cleaning-laurel, rather than a page ID number or /MoveOutCleaning. If the site serves Spanish-speaking customers in Prince George's County, Google's guide also suggests using words in the audience's language in those addresses, such as a Spanish word for the service on the Spanish pages.

URL cleanups backfire in three ways: renaming every existing URL just to swap underscores for hyphens, which creates churn and broken links if redirects are missed; mixing upper and lower case, since Google treats /Services and /services as different pages; and piling filter and tracking parameters onto product addresses, which Google warns can multiply the addresses pointing to the same content. Change an address only when you're rebuilding anyway, and redirect each old URL to its new one when you do.

What to do this week

2 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Use short, readable words separated by hyphens when naming new pages on your site.
02
Leave existing working addresses alone unless you are already rebuilding the site, and set up redirects if any do change.

In Google's words

“Specifically, we recommend using hyphens (-) instead of underscores (_) to separate words in your URLs, as it helps users and search engines better identify concepts in the URL.”

Google, exact quote · URL Structure Best Practices for Google Search · checked against this page 2026-11-28

What Google says

Google recommends hyphens, not underscores, between words in URLs, because hyphens clearly mark where one word ends and underscores are often used to bind concepts together, as in programming function names. The same URL guide prefers readable words over long ID numbers, words in the audience's language, few parameters and consistent letter case, since Google treats URLs as case sensitive.

Report an error