Text Case Converter (camelCase, snake_case)

ALL CAPS where it should be Title Case? Convert any text between the seven useful cases — instantly, with copy buttons on every result.

Results update as you type
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/case-converter" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/case-converter" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Text Case Converter (camelCase, snake_case)</a></div>

The seven cases

When to use which

Pair with the Slug Generator when the target is a URL, or the Word Counter for length checks.

How the estimate is derived

toWords() normalises the input into a word list: it splits on spaces, underscores and hyphens, then breaks camelCase at the boundary between a lowercase and an uppercase letter. convert() reassembles those words in the requested style, and update() re-runs the whole pipeline as you type so switching style does not require re-pasting. Identifier styles are the point — the same words become a class name, a database column or a constant depending on which convention you pick.

When not to rely on it

Acronym runs have no reliable boundary, so HTTPServer and parseHTMLResponse are split by heuristic and may not match what you intended. Non-Latin scripts are left alone: case conversion is meaningless for Chinese, and accented Latin letters are handled by the browser's own case mapping rather than a bespoke table. The original separators are not remembered — the output is always one style.

Privacy: health data never leaves your device

The identifier is transformed with string operations in this tab. There is no request, no history and no telemetry recording which conventions you looked up.

Frequently asked questions

Why is my acronym split oddly?

Because the boundary rule looks for a lowercase letter followed by an uppercase one; a run of capitals gives no such signal, so the split is a guess.

Does it change Chinese text?

No. There is no case in Chinese, so those characters pass through untouched.

Can I keep the original separators?

No. Each output uses one separator consistently; mixing them is what makes identifiers look accidental.