Skip to main content

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

FormatExampleCommon Use
camelCasehelloWorldJavaScript/TypeScript variables, function names
PascalCaseHelloWorldClass names, React components, C# methods
snake_casehello_worldPython variables, file names, Ruby
kebab-casehello-worldCSS class names, URL paths, HTML attributes
CONSTANT_CASEHELLO_WORLDConstants, environment variables
Title CaseHello WorldTitles, headings, documents
Sentence caseHello worldParagraphs, UI copy
lower casehello worldPlain text

How to Use

  1. Paste text in any format into the input area
  2. Choose the target naming style
  3. The result is generated in real-time
  4. Click "Copy" to copy the result

Examples

Input: hello_world → choose camelCasehelloWorld

Input: helloWorld → choose kebab-casehello-world

Input: HELLO_WORLD → choose PascalCaseHelloWorld

常见问题

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