Case Converter
Convert names between every common convention at once — camelCase, snake_case, kebab-case and the rest. Acronyms stay intact and pasted lists convert line by line.
1 line. Acronyms are kept together, so XMLHttpRequest becomes xml_http_request rather than x_m_l_http_request.
xmlHttpRequest
XmlHttpRequest
xml_http_request
xml-http-request
XML_HTTP_REQUEST
Xml Http Request
Xml http request
xml.http.request
xml/http/request
xml http request
XML HTTP REQUEST
What the Case Converter does
- Converts names into every common convention at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more.
- Handles acronyms correctly, so XMLHttpRequest becomes xml_http_request rather than x_m_l_http_request.
- Converts each line of a pasted list independently, so you can rename a whole set of fields in one go.
- Accepts input in any convention — it works out the word boundaries for you.
What it doesn't do
- It doesn't translate or correct spelling.
- It doesn't preserve intentional capitalisation inside a word, such as a brand name.
- It doesn't convert code in place — it converts identifiers you paste in.
Frequently asked questions
Which case should I use where?
camelCase for JavaScript variables and functions, PascalCase for classes, types and React components, snake_case for Python and SQL columns, kebab-case for URLs, CSS classes and file names, and CONSTANT_CASE for environment variables. Matching your language's convention matters more than any individual preference.
How are acronyms handled?
A run of capitals followed by a capitalised word is treated as one unit, so XMLHttpRequest splits into XML, Http and Request. This is what most style guides expect and what naive converters get wrong.
Can I convert a whole list at once?
Yes. Paste one name per line and each converts independently, with blank lines preserved. It's the quickest way to rename a set of database columns or API fields consistently.