Runs in your browser · Last updated 4 September 2026
Snake Case Converter
camelCase or kebab-case to snake_case. Python-friendly identifiers, one per line, in this tab.
snake_case
hello_world_example xml_http_request user_id_value
camelCase
helloWorldExample xmlHttpRequest userIdValue
PascalCase
HelloWorldExample XmlHttpRequest UserIdValue
kebab-case
hello-world-example xml-http-request user-id-value
CONSTANT_CASE
HELLO_WORLD_EXAMPLE XML_HTTP_REQUEST USER_ID_VALUE
Title Case
Hello World Example Xml Http Request User Id Value
Sentence case
Hello world example Xml http request User id value
UPPER CASE
HELLO WORLD EXAMPLE XMLHTTPREQUEST USER_ID_VALUE
lower case
hello world example xmlhttprequest user_id_value
How to use this tool
- Paste camelCase, kebab-case, or a phrase.
- Copy the highlighted snake_case block.
- Batch extra names on new lines.
Worked example
helloWorldExample → hello_world_example. Hello World Example → hello_world_example.
Frequently asked questions
- What is snake_case?
- Lowercase words joined with underscores. Python, Ruby, and many databases use it.
- Camel to snake?
- helloWorldExample → hello_world_example. Acronyms in XMLHttpRequest become xml_http_request.
- CONSTANT_CASE?
- Same tokens, all caps. Shown on this page under CONSTANT_CASE.
- Uploaded?
- No.
- Spaces?
- Treated as separators, same as hyphens.