DexTools

Case Converter

Convert text between camelCase, snake_case, kebab-case, Title Case and nine other styles as you type.

Nothing leaves your browser Dex Text & Data
Converted

The conversion appears here as you type.

Computed in this tab as you type.

Save to DriveInsert into Office

Saving needs a Dex account. The tool never does.

How it works

  • Paste or type your text, then pick the style you want from the row of chips above the boxes. The conversion updates as you type and the result box has its own copy button.
  • Identifier styles split the input into words first, so camelCase, an acronym such as HTTP and a plain sentence all convert correctly. Word boundaries are detected at separators and at lower-to-upper transitions.
  • Prose styles (lower, UPPER, Title and Sentence) work on the original text instead, because they should preserve punctuation and line breaks rather than rebuild the string from words.
  • Everything happens in the page. The text is never sent anywhere, so converting a draft, a customer name or a config key is safe.

Examples

Turning a column heading into a variable name

Paste "Total order value" and choose camelCase for totalOrderValue, or CONSTANT_CASE for a config key. The chips switch instantly, which is faster than retyping the identifier by hand.

Cleaning up imported labels

Data exported from a spreadsheet arrives in inconsistent case. Choose Title Case and every word is normalised without touching the punctuation.

Frequently asked questions

Is my text uploaded?

No. The conversion runs in the page as you type. Nothing is transmitted and nothing is stored after you close the tab.

Does it handle acronyms?

Yes. HTTPServerError becomes HTTP, Server, Error before the words are rebuilt, so you get httpServerError rather than hTTPServerError.

What is the difference between Title Case and Sentence case?

Title Case capitalises every word. Sentence case lowercases everything and then capitalises the first letter of each sentence, which is what most style guides ask for in body copy.

Which style should I use for a URL?

kebab-case is the convention for URL paths, because search engines treat hyphens as word separators and underscores as part of the word.