It is best practice to use hyphens instead of underscores in URLs to separate words. Hyphens are treated as spaces between words by search engines, while underscores are treated as one word.