camelCase converter

Paste your text and get clean camelCase, ready to drop into your code.

🔒 100% local conversion: your text never leaves your browser.

All other cases

What camelCase is for

camelCase joins words and capitalises each one except the first: myWordCounter. It is the convention for variables and functions in JavaScript, Java, C# and Swift. The name comes from the camel humps drawn by the internal capitals.

The acronym trap

What should XMLHttpRequest become? Most converters output xMLHttpRequest or x_m_l_http_request. Ours recognises that a run of capitals forms an acronym and treats it as one word, giving xmlHttpRequest. Same for getHTTPResponse, which yields getHttpResponse.

Frequently asked questions

camelCase or PascalCase?

Both join words. camelCase keeps the first letter lowercase (myVariable), PascalCase capitalises it (MyClass). By convention: camelCase for variables and functions, PascalCase for classes and types.

Should I use it for filenames?

Better not. Some systems treat filenames case-insensitively, which causes collisions. kebab-case is safer for files and URLs.

Are accented letters supported?

Yes, they are preserved. Note that most languages accept them in identifiers but convention is to avoid them.

Related tools