# Underscores in URLs

> Understand Google

Canonical: https://scaplet.com/seo-issues/underscores-in-urls

Guide SEO issue · On-page

Understand Google's recommendation for hyphenated URLs, decide whether legacy paths should change, and migrate with redirects and updated links.

4 min

read

3

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

Google recommends hyphens instead of underscores when separating words in URLs because they help users and search engines identify concepts. For new pages, use readable hyphenated paths. For established URLs, do not rename pages just to replace underscores; change them only as part of a deliberate migration with direct permanent redirects, updated internal links, canonicals, and sitemap entries.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Funderscores-in-urls%20(%22Underscores%20in%20URLs%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Funderscores-in-urls%20(%22Underscores%20in%20URLs%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Funderscores-in-urls%20(%22Underscores%20in%20URLs%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Funderscores-in-urls%20(%22Underscores%20in%20URLs%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 4 minutes.

1. [Use hyphens for new descriptive paths 01](#use-hyphens-for-new-descriptive-paths)
2. [Plan a URL migration before changing paths 02](#plan-a-url-migration-before-changing-paths)
3. [Keep the path readable and stable 03](#keep-the-path-readable-and-stable)
4. [Verify the new and old routes 04](#verify-the-new-and-old-routes)

_01_Decide whether an existing URL should move

## Use hyphens for new descriptive paths

Google's [URL structure](/glossary/url-structure) guidance recommends hyphens (`-`) instead of underscores (`_`) between words. Its explanation: hyphens help users and search engines better identify concepts in the URL, and for historical reasons it does not recommend underscores, which are commonly used to denote concepts that should be kept together (programming languages use them in names such as `format_date`), whereas hyphens clearly signal a word boundary. This is a URL readability recommendation, not a reason to rewrite a stable site's paths without a migration plan.

Situation

### New route or new page

Recommendation

Use short, readable words separated with hyphens.

Reason

You can choose a clear URL before links and search history accumulate.

Situation

### Established URL still works and earns traffic or links

Recommendation

Keep it; improve the title and content without changing its address.

Reason

A URL change adds migration work and can temporarily change Search visibility.

Situation

### Part of a planned redesign or URL cleanup

Recommendation

Map each old URL to its closest new equivalent and migrate carefully.

Reason

A controlled move can solve several real architecture issues at once.

Situation

### Many near-duplicate paths or generated parameter URLs

Recommendation

Fix route generation and canonical handling first.

Reason

Replacing underscores alone does not resolve [duplicate URL](/seo-issues/duplicate-pages) patterns.

The benefit is clearest when you are designing a new path such as `/summer-clothing/`. Google frames this as a best practice to apply "when possible", separate from its list of requirements for a crawlable URL structure. It does not tell site owners to rename existing URLs, so an existing `/summer_clothing/` URL needs no emergency fix.

_02_How it works

## Plan a URL migration before changing paths

**Do not change URL spelling in isolation**If you replace underscores but leave old internal links, canonical tags, or sitemap entries behind, your site sends mixed signals and keeps making users take redirects.

1. 01

### Export the current URL inventory

Collect canonical URLs, status codes, [internal links](/glossary/internal-links), sitemap entries, and [Search Console](/glossary/google-search-console) page data. Identify which underscore paths have traffic, [backlinks](/glossary/backlinks), or business value.
2. 02

### Map old URLs one-to-one

Create a table from each old path to its closest new destination. Do not send unrelated old URLs to the home page; Google says redirecting many old URLs to one irrelevant destination, such as the new home page, can confuse users and might be treated as a [soft 404 error](/glossary/soft-404). Redirecting several old pages to one new page is fine when you consolidated their content.
3. 03

### Create permanent server-side redirects

For URLs that truly moved permanently, use [HTTP 301](/errors/http/301) or 308 redirects when possible. Avoid chains; [Googlebot](/ai-crawlers/googlebot) can follow up to 10 hops, but Google advises redirecting to the final destination directly and, if that is not possible, keeping a chain ideally to no more than 3 redirects.
4. 04

### Update every first-party signal

Change internal links, canonical tags, hreflang references, structured data URLs, and sitemap entries to the new paths. Keep the redirects for as long as possible; Google says generally at least 1 year.
5. 05

### Monitor and fix exceptions

Crawl both old and new paths, inspect 404s and redirect destinations, and monitor Search Console indexing and performance by URL during the move.

_03_Worth knowing

## Keep the path readable and stable

### Describe the page in a few words

Google recommends readable words rather than long IDs when possible. Avoid adding every keyword variation to the path.

### Use your audience's language

Keep terms natural for the people who use the site; Google recommends words in the audience's language when practical.

### Use one separator convention

For new paths, separate words with hyphens. Avoid mixing underscores, hyphens, and joined words across a single route family.

### Keep URLs case-consistent

Google treats paths with different capitalization as distinct URLs, so use a consistent case and route rule.

### Review parameters separately

Remove unnecessary parameters only when they do not change the page. A short clean slug is not a substitute for canonicalizing duplicate parameter versions.

For a publisher, use the article topic in the path and keep it stable if the headline changes. For a product catalog, encode the durable product identity rather than every filter state. For international pages, use the appropriate language and retain explicit locale structure where it helps users navigate.

_04_Explained

## Verify the new and old routes

After deployment, request a sample of old URLs and confirm each returns one permanent redirect to the correct live page. Request the new URL and check it returns a successful response, points to itself as canonical when appropriate, and appears in the current sitemap. Recrawl internal links to confirm that the site now points directly to new URLs.

Google's site move documentation says you may see ranking fluctuations while Google recrawls and reindexes. As a general rule, for medium-sized websites it can take a few weeks or more for Google to gradually start showing the new URLs, and longer for larger sites. Treat that as a planning expectation, not a guarantee. Review [redirect chains](/seo-issues/redirect-chains) and [redirect loops](/seo-issues/redirect-loops) before closing the migration.

If no other URL or site change is planned, leave the underscore path in place. Use the recommendation for new routes and invest the saved effort in page usefulness, internal links, and resolving actual crawl errors.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [URL structure best practices for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure) developers.google.com · checked 2026-10-24
2. 02 [Site Moves and Migrations](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) developers.google.com · checked 2026-10-24
3. 03 [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-24

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Does Google understand underscores in URLs?

Google's URL structure guidance recommends hyphens instead of underscores to separate words, as it helps users and search engines better identify concepts in the URL. The guidance does not describe underscore URLs as ineligible for Search.

_02_ Should I change every URL that contains an underscore?

No. Keep stable URLs unless there is a broader migration reason. If a URL does move, map it to a relevant destination, use a direct permanent redirect, and update internal links, canonicals, and sitemap entries.

## Keep learning

[All seo issues](/seo-issues)

[Learn Redirect chains Redirects](/seo-issues/redirect-chains) [Related Canonical URL Crawling and indexing](/glossary/canonical-url) [Read next Redirect loops Redirects](/seo-issues/redirect-loops) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Web fonts are delaying text](/seo-issues/web-fonts-blocking-text)

More in On-page
[Duplicate H1 tags](/seo-issues/duplicate-h1) [Duplicate meta descriptions](/seo-issues/duplicate-meta-descriptions) [Duplicate title tags](/seo-issues/duplicate-title-tags) [Keyword cannibalization](/seo-issues/keyword-cannibalization-issue) [Missing H1](/seo-issues/missing-h1) [Missing image alt text](/seo-issues/missing-alt-text) [Missing meta description](/seo-issues/missing-meta-description) [Title tag too long](/seo-issues/title-too-long) [Title tag too short](/seo-issues/title-too-short) [Underscores in URLs](/seo-issues/underscores-in-urls) [Uppercase characters in URLs](/seo-issues/uppercase-urls)

Terms on this page
[URL structure](/glossary/url-structure) [Internal links](/glossary/internal-links) [Google Search Console](/glossary/google-search-console) [Backlinks](/glossary/backlinks) [Soft 404](/glossary/soft-404)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
