camelCase converter
Convert identifiers between camelCase, PascalCase, snake_case and kebab-case.
How to use
- Paste identifiers into the input box — one per line for batch conversion.
- Pick the target convention: camelCase, PascalCase, snake_case or kebab-case.
- Copy the converted identifiers into your code.
Frequently asked questions
Does it detect existing camelCase boundaries?
Yes. "getUserName" converts to "get_user_name" — the capital letters are recognised as word boundaries.
Can I convert many identifiers at once?
Yes. Each line is converted independently, so paste a whole list and convert it in a single click.
How are numbers handled?
Digits stay attached to their word: "base64Encoder" becomes "base64_encoder" in snake_case.
About this tool
Every codebase has naming conventions, and moving between them by hand is error-prone: JavaScript prefers camelCase variables, Python wants snake_case, CSS classes and URLs use kebab-case, and class names take PascalCase. This converter understands all of them as input — it splits on spaces, underscores, hyphens and existing camelCase boundaries — and re-joins in the convention you pick. It works line by line, so you can paste a whole column of database fields or API keys and convert them in one go. Handy when wiring a snake_case API response to camelCase frontend models, or generating CSS class names from component names.