DevToolStation

Text & Regex

Case Converter

camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more.

Loading the Case Converter…

About the Case Converter

Convert identifiers and text between naming styles: camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Train-Case, dot.case, path/case, URL slugs, Title Case and sentence case. Word boundaries are detected in existing identifiers, including acronyms such as HTTPServer.

How to use it

  1. Paste an identifier or text.
  2. Optionally convert each line separately.
  3. Copy the style you need.

Frequently asked questions

How are acronyms handled?
parseHTTPResponse splits into parse, HTTP and Response, so it becomes parse_http_response or ParseHttpResponse.
How is a URL slug different from kebab-case?
Slugs also remove accents and anything that is not a letter or digit, so "Crème Brûlée!" becomes creme-brulee.
Is my text uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you enter is uploaded, logged or stored, and the page works offline once loaded.