Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE.
Case Converter
เกี่ยวกับ
Programmers argue about case styles more than almost anything else. The same word ends up as userName in JavaScript, user_name in Python, UserName in C#, user-name in CSS, and USER_NAME in env files. Each style has its place, and converting between them by hand is exactly the kind of tedious work that should be done by a tool.
This converter transforms any text in real time. The input box accepts any combination of words — space-separated, hyphen-separated, underscore-separated, camelCase, or even prose — and the output updates for every style at once: UPPER CASE, lower case, Title Case, Sentence case, camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE.
The splitter uses a small heuristic: it first splits on separators (-, _, whitespace, transitions from lowercase to uppercase), then lowercases each token. That handles most realistic inputs (variable names, multi-word phrases, mixed delimiters) without a dictionary. It runs locally and is purely a string transform — no language model, no network.
`
If you need a conversion that respects a particular programming language's idiom, you should still use a code-aware refactor tool. This converter is for quick, one-off transformations.