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

Spaces in URLs can be problematic because they complicate link sharing for users. Use hyphens to make links more readable and shareable.
19:00
🎥 Source video

Extracted from a Google Search Central video

⏱ 1h07 💬 EN 📅 08/09/2017 ✂ 14 statements
Watch on YouTube (19:00) →
Other statements from this video 13
  1. 1:39 Singulier et pluriel : Google fait-il vraiment la différence pour le référencement ?
  2. 3:50 Pourquoi votre site fluctue-t-il dans les SERP et comment stabiliser ces variations ?
  3. 5:16 Les études utilisateur sont-elles devenues un signal SEO direct ?
  4. 9:35 Pourquoi votre site ne ranke-t-il pas partout pareil sur Google international ?
  5. 11:09 Faut-il vraiment activer le géociblage Search Console pour tous vos sites ?
  6. 12:07 Faut-il vraiment canonicaliser les pages paginées vers la première page ?
  7. 14:41 La balise canonique suffit-elle vraiment à résoudre tous vos problèmes de contenu dupliqué ?
  8. 17:56 Comment éviter l'effondrement de l'indexation lors d'une migration de site ?
  9. 24:57 Le .com.au est-il vraiment traité comme un .net.au pour le géociblage Google ?
  10. 33:59 Les pages de catégorie ont-elles vraiment besoin de contenu de qualité pour ranker ?
  11. 36:59 Les backlinks restent-ils un signal de classement fiable malgré le spam massif ?
  12. 39:40 L'hébergement de votre site .com impacte-t-il vraiment son classement géographique ?
  13. 45:33 Comment les vulnérabilités de sécurité sabotent-elles votre stratégie SEO ?
📅
Official statement from (8 years ago)
TL;DR

Google recommends using hyphens instead of spaces in URLs to facilitate link sharing. Spaces become %20 in browsers, making URLs unreadable and hard to share. For SEO, the stakes are twofold: human readability and relevance signals sent to Google through URL structure.

What you need to understand

Why Are Spaces a Problem in a URL?

When a browser encounters a space in a URL, it automatically converts it to %20. This encoding mechanism transforms a readable URL like mysite.com/page name into mysite.com/page%20name.

The issue becomes evident when a user copies and pastes this link into an email, on social media, or in a document. The %20 string breaks readability and creates psychological friction: the URL appears technical, broken, and unreliable. Click-through rates suffer directly.

What’s the Difference Between a Hyphen and an Underscore?

Google recognizes two types of separators: the hyphen (-) and the underscore (_). The hyphen functions as a word separator for the search engine: seo-best-practices is interpreted as three distinct words.

The underscore, on the other hand, is treated as a connector: seo_best_practices becomes one composite keyword. This distinction dates back to Google's early years and remains valid. In practice, the hyphen has become the nearly universal standard on the web.

Does This Recommendation Only Apply to Main URLs?

No, the logic applies to any resource accessible via URL: content pages, PDF files, images, downloadable archives. Whenever a user can copy a link, readability matters.

The query parameters follow different rules: they naturally use special encodings. But for page slugs and file paths, hyphens remain the optimal standard.

  • Spaces turn into %20 in browsers, making URLs unreadable
  • The hyphen (-) separates words for Google, while the underscore (_) connects them
  • URL readability impacts click-through rates and the perception of reliability
  • This rule applies to pages, PDF files, images, and any shareable resource
  • GET parameters (query strings) follow distinct encoding conventions

SEO Expert opinion

Does This Directive Really Reflect a Ranking Factor?

Mueller discusses link sharing and human readability, not direct ranking. Google has never stated that URLs containing %20 would be penalized in SERPs. The signal here is indirect.

A clean URL generates more organic clicks, more natural shares, and more citations without copying errors. These user behaviors feed signals of relevance and authority. The ranking factor isn't the URL itself; it's the engagement it facilitates or hinders.

Are There Exceptions in Practice?

Some CMSs or legacy platforms still generate URLs with encoded spaces. As long as the server returns a 200 response and the content is crawlable, Google indexes without issue. I’ve seen poorly structured sites rank on the first page with %20 everywhere.

Let’s be honest: it’s not the URL structure that saves them; it's the lack of strong competition for their queries. Once a competitor optimizes their URLs, the gap in CTR and social signals starts to show. [To be verified] on highly competitive transactional queries.

Should We Rewrite Existing URLs with %20?

Migrating URLs solely to replace %20 with hyphens requires 301 redirects. Each redirect marginally dilutes PageRank and imposes a crawl cost. If your site has thousands of pages with %20 but they are indexed and ranking well, it likely isn’t worth the effort.

However, for any new content or redesign, apply hyphens from the start. It’s a fundamental SEO best practice, just like HTTPS or alt tags. Not a magic factor, just an optimization that avoids unnecessary friction.

Caution: poorly planned URL migration can lead to temporary traffic drops. Prioritize this optimization as part of an overall redesign, not as a standalone action.

Practical impact and recommendations

How Can I Audit Problematic URLs on My Site?

Use Screaming Frog or an equivalent crawler in full list mode. Export the "Address" column and filter for %20 in Excel or a text editor. You'll see immediately the affected pages and their volume.

Cross-reference this list with your high-traffic pages in Google Analytics or Search Console. If encoded URLs generate significant conversions, note them for potential planned redirects. If they are orphaned or low value, leave them as they are.

What Rule Should Be Applied for New Content?

Configure your CMS to automatically generate slugs with hyphens. WordPress, Drupal, Shopify, and most modern platforms do this by default. Just ensure that the automatic title-to-slug transformation properly replaces spaces and special characters with hyphens.

For uploaded files (PDFs, images), rename them before uploading: annual-report-2023.pdf instead of Annual Report 2023.pdf. Many servers retain the original name, including spaces, resulting in unnecessarily complex encoded URLs.

What If My Site Heavily Uses Underscores?

Underscores don’t break anything technically, but they glue words together in Google’s eyes. If your URL architecture uses guide_seo instead of guide-seo, you lose the chance for Google to interpret "guide" and "seo" as two distinct terms matching long-tail queries.

Migrating thousands of URLs from _ to - is a heavy decision. First, assess the impact: conduct an A/B test on a section of the site, measuring CTR and positioning variations over three months. If the gain is marginal, keep your current structure and focus on content. If the gain is significant, plan a gradual migration with well-mapped 301 redirects.

  • Crawl your site and filter for %20 to identify encoded URLs
  • Configure your CMS to automatically generate slugs with hyphens (-)
  • Rename files before upload: replace spaces and special characters with hyphens
  • If migration is needed, plan clean 301s and monitor Search Console for 90 days
  • Test CTR gains on a sample before generalizing a URL overhaul
  • Incorporate this rule into your editorial checklist for all new content
Clean URLs with hyphens enhance readability, facilitate sharing, and indirectly convey quality signals. Not a direct ranking lever, but a cumulative optimization that matters in the long run. For complex sites or large migrations, these technical adjustments can become tricky to manage alone: consulting a specialized SEO agency can help avoid costly mistakes and secure each deployment step.

❓ Frequently Asked Questions

Les espaces dans les URLs empêchent-ils l'indexation par Google ?
Non, Google indexe sans problème les URLs contenant %20. Le vrai enjeu est la lisibilité pour les utilisateurs et le taux de clics, pas l'indexation technique.
Dois-je remplacer tous les tirets bas par des tirets hauts dans mes URLs ?
Seulement si ton site est en refonte ou si tu constates un écart de performance mesurable. Une migration isolée pour ce seul motif comporte des risques (dilution PageRank, erreurs de redirection) souvent supérieurs au gain.
Les URLs avec %20 ont-elles un impact négatif sur le CTR en SERPs ?
Oui, indirectement. Les URLs affichées dans les résultats Google avec %20 paraissent techniques et peu fiables, ce qui peut réduire le taux de clics par rapport à des URLs propres avec tirets.
Comment configurer WordPress pour éviter les %20 dans les slugs ?
WordPress génère automatiquement des slugs avec tirets à partir des titres. Vérifie simplement dans Réglages > Permaliens que la structure choisie utilise %postname% et que le titre ne contient pas de caractères exotiques.
Les URLs des images doivent-elles aussi utiliser des tirets ?
Oui, pour la même raison : lisibilité et partageabilité. Renomme tes fichiers images avant upload (photo-produit-rouge.jpg) plutôt que de laisser le nom par défaut (IMG_1234.jpg ou photo produit rouge.jpg).
🏷 Related Topics
Domain Age & History AI & SEO JavaScript & Technical SEO Links & Backlinks Domain Name Social Media

🎥 From the same video 13

Other SEO insights extracted from this same Google Search Central video · duration 1h07 · published on 08/09/2017

🎥 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.