Remove Underscores

A free online tool that replaces underscores with spaces. Paste any text and every underscore becomes a space, which turns file names, database columns, and variable names into readable text. Capitalization is left exactly as you typed it.

How to Use the Underscore Remover

Paste your text into the first box. The cleaned version appears in the second box straight away, and the copy button sends it to your clipboard.

Examples: my_file_name.txt becomes my file name.txt. user_id becomes user id. first__name becomes first name, because a run of underscores collapses to a single space.

What the Tool Changes

Only underscores are touched. Letter case is preserved, so API_KEY_NAME becomes API KEY NAME rather than api key name. Underscores at the start or end are removed instead of being left behind as stray spaces.

When to Remove Underscores

This is the step between a machine-readable name and something a person reads. Database column headers going into a report, CSV field names becoming table headings, variable names going into documentation, and downloaded file names that you want to read as a sentence are all common cases.

If you need the opposite, the snake_case converter puts underscores back, and the hyphen remover does the same job for hyphenated text.

Underscores Versus Hyphens in URLs

Google treats hyphens as word separators in URLs but does not treat underscores the same way, which is why kebab-case is the usual choice for slugs. Underscores remain standard in Python variable names, database columns, and many file naming conventions.

Other Text Converters

For other text transformations: title case converter, sentence case, lowercase, UPPERCASE, camelCase, snake_case, dot.case, hyphenated (kebab-case), and invert case.