<div style="display:inline;float:right;margin-left:1em"><g:plusone href="https://www.searchenginegenie.com/blog-seo/googles-test-underscores-vs-hyphens-in-urls/"></g:plusone></div>
<div style="display:inline;float:right;margin-left:1em"><g:plusone href="https://www.searchenginegenie.com/blog-seo/googles-test-underscores-vs-hyphens-in-urls/"></g:plusone></div>
{"id":2781,"date":"2024-01-24T06:55:49","date_gmt":"2024-01-24T10:55:49","guid":{"rendered":"https:\/\/www.searchenginegenie.com\/blog-seo\/?p=2781"},"modified":"2026-01-20T06:50:04","modified_gmt":"2026-01-20T10:50:04","slug":"googles-test-underscores-vs-hyphens-in-urls","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/blog-seo\/googles-test-underscores-vs-hyphens-in-urls\/","title":{"rendered":"Google&#8217;s Test: Underscores vs. Hyphens in URLs"},"content":{"rendered":"<p data-start=\"488\" data-end=\"650\">When it comes to SEO best practices, even the smallest details matter\u2014especially how you structure your URLs. For years, SEOs have debated whether underscores (_) or hyphens (-) are better, and while Google has clarified this multiple times, confusion still remains. The truth is your URL is more than just an address; it acts as a signal for users and search engines. Clean, descriptive URLs can improve click-through rates, help search engines understand what a page is about, and create a better user experience. For example, a URL like (www.example.com\/seo-tips-for-beginners) is clearer and more readable than something messy like (www.example.com\/seotipsforbeginners123), which is where the hyphen vs underscore discussion becomes important.<a href=\"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM.png\" rel=\"lightbox[2781]\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2798\" src=\"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM.png\" alt=\"\" width=\"477\" height=\"477\" srcset=\"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM.png 1024w, https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM-300x300.png 300w, https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM-150x150.png 150w, https:\/\/www.searchenginegenie.com\/blog-seo\/wp-content\/uploads\/2024\/01\/ChatGPT-Image-Aug-26-2025-02_47_26-PM-768x768.png 768w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/a><\/p>\n<div class=\"flex flex-col text-sm pb-25\">\n<article class=\"text-token-text-primary w-full focus:outline-none [--shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(--shadow-height) has-data-writing-block:pt-(--shadow-height) [&amp;:has([data-writing-block])&gt;*]:pointer-events-auto scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" tabindex=\"-1\" data-turn-id=\"64150f14-8cac-44ea-bbd7-21501ddf44b0\" data-testid=\"conversation-turn-6\" data-scroll-anchor=\"true\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] @w-sm\/main:[--thread-content-margin:--spacing(6)] @w-lg\/main:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] @w-lg\/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\" tabindex=\"-1\">\n<div class=\"flex max-w-full flex-col grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;]:mt-1\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"c47f1049-b66a-4aed-ac6e-feb55f9e4e1c\" data-message-model-slug=\"gpt-5-2-thinking\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[1px]\">\n<div class=\"markdown prose dark:prose-invert w-full break-words dark markdown-new-styling\">\n<p data-start=\"749\" data-end=\"1404\">Google\u2019s official position is straightforward: hyphens are treated as word separators, while underscores are treated as word joiners. In practical terms, <code data-start=\"903\" data-end=\"919\">best-seo-tools<\/code> is understood as \u201cbest seo tools,\u201d but <code data-start=\"959\" data-end=\"975\">best_seo_tools<\/code> may be read as \u201cbestseotools\u201d as if it\u2019s one combined word. That\u2019s why hyphens are considered more SEO-friendly\u2014they make it easier for Google to parse a URL into meaningful words. Even though modern search engines have improved and can often interpret both formats, Google still recommends hyphens because they improve readability, provide clearer keyword separation, and reduce ambiguity that underscores can sometimes create.<\/p>\n<p data-start=\"1406\" data-end=\"2070\" data-is-last-node=\"\" data-is-only-node=\"\">If you want your URLs to perform well in 2025, the best approach is to keep them short, descriptive, and easy to read, while using hyphens as your default separator. Avoid unnecessary numbers, extra words, or messy parameters, stick to lowercase letters, and don\u2019t change old URLs unless it\u2019s absolutely necessary\u2014if you do, use proper redirects. A simple comparison makes the point clear: <code data-start=\"1796\" data-end=\"1838\">www.example.com\/mens-suits-charcoal-grey<\/code> is more readable and keyword-friendly than <code data-start=\"1882\" data-end=\"1924\">www.example.com\/mens_suits_charcoal_grey<\/code>. Both can rank, but the hyphen version is typically clearer for users and search engines, which can help improve CTR and overall SEO performance.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"z-0 flex min-h-[46px] justify-start\"><\/div>\n<div class=\"mt-3 w-full empty:hidden\">\n<div class=\"text-center\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n<\/div>\n<div class=\"pointer-events-none h-px w-px absolute bottom-0\" aria-hidden=\"true\" data-edge=\"true\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to SEO best practices, even the smallest details matter\u2014especially how you structure your URLs. For years, SEOs have debated whether underscores (_) or hyphens (-) are better, and while Google has clarified this multiple times, confusion still remains. The truth is your URL is more than just an address; it acts as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,117,10,39],"tags":[],"class_list":["post-2781","post","type-post","status-publish","format-standard","hentry","category-google","category-google-knowledge","category-search-engines","category-seo"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/posts\/2781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/comments?post=2781"}],"version-history":[{"count":5,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/posts\/2781\/revisions"}],"predecessor-version":[{"id":2984,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/posts\/2781\/revisions\/2984"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/media?parent=2781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/categories?post=2781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/blog-seo\/wp-json\/wp\/v2\/tags?post=2781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}