Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more.
About the Case Converter
Naming conventions differ between languages and systems. The Case Converter turns text or identifiers into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more in one click.
Everything runs in your browser, so your input is never uploaded to a server.
How to use the Case Converter
- Paste text or a list of identifiers (one per line).
- Choose the target case.
- Copy the converted text.
Frequently asked questions
How are words detected?
Spaces, punctuation, underscores, hyphens and changes from lower to upper case all mark word boundaries, so myHTTPServer and my_http_server convert the same way.
Which case for which language?
Typically camelCase for JavaScript variables, PascalCase for classes, snake_case for Python and databases, kebab-case for URLs and CSS classes, CONSTANT_CASE for constants.
Related tools
URL Parser
Break a URL into protocol, host, path, query parameters and fragment.
Word & Character Counter
Count characters, words, lines, sentences and bytes, with estimated reading time.
JSON Formatter
Format and beautify JSON with configurable indentation and optional key sorting. Errors are reported with exact line and column.
HTML Formatter
Beautify messy or minified HTML into clean, indented markup using Prettier, right in your browser.
CSS Formatter
Format CSS, SCSS and Less stylesheets into readable, consistently indented code.
JavaScript Formatter
Beautify JavaScript and JSX with Prettier. Choose indentation, quotes and semicolons.