Choosing Spaces and Separators in URLs: Hyphens, Underscores, and Plus Signs

ProcrustesPR

When creating URLs for new pages, prefer hyphens (-) to separate descriptive words. Do not leave literal spaces in URLs or treat underscores (_) and plus signs (+) as fully equivalent alternatives. Google’s documentation recommends hyphens because they help users and search engines identify word boundaries; this does not mean that changing a separator will improve rankings. How to encode spaces, name URL paths, and write tracking parameters are three separate questions.

ProcrustesPRProcrustesPRHow should I divide my DIY SEO budget?

Hyphens mark word boundaries; underscores may not

Google’s documentation uses the programming function name format_date to explain the historical role of underscores: they often connect concepts meant to be treated as a single unit, whereas hyphens clearly mark word boundaries. When choosing a descriptive path for a page, compare these examples:

  • /summer-clothing: follows Google’s recommendation for separating words.
  • /summer_clothing: do not assume search engines will also split this into two words.
  • /summerclothing: joins the words directly, making the boundary less apparent.

In October 2026, Search Engine Journal relayed Google’s explanation that it treats words joined by underscores in a path as one long word, though it can sometimes still use the individual words. So “underscores are not recommended” does not mean “URLs containing underscores cannot be understood or indexed.”

Spaces require encoding; plus signs are not universal substitutes for hyphens

If the descriptive text in the final path segment was originally just about tomatos, a new path could be written as /en/tomato/just-about-tomatos. This uses hyphens to separate words when naming the path. To preserve the spaces instead, percent-encode them as %20. These are not the same operation.

Some participants in public discussions suggest that plus signs also work in most cases, but this does not establish that they are equivalent to spaces or hyphens in every part of a URL. UTM tutorials recommend underscores, as in utm_campaign=summer_sale, but that advice concerns naming tracking parameter values, not how search engines interpret page paths.

Another report in October 2026 relayed John Mueller’s reminder that using spaces, plus signs, or %20 also means dealing with multiple URL forms for the same content. Even if different forms ultimately display the same content, they should not be mixed arbitrarily. Internal links, canonical tags, sitemaps, and structured data should all use a consistent URL form.

URL quality depends on readability and consistency, not keyword stuffing

The primary benefit of hyphens is clarity. Other public discussions note that underscores may be difficult to see in underlined links, making the URLs harder to transcribe or read aloud. This is an issue with a particular display context, not evidence that underscores are difficult to type on every keyboard.

Google’s documentation also recommends removing unnecessary parameters that do not change the content. If the server ignores differences in letter case, use consistent capitalization in URLs. As for search benefits, a 2026 report quoted Google as saying that keywords in URLs are only a very small signal, useful mainly when almost no other information is available. Choosing short, descriptive words and using hyphens consistently is more in line with these recommendations than stuffing URLs with keywords.

ProcrustesPRProcrustesPRWhy is AI not mentioning my brand?

URL separators: perspectives from across the web

Should all existing URLs that use underscores be changed to hyphens?

There is no need to rush into changing every URL just to replace a separator. Earlier discussions recommended prioritizing hyphens for new websites, but noted that changing all existing underscore-based URLs could incur reindexing costs and might not be worthwhile. This was practical advice at the time, not a current search engine rule. Whether to make changes should still be assessed based on the website’s actual circumstances.

Can underscores separate words in UTM tracking parameters?

Yes, they can be used as a naming convention for tracking values, such as utm_campaign=summer_sale. UTM tutorials recommend consistent capitalization because values with different letter cases may appear separately in analytics reports. They also advise against arbitrarily adding question marks or ampersands, which have special roles in parameter syntax. This is advice about managing tracking data, not a rule for separating words in page paths.

Where should descriptive text go if a static website must retain en and tomato?

The available material does not establish whether placing the description before or after tomato, adding another path level, or appending .htm is necessarily better for readers and search engines. None of these options can therefore be recommended as a universal rule. If en and tomato must remain, choose a short URL that describes the page’s content, avoid unnecessary folder levels, and use hyphens to separate words in the description.

ProcrustesPRDoes an AI brand mention bring website visitors?

References

  1. Google 搜尋的網址結構最佳做法 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.
  2. Matt Cutts 再次解釋 URL 地址中破折號和下劃線的區別www.domainclub.org — Discusses: Should all existing URLs that use underscores be changed to hyphens?
  3. Which of these 3 URL-Rewritings are better SEO friendly URLs?webmasters.stackexchange.com — Source used in the article above.
  4. Google Launches A Video Series For Odd Technical SEO Questionswww.searchenginejournal.com · 2026-10-14T18:51:41+00:00 — Source used in the article above.
  5. UTM是什麼?學GA必看的【UTM網址產生器】全攻略www.yesharris.com — Discusses: Can underscores separate words in UTM tracking parameters?
  6. Webflow SEO 優化秘訣:14 項關鍵檢查項目tenten.co · 2024-04-22T08:44:00.000Z — Discusses: Where should descriptive text go if a static website must retain en and tomato?
  7. Google Crawls Raw And Encoded Bracket URLs Separatelywww.searchenginejournal.com · 2026-10-21T12:06:29+00:00 — Source used in the article above.
  8. URLs: Should I use hyphens, underscores or plus symbols?webmasters.stackexchange.com — Source used in the article above.
  9. URLs: Should I use hyphens, underscores or plus symbols?webmasters.stackexchange.com — Source used in the article above.

Related articles

How should I divide my DIY SEO budget?Why is AI not mentioning my brand?Does an AI brand mention bring website visitors?How Long Does It Take to Evaluate SEO Results?How do I write titles customers want to click?How is organic traffic different from paid traffic?Why do I have keyword rankings but no customers?Are Google Maps rankings the same as website SEO?
ProcrustesPR
ProcrustesPR