Tools Hub

Code Case Converter

Convert words to camel, Pascal, snake, kebab, constant, dot or path case.

Browser onlyYour data never leaves this device.

Runs entirely in your browser. Your text never leaves this device and is never stored.

Details: Privacy policy

Input

Converted live. Nothing is stored.

Result

No text yet.

Paste words above to convert their case.

Code Case Converter turns a phrase into the identifier styles used across programming and configuration: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case and path/case. It splits the input on separators and on camel boundaries, lowercases each word, then rejoins them according to the selected style. That makes it the one page for a job that otherwise spreads across seven near-identical tools, and it keeps the rules consistent: a hyphen and an underscore are both separators, and helloWorld is recognised as two words rather than one. The page is explicit about its limits. Splitting is mechanical, so an acronym such as HTTPResponse may split in a way you did not intend, and the original casing is not preserved because every style starts from lowercase words. There is no transliteration or language awareness. It is the tool for naming variables, converting config keys, and producing a URL segment from a human-readable phrase. Because separators are discarded, a leading or trailing hyphen does not produce an empty word. The word count is shown so an unexpected split, such as an acronym boundary, is visible immediately. A single word produces a valid identifier in every style, and separators are never doubled. The style applies to the whole input, not to selected words.

How to use Code Case Converter

  1. Paste the words or an existing identifier.
  2. Choose one of the seven styles.
  3. Copy the identifier or clear to start over.

What you get

  • The phrase joined in the selected identifier style.
  • A count of words that were converted.
  • A consistent lowercase base for every style.

When to use Code Case Converter

  • Turn a human-readable label into a variable name.
  • Convert a config key between snake_case and camelCase.
  • Produce a kebab-case URL segment from a phrase.

Frequently asked questions about Code Case Converter

Why did my acronym split oddly?

Splitting is mechanical at camel boundaries; an acronym followed by a word can be divided in a way a human would not choose.

Does it preserve my original casing?

No. Every style is built from lowercased words, so the source casing is intentionally discarded.

Does it support non-Latin scripts?

It keeps Unicode letters and digits, but the style conventions are designed around Latin identifiers.

Is my text uploaded?

No. Conversion runs in your browser; nothing is sent to a server or stored.

Guides that compare Code Case Converter

Free Software Alternative Comparisons:

⚡Embed Code Case Converter on Your Site & Get Badge↓

Embed this in-browser tool into any blog, documentation, or dashboard. Includes an optional dofollow backlink badge to credit Tools Hub.

Height:
<iframe src="https://salaq.com/embed/text/code-case-converter" title="Code Case Converter — Tools Hub" width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:12px;color:#6b7280;margin-top:6px;font-family:system-ui,-apple-system,sans-serif;">Powered by <a href="https://salaq.com/tools/text/code-case-converter" target="_blank" rel="noopener" style="color:#2563eb;text-decoration:underline;">Code Case Converter on Tools Hub</a></p>

Feedback

Send feedback about this tool (placeholder — feedback collection is not wired up yet).