Case Converter
Free online tool to convert text between common code naming styles: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and more.
Target Format
Input Text
Quick try:
Supported Formats
| Format | Example | Common Use |
|---|---|---|
| camelCase | helloWorld | JavaScript/TypeScript variables, function names |
| PascalCase | HelloWorld | Class names, React components, C# methods |
| snake_case | hello_world | Python variables, file names, Ruby |
| kebab-case | hello-world | CSS class names, URL paths, HTML attributes |
| CONSTANT_CASE | HELLO_WORLD | Constants, environment variables |
| Title Case | Hello World | Titles, headings, documents |
| Sentence case | Hello world | Paragraphs, UI copy |
| lower case | hello world | Plain text |
How to Use
- Paste text in any format into the input area
- Choose the target naming style
- The result is generated in real-time
- Click "Copy" to copy the result
Examples
Input: hello_world → choose camelCase → helloWorld
Input: helloWorld → choose kebab-case → hello-world
Input: HELLO_WORLD → choose PascalCase → HelloWorld
常见问题
How does the tool detect different naming formats?
The tool automatically recognizes common delimiters (underscores, hyphens, spaces) and capital letters in camel case to split words. You can input text in any format — snake_case, kebab-case, camelCase, or even mixed formats — and it will parse correctly.
Does it support non-English characters?
Yes. The tool preserves Chinese, Japanese, Korean, and other non-English characters during conversion, only transforming the English word parts.
Is this tool free? Is my data safe?
Completely free. All conversion happens locally in your browser. No data is ever uploaded to any server, protecting your privacy.
Which naming styles are supported?
8 common naming styles are supported: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, and lower case. You can freely choose any input/output combination.
Share this tool