‹

Snake Case Converter

Convert labels and mixed identifiers into readable snake_case with lowercase words separated by underscores.

Your text stays in your browser. Privacy ↗
DetectedWaiting for text
snake_case result

Your snake_case result will appear here.

Paste or type text; conversion happens automatically.
Paste or type text to see the result.

What is snake_case?

snake_case writes every detected word in lowercase and places one underscore between adjacent words.

The converter runs entirely in your browser. Your input is not uploaded or stored, and Unicode characters remain Unicode rather than being transliterated.

How this conversion works

  1. Find words across spaces, punctuation, separators, camelCase, PascalCase, and acronym boundaries.
  2. Lowercase every word and join adjacent words with a single underscore.
  3. Preserve Unicode letters, numbers, blank lines, and separate lines.

Snake Case Converter examples

InputOutput
database connectiondatabase_connection
userProfileIDuser_profile_id
HTTP response code 2http_response_code_2
Crème brûléecrème_brûlée

Common uses

  • Python variables
  • Database columns
  • Configuration keys and file names

Snake Case Converter FAQ

Does snake_case use hyphens?

No. It uses underscores. Choose the kebab-case converter when you need hyphens.

Will repeated separators create repeated underscores?

No. Separators identify words, and the result places one underscore between detected words.