How to use this tool
- Paste or type text into the input (spaces, underscores, hyphens, or mixed case).
- Select the target case format or use quick actions to convert.
- Copy the result or clear to start over.
About Case Converter
This tool helps you switch between naming styles when refactoring code, defining API fields, or normalizing identifiers. Ambiguous inputs like consecutive capitals may split in ways that require manual adjustment.
Common use cases
- Converting API field names between JSON (camelCase) and database (snake_case)
- Refactoring variable names across different language conventions
- Normalizing slugs and identifiers for URLs or config keys
FAQ
- What case formats does this tool support?
- It supports camelCase, PascalCase, snake_case, kebab-case, and UPPER_SNAKE_CASE. Input can use spaces, underscores, hyphens, or mixed case; the tool splits words and reformats accordingly.
- Does this tool send my text to a server?
- No, all conversion runs in your browser. Your input never leaves your device.
- Why does my acronym or mixed input split unexpectedly?
- Tokenization uses heuristics for camelCase and acronym boundaries. Ambiguous sequences like HTTPAPI or XMLParser may split differently than you expect; adjust the input or result manually when needed.
- How do I convert from UPPER_SNAKE to camelCase?
- Paste the UPPER_SNAKE text, then click camelCase or use the quick action. The tool treats underscores as word separators and reformats to the selected case.