🐫 CamelCase Converter
Convert text to camelCase, PascalCase, snake_case, kebab-case, and more. Multiple naming conventions — all in your browser, no upload, instant results.
About the CamelCase Converter
This CamelCase converter runs entirely in your browser. Type or paste text into the input box and click any naming convention button to convert it. The tool first splits the input into words using spaces, underscores, hyphens, and internal capital letters as boundaries, then reassembles them in the chosen style. Nothing is uploaded to a server — the conversion happens instantly with JavaScript on your device.
Naming conventions and when to use them
- camelCase — First word lowercase, rest capitalized, no separators. Standard for JavaScript, Java, and Swift variable names.
- PascalCase — Every word capitalized, no separators. Used for class names in C#, Java, and TypeScript.
- snake_case — All lowercase, joined with underscores. Popular in Python, Ruby, and database column names.
- kebab-case — All lowercase, joined with hyphens. Used in URLs, CSS class names, and config keys.
- CONSTANT_CASE — All uppercase, joined with underscores. Used for constants and enum values.
- dot.case — All lowercase, joined with dots. Used in config keys and namespaced identifiers.
How to use the converter
- Paste or type your text in the input box.
- Click any naming convention button.
- The result appears in the output box.
- Click Copy to copy the result.
Frequently asked questions
Does this tool upload my text? No. All conversion happens locally in your browser. Your text never leaves your device.
How are word boundaries detected? The tool splits on whitespace, underscores, hyphens, and internal capital letters, so identifiers like myVarName or my-var-name are recognized correctly.
Can I convert text that already contains mixed cases? Yes. The converter normalizes the input first, so it works regardless of the original casing.
Is there a length limit? The only limit is your browser's available memory. Even very long texts convert instantly.