Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Use hyphens (-) between words in new, descriptive URL paths. Google Search Central recommends hyphens because they help people and search systems identify separate concepts. Underscores (_) are valid URI characters, so an existing underscore URL can continue to work. Change stable URLs only during a planned migration, with redirects or canonical signals that identify the preferred address.

Hyphens are the best default for new URLs

A URL slug is part of your site’s information architecture, not just a string that a browser happens to accept. For a new page, write a short, descriptive, lowercase path and separate distinct words with hyphens. Examples include /summer-clothing/ and /color-profile/dark-grey/. The words remain visible when a link is copied, read aloud, printed or inspected in search results.

Google Search Central states: “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.” The recommendation is about recognition and clarity; it is not a claim that underscores violate URL syntax.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

That distinction matters when you maintain an older site. A path such as /summer_clothing/ is technically valid and may rank, receive links and serve visitors normally. Replacing it with /summer-clothing/ solely to change the separator creates migration work without a guaranteed ranking gain. Use the hyphen convention when you create new paths, or when a larger redesign already justifies changing the address.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

What the URL standards allow

Both characters are permitted

RFC 3986, the IETF specification for URI generic syntax, lists both the hyphen and underscore in the unreserved character set. A web server, browser and crawler can therefore receive either character as part of a path. Syntax permission answers “Can this URL exist?” It does not answer “Which spelling makes the words easiest to recognize?”

Why Google favors hyphens

Google explains that underscores are discouraged for historical reasons: programmers commonly use underscores inside names for concepts intended to stay together. In a path, a hyphen gives a clearer visual boundary between separate words. Google’s guidance is a practical interpretation recommendation, not a published penalty for every underscore URL.

No authoritative source provides a guaranteed ranking lift, percentage improvement or other numeric benefit from changing underscores to hyphens. Treat the recommendation as a URL-design standard for clarity rather than as a promise of a measurable traffic increase.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Hyphens and underscores compared

Decision factor Hyphen (-) Underscore (_)
URI syntax Permitted as an unreserved character under RFC 3986. Permitted as an unreserved character under RFC 3986.
Search word recognition Google recommends it to separate words and identify concepts. Technically usable, but Google discourages it as a separator for historical word-boundary reasons.
Human readability Usually remains visible as a clear break in copied, printed or displayed links. Can be harder to distinguish from an underline or nearby characters in some displays.
New URL policy Preferred default for separate words in descriptive paths. Use only when an established routing convention or a deliberate technical requirement calls for it.
Existing URL risk Changing to it requires redirects, canonical handling, link updates and testing. Can remain in place if stable and correctly served; it is not automatically a problem.
Migration value Usually low when punctuation is the only reason for a change; higher when combined with an information-architecture redesign. Keeping it avoids avoidable URL changes and the associated broken-link risk.

How to design a good URL slug

Describe the page, not the publishing process

Choose words that tell a visitor what content is at the destination. A slug such as /color-profile/dark-grey/ communicates both the subject and the specific item. Avoid opaque database IDs when a stable descriptive term is available. Keep the path focused on the page’s topic rather than on an internal workflow, author name or temporary campaign label.

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

Use lowercase consistently

Google Search treats /APPLE and /apple as distinct URLs. If your server treats uppercase and lowercase paths as equivalent, standardize one form—normally lowercase—and make every internal link use it. A consistent case policy prevents two addresses from representing one page and makes redirects, canonical tags, analytics and debugging easier to manage.

Separate words; do not concatenate them

Hyphens should replace spaces between separate words. Do not remove all punctuation and turn /summer-clothing/ into /summerclothing/ merely to shorten the string. Concatenation hides word boundaries for people and automated systems. Conversely, do not insert a separator inside a term that is intentionally one concept.

Keep paths concise but meaningful

A short path is easier to copy and less likely to change when the page is edited. “Short” does not mean deleting the words needed to distinguish one resource from another. A category and item hierarchy can be useful when it reflects the site’s structure; extra folders that add no meaning are unnecessary maintenance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Write for the audience’s language

Use the language your intended visitors use in navigation and searches, including an appropriate local spelling when the site serves a defined market. For regional sites, select a consistent country-domain or locale-subdirectory structure rather than mixing several patterns from page to page. The separator rule remains the same: use hyphens between words in each language’s path.

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

Remove parameters that do not change content

Parameters are appropriate when they alter the resource, such as a genuine filter or pagination state. Tracking, session and other incidental parameters can create many addresses for the same content. Trim unnecessary parameters where possible, and make sure the clean URL is the address you publish, link to and expose in your sitemap.

Should you change existing underscore URLs?

Usually, no—not solely because the path contains underscores. An established URL may be embedded in other sites, bookmarks, emails, print material and internal systems. Changing it introduces opportunities for missed redirects, lost links, duplicate indexing and incorrect analytics. The available guidance does not establish a guaranteed ranking improvement that offsets those risks.

Consider a change when it is part of a broader, approved migration: a new information architecture, a domain or protocol move, a platform replacement, a language-structure redesign or a consolidation of duplicate pages. In that situation, standardizing new paths on hyphens can make sense because the URL already has to change for another reason.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Decision checklist for a legacy path

  • Keep it when the underscore URL is stable, descriptive, indexed and supported by your current routing.
  • Change it only when there is a separate information-architecture or technical reason with a defined owner, schedule and rollback plan.
  • Inventory dependencies before changing: internal links, XML sitemaps, hreflang references, structured-data URLs, feeds, email templates, APIs, documentation and external links you control.
  • Measure the whole migration rather than attributing any later traffic movement to punctuation alone. Record crawl errors, redirected requests, indexed URLs and organic performance before and after the move.

How to migrate from underscores to hyphens safely

A separator change creates a new URL. Treat it as a URL migration even if the page content is unchanged.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
  1. Define one preferred address per resource. Map every old underscore path to its intended lowercase, hyphenated destination. Resolve conflicting paths before publishing redirects.
  2. Export and review the old URL inventory. Include pages in search indexes, analytics, server logs, sitemaps, feeds, mobile or alternate templates, and important external references. Do not rely on a crawl of only the current navigation.
  3. Publish permanent server-side redirects. Send each old address directly to its matching new address with a permanent redirect. Avoid chains such as old URL → intermediate URL → final URL, and avoid sending unrelated pages to the home page.
  4. Update first-party references. Replace old links in navigation, content, canonical elements, hreflang annotations, structured data, XML sitemaps, RSS feeds and campaign materials. The preferred URL should appear consistently everywhere your site controls.
  5. Canonicalize duplicate variants. If multiple addresses can still display the same resource, use a canonical signal and redirects where appropriate so the preferred URL is unambiguous and link signals can consolidate.
  6. Test status codes and content. Request representative old and new paths, uppercase variants and parameter variants. Confirm that old paths redirect once, new paths return the intended content, and genuine missing pages return an appropriate not-found response.
  7. Monitor after release. Watch server logs, crawl reports, index coverage, redirect volume, internal-link errors and organic landing pages. Keep redirects for as long as visitors and crawlers can reasonably encounter the old addresses.

Redirects and canonical signals solve different problems. A redirect tells a requester to use another address; a canonical signal identifies the preferred address among accessible duplicates. Use the mechanism that matches the situation, and do not assume a canonical element repairs a broken old URL that should redirect.

Case, trailing slashes and routing consistency

Separators are only one part of URL normalization. Decide whether your site uses a trailing slash for directory-like paths, such as /summer-clothing/, or omits it, such as /summer-clothing. Whichever convention you choose, link to one form and redirect the alternate if both can be requested. The same principle applies to a www versus non-www host and to HTTP versus HTTPS, although those choices are separate from hyphen and underscore selection.

Check your framework and web server before assuming case-insensitive behavior. Some systems map uppercase and lowercase to the same file, while others route them separately. Google Search’s treatment remains case-sensitive, so a server that silently serves identical content for both forms can still expose duplicate URLs to crawlers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Parameters, encoding and readable paths

Use parameters only for meaningful variants

A parameter that changes sorting, filtering, pagination or another user-visible state may be part of a legitimate URL. A random session identifier or analytics marker generally does not describe the resource. Prefer a clean, shareable URL for the canonical page, and configure your publishing and analytics systems so unnecessary parameters are not copied into every internal link.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

Encode characters correctly

Spaces are not written literally in a conventional path; systems encode them, often as %20. Using hyphens from the start avoids that visual noise and makes the slug predictable. Preserve required non-ASCII characters according to your platform’s URL rules, and test that links survive copying, redirects and decoding in the browsers and tools your audience uses.

Do not confuse a slug with a filename

A path can describe a resource even when no physical file exists. Avoid adding extensions, dates or implementation details unless they are part of a durable public convention. A content-management-system change should not force every public URL to expose a new internal technology.

Common mistakes and how to fix them

  • Changing every underscore immediately: This creates a large migration for an unproven benefit. Keep stable paths or combine the change with a justified redesign.
  • Creating both versions without a policy: If /dark_grey/ and /dark-grey/ both return 200 responses, choose one preferred URL and redirect or canonicalize the other.
  • Using mixed case: Pick lowercase, update internal links and redirect case variants when your server permits them.
  • Leaving redirect chains: Map each legacy address directly to its final destination and remove obsolete intermediate rules.
  • Redirecting deleted pages to unrelated content: Preserve relevance. A permanently removed page should not be disguised as an equivalent page when no equivalent exists.
  • Adding needless query strings: Keep only parameters that change the page and publish the clean canonical address.
  • Writing unreadable slugs: Do not stack IDs, dates, stopwords and internal labels when a concise description would identify the page.
  • Assuming punctuation determines rankings: Hyphens improve the recommended clarity of new paths, but relevance, useful content, links, crawling and many other signals are not replaced by a separator choice.

A practical URL policy for a new site

  1. Set a documented lowercase convention and decide on trailing-slash and host rules.
  2. Use short descriptive paths in the audience’s language.
  3. Separate words with hyphens; reserve underscores for cases where an existing technical convention genuinely requires them.
  4. Keep only content-changing parameters and define how filtered or paginated URLs are represented.
  5. Generate internal links, canonical elements, hreflang references, structured data and sitemaps from the same normalized URL function.
  6. Before launch, test representative paths with spaces, accents, uppercase letters, duplicate slashes, parameters and missing resources.
  7. Record the policy so future editors do not introduce a second pattern that later requires migration.

What Google’s guidance does—and does not—mean

The Google Search Central URL Structure Best Practices page recommends hyphens for word separation and also advises descriptive, readable URLs. Its SEO Starter Guide provides broader guidance on making pages understandable to users and search engines. Neither source says that every underscore URL is penalized or that replacing separators alone guarantees higher rankings.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The most defensible interpretation is therefore straightforward: choose hyphens for clarity when you control a new URL; preserve a functioning legacy URL unless the value of a wider migration outweighs its operational risk. Apply redirects and canonicalization whenever more than one address can represent the same resource.

Final recommendation

For a new slug, use lowercase words joined by hyphens, keep the path descriptive and concise, and remove parameters that do not change the content. Underscores remain legal and can stay in established URLs. If you migrate, do it as a complete URL project—with a mapping, permanent redirects, updated references, canonical signals and post-launch monitoring—not as a cosmetic punctuation swap.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.