camelCase / snake_case Converter
Free online naming-style converter: camelCase, snake_case, PascalCase, kebab-case, CONSTANT_CASE — batch conversion.
Data handling: common local tools process inputs in your browser; network queries, server execution and optional AI follow their separate data-use notes.
What is camelCase / snake_case Converter?
Front ends use camelCase, databases use snake_case, class names use PascalCase, constants use CONSTANT_CASE — renaming fields by hand when moving between systems is slow and error-prone. This tool converts among five naming styles (camel, pascal, snake, kebab, constant), accepts multiple lines of identifiers at once for batch conversion, and correctly splits existing camel words (userId -> user_id).
How to Use
- Paste identifiers (one per line or a whole block)
- Choose the target style
- Copy the result
FAQ
- Does userId become user_id in snake_case?
- Yes. The tool first splits words at case boundaries and reassembles them: userId -> user_id, and even HTTPServer is split sensibly.
- Are non-English fields supported?
- Non-Latin characters are preserved and take part in word-boundary handling, but the conversion is designed primarily for English identifiers.
Practical tutorials
- Naming Conventions: How to Choose Between camelCase, snake_case, and kebab-case
The four mainstream naming styles and where each belongs, conversion strategies when systems interoperate, and the engineering value of naming consistency.
Related Tools
Last updated 2026-09-15