Skip to content

Case Converter

Convert between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more — line by line.

Input

Output

Naming conventions, converted line by line

Every line is converted independently, so you can paste a whole column of field names and get them back in the convention your target language expects.

The word splitter understands the shapes that trip up naive converters: HTTPServer becomes http_server rather than h_t_t_p_server, and mixed delimiters like some-value_name are normalised before conversion.

  • camelCase — JavaScript and Java variables.
  • PascalCase — types, classes and React components.
  • snake_case — Python, Ruby and SQL columns.
  • CONSTANT_CASE — environment variables and constants.
  • kebab-case — CSS classes, URLs and CLI flags.

Frequently asked questions

How are acronyms handled?

They are kept together. HTTPServerError splits into HTTP, Server, Error, which gives http_server_error rather than one word per letter.

Does it work on non-English text?

Case conversion applies Unicode rules, so accented and non-Latin characters are preserved. Scripts without case, such as Hangul, are passed through unchanged.

Related tools