Case Converter

Case Converter

Characters: 0Words: 0
Enter text to convert and all case results will appear here.

Case Notation Reference

NotationExample (hello world example_text)Common usage
camelCasehelloWorldExampleTextJavaScript/Java variables & functions
PascalCaseHelloWorldExampleTextClass, component & type names
snake_casehello_world_example_textPython/Ruby variables, DB columns
kebab-casehello-world-example-textURL slugs, CSS classes, file names
CONSTANT_CASEHELLO_WORLD_EXAMPLE_TEXTConstants, environment variables
dot.casehello.world.example.textNamespaces, property paths
path/casehello/world/example/textURL paths, file paths
Train-CaseHello-World-Example-TextHTTP header names
UPPERCASEHELLO WORLD EXAMPLE_TEXTEmphasis, acronyms
lowercasehello world example_textSearch normalization, comparison
Title CaseHello World Example_textTitles, headlines
Sentence caseHello world example_textBody sentences, descriptions
CapitalizeHello world example_textTidy up the first letter of names/labels

What is the Case Converter?

The Case Converter is a free online tool that instantly converts your text or variable name into every notation commonly used in development — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more — all at once. Unlike typical tools where you pick one target format at a time, this tool outputs every case result on a single screen so they are easy to compare and copy.

Even input that mixes spaces, underscores, hyphens, and camelCase is automatically split into word tokens and recombined accurately, making it especially useful for aligning variable and function naming conventions or for generating URL slugs, CSS classes, and environment variable names. It also supports general case conversions such as UPPERCASE, lowercase, Title Case, and Sentence case.

Key Features

Convert all cases at once

camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE appear together the moment you type, so comparing and copying is effortless.

General case conversion

Handle UPPERCASE, lowercase, Title Case, Sentence case, and Capitalize (first letter only) in one place.

Smart tokenization

Automatically detects spaces, underscores, hyphens, camelCase, number, and acronym boundaries to recombine any input accurately.

One-click copy & export

Copy per case, or use Copy All, Copy JSON, and JSON download to grab every result at once.

How to Use

  1. Enter your text: Paste or type the word or phrase you want to convert. Any notation format is detected automatically.
  2. See all cases: As you type, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more appear together on one screen.
  3. Enable extra notations: Turn on the extra notations view to also see dot.case, path/case, and Train-Case results.
  4. One-click copy: Click the copy button next to any case to copy that result to your clipboard.
  5. Export everything: Use Copy All or Export/Download JSON to grab every conversion result at once.

Use Cases

Variable & function naming

Convert snake_case API response fields to camelCase (or vice versa) in a single step.

URL slugs & CSS classes

Turn titles or word combinations into kebab-case to build SEO-friendly URL slugs and CSS class names.

Constants & env variables

Convert config keys or constant names to CONSTANT_CASE to match your code conventions.

Document & title cleanup

Use Title Case and Sentence case to make headings and body text consistent.

Frequently Asked Questions

Which cases can I convert to at once?

By default it converts simultaneously to camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Enable the extra notations option to also see dot.case, path/case, and Train-Case. On top of that, UPPERCASE, lowercase, Title Case, Sentence case, and Capitalize (first letter only) are all shown on a single screen.

Can it reconvert input that is already in camelCase?

Yes. Whatever the input format — camelCase, PascalCase, snake_case, kebab-case, or a plain sentence — it is automatically split into word tokens and recombined into each case. For example, entering 'getUserName' yields get_user_name in snake_case and get-user-name in kebab-case.

How are numbers and acronyms (HTTP, ID, etc.) handled?

It detects word boundaries between letters and numbers, and after consecutive uppercase acronyms. For example, 'HTTPServer' splits into HTTP and Server, while 'user2Name' splits into user, 2, and Name, then recombines each according to the case rules.

Can I grab all the converted results at once?

Yes. Each case has its own copy button for individual copying, and the Export All section lets you Copy All (label: value format) or Copy/Download JSON to take every result at once.

Is the text I enter sent to a server?

No. All conversion runs purely in your browser with JavaScript, and the input text is never sent to or stored on any server. You can safely convert sensitive content such as variable names or code snippets.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, which suits titles (e.g. Hello World Example). Sentence case capitalizes only the first letter of the sentence and lowercases the rest, which suits body sentences (e.g. Hello world example).

Privacy Notice

Every conversion in this tool is performed entirely in your browser with JavaScript. The text and variable names you enter are never sent to or stored on any server, so you can safely convert sensitive code snippets or internal identifiers.

Related Tools

Explore all Dev Tools tools