What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 5 questions

Less than a minute. Find out how much you really know about Google search.

🕒 ~1 min 🎯 5 questions

Official statement

Google treats dashes in URLs as separators, allowing each word to be indexed separately. In contrast, underscores are considered as part of the same word, linking them together in indexing. For this reason, it is recommended to prefer dashes, especially when creating a new website.
🎥 Source video

Extracted from a Google Search Central video

⏱ 3:14 💬 EN 📅 05/08/2011 ✂ 2 statements
Watch on YouTube →
Other statements from this video 1
  1. 1:51 Les underscores dans les URLs pénalisent-ils vraiment le référencement ?
📅
Official statement from (14 years ago)
TL;DR

Google treats dashes as word separators but considers underscores as part of the same word, which directly impacts the indexing and semantic segmentation of your URLs. Specifically, "my-keyword" will be indexed as three distinct terms, while "my_keyword" will be treated as a single indivisible token. Always prefer dashes when creating URLs, especially if your target keywords need to be identified separately by Google.

What you need to understand

Why does Google make this distinction between dashes and underscores?

Google needs to segment URLs into usable tokens for semantic indexing. Dashes (-) function like spaces: they indicate a clear separation between two terms. Thus, the URL "running-shoes-men" will be divided into three distinct entities that Google can analyze individually.

Underscores (_) come from a programming convention where they are used to link elements of the same identifier. Google treats them as standard alphanumeric characters. "running_shoes_men" becomes a single block, as if you had written "runingshoesmen". The engine cannot extract individual semantic components.

What real impact does this have on the indexing of my content?

This difference directly affects Google’s ability to match your URLs with user queries. If someone searches for "running men", a page with the URL "running-shoes-men" is more likely to align with that intent, because Google identifies these terms separately in the URL.

With "running_shoes_men", Google only sees a single incomprehensible token. It can still index the page through its text content, title, or meta tags, but you lose the SEO signal that the URL itself might provide. This is a self-inflicted handicap.

Does this rule apply only to new sites?

Matt Cutts specifically mentions new sites because changing existing URLs leads to 301 redirects, potential loss of PageRank, and considerable technical risks. On a mature site with thousands of indexed URLs, often the game isn't worth the candle.

However, if you are launching a complete redesign or migrating to a new architecture, it's the perfect time to fix these details. Established sites can survive with underscores without major SEO disasters, but every new piece of content should adhere to the dash standard.

  • Dashes are recognized as word separators, while underscores are seen as linking characters
  • The URL contributes to the overall semantic signal of a page, even if its weight remains marginal
  • Correcting existing underscores requires 301 redirects and involves technical risks
  • Always prefer dashes for any new content or new URL structure
  • This rule applies to file names, category slugs, and all URL segments

SEO Expert opinion

Is this statement consistent with real-world observations?

Absolutely. Empirical tests confirm that Google does not extract semantic components from URLs containing underscores. If you analyze competitive SERPs, URLs with dashes overwhelmingly dominate premium positions, particularly in niches where exact matching still matters.

That said, the impact of the URL in the overall algorithm remains marginal compared to content, backlinks, or domain authority. A site with underscores but exceptional content and strong links will always outperform a mediocre competitor with perfect URLs. Let’s keep things in proportion.

What nuances should be added to this recommendation?

Some CMS and frameworks impose technical constraints that make underscores unavoidable in certain contexts. For example, legacy e-commerce platforms generate product URLs with underscores by default. If your system cannot modify this logic without massive rewriting, focus on other more profitable SEO levers.

Moreover, domain names and subdomains do not accept multiple dashes or underscores according to standard RFCs. This rule only applies to the URL paths after the main domain. Do not confuse the two levels.

Warning: If you are massively migrating URLs with underscores to dashes, anticipate a transitional phase where Google must crawl and reindex all your content. This may temporarily disrupt your rankings, especially if 301 redirects are not perfectly set up. Plan this operation during a period of low activity and monitor Search Console daily.

In what cases does this rule lose relevance?

On very short URLs or single-page sites, the impact becomes negligible. If your strategy relies on a strong brand domain and long content indexed based on its substance rather than its URL, you may be able to use underscores without measurable harm.

Similarly, certain technical sectors (software documentation, public APIs) use strict naming conventions where underscores are an integral part of resource identity. In these cases, technical consistency and readability for developers take precedence over marginal SEO optimization.

Practical impact and recommendations

What should I do concretely to optimize my URLs?

If you are creating a new site, set up your CMS from the start to generate slugs with dashes. WordPress, Shopify, and most modern platforms do this natively, but check permalinks settings. Some themes or plugins may impose alternative formats.

For existing sites, audit your URLs using Screaming Frog or your preferred crawler. Identify strategic pages with underscores that generate significant organic traffic. Prioritize migrating commercially high-potential content, not blindly striving for completeness.

What mistakes should be avoided during a URL migration?

Never redirect with 302 or 307, only with permanent 301. Google needs to understand that the old URL is definitively replaced; otherwise, PageRank and historical signals will not transfer correctly. Test each redirect individually before global deployment.

Avoid redirect chains (A→B→C). If a URL with an underscore was already pointing to another page, create a direct redirect to the final destination with dashes. Each additional link dilutes the signal and slows the crawl.

How can I check that my site adheres to this standard?

Export all your URLs from Google Search Console (Performance > Pages). Filter those containing the "_" character with Excel or a Python script. Cross-reference this list with your traffic data to identify high-stakes pages.

Additionally, set up an alert in your monitoring to detect any newly created URLs with underscores. This can happen due to a misconfigured plugin, an import of external data, or human error during content creation.

  • Set the CMS to generate slugs with dashes by default
  • Audit existing URLs and prioritize pages with high traffic or conversion
  • Implement 301 redirects tested individually before deployment
  • Check for the absence of redirect chains (maximum 1 hop)
  • Monitor Search Console for any 404 errors post-migration
  • Submit the new XML sitemap to speed up recrawling
Optimizing URLs with dashes instead of underscores remains a fundamental best practice, even if its direct SEO impact is modest. Apply it consistently to new content, but carefully assess the benefit-risk ratio before migrating thousands of established URLs. These technical operations, while conceptually simple, require a keen expertise in crawling, redirects, and indexing to avoid visibility losses. If you are considering a significant redesign or complex migration, working with a specialized SEO agency can secure the process and maximize gains while minimizing transitional risks.

❓ Frequently Asked Questions

Les underscores dans les URLs peuvent-ils provoquer une pénalité Google ?
Non, les underscores ne déclenchent aucune pénalité. Ils empêchent simplement Google de segmenter les mots de l'URL, ce qui réduit leur contribution au signal sémantique global de la page.
Dois-je absolument migrer mes URLs existantes avec underscores vers des tirets ?
Pas nécessairement. Si votre site est établi et performant, le risque d'une migration massive peut dépasser les bénéfices marginaux. Réservez les tirets aux nouveaux contenus et aux refontes planifiées.
Les tirets multiples consécutifs (ex: mot--cle) posent-ils problème ?
Google les tolère mais ils nuisent à la lisibilité et peuvent paraître spammy. Privilégiez toujours un seul tiret entre chaque mot pour maintenir une structure propre et professionnelle.
Cette règle s'applique-t-elle aussi aux noms de fichiers images et PDF ?
Oui, absolument. Les noms de fichiers médias contribuent à leur indexation dans Google Images et la recherche universelle. Utilisez des tirets pour segmenter les termes descriptifs.
Un underscore dans un paramètre d'URL dynamique (?id_produit=123) est-il problématique ?
Moins critique, car les paramètres ne sont généralement pas interprétés sémantiquement par Google. Concentrez vos efforts sur le chemin d'URL principal plutôt que sur les query strings.
🏷 Related Topics
Crawl & Indexing AI & SEO Domain Name

🎥 From the same video 1

Other SEO insights extracted from this same Google Search Central video · duration 3 min · published on 05/08/2011

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.