This tool converts underscores into hyphens. It provides flexible options so you can convert every underscore, convert only those within specified substrings, convert all except allowed substrings, or replace underscores with a custom string. Simply enter your text and select the processing mode that suits your needs.
Examples:
Convert All Underscores
Every underscore is replaced with a hyphen.
Before:
this_is_a_test
After:
this-is-a-test
Convert Only Specified Underscores
Only replaces underscores in the specified substrings.
Before:
first_part_middle second_part_end
After (specifying "first_part"):
first-part_middle second_part_end
Convert All Except Allowed Substrings
Replaces every underscore except those in the allowed substrings.
Before:
keep_this unchanged_and_change_this
After (allowing "keep_this"):
keep_this unchanged-and-change-this
Replace Underscores with Custom String
Every underscore is replaced with the custom string you provide.
Before:
convert_this_text
After (using custom string "->"):
convert->this->text