snake_case Converter

Paste text or variable names and get snake_case instantly.

● Your files are processed locally in your browser and are not uploaded to our servers.

How it works

Words are lowercased and joined with underscores: User First Name → user_first_name. snake_case is the convention in Python, Ruby, Rust and SQL column names.

FAQ

What does it do with existing camelCase or snake_case?

Word boundaries are detected from capital letters, underscores, hyphens, dots and spaces, so userID, user_id and user-id all become the same words before being written in snake_case.