Something wrong with this tool?

About Case Converter Online

This tool converts text between common case styles: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and inVERSE caSE. Paste any text and pick the case you want — the result appears instantly.

Different cases are conventional in different contexts: programming variable names, file names, URLs, headlines, and database columns each have their own norms. Converting by hand is tedious and error-prone, especially with long passages.

The tool handles word boundaries correctly when going between word-separated forms (Title Case, snake_case, kebab-case) and ensures that camelCase and PascalCase preserve internal word breaks rather than producing one giant lowercase blob.

How to use this tool

How to convert text between programming-style cases

  1. Paste your text

    Drop the source into the "Text" field. The converter operates on the whole input as a single label — it splits on whitespace, dashes, and underscores; punctuation is dropped.

  2. Choose the target case

    "Case" selects from `upper`, `lower`, `title`, `sentence`, `camel`, `pascal`, `kebab`, `snake`, `constant`. Examples: `myFunctionName` (camel), `MyFunctionName` (pascal), `my-function-name` (kebab), `my_function_name` (snake), `MY_FUNCTION_NAME` (constant).

  3. Press Run

    Result is a single `converted` field. Round-trip safety isn't guaranteed: converting `XMLHttpRequest` → snake → camel doesn't always give back `XMLHttpRequest` because the splitter doesn't know about acronyms.

  4. Edge cases

    Numbers stay where they are (`foo2Bar` becomes `foo2_bar` in snake). Already-separated input is normalised (`my function` → `my function` before case is applied). For Unicode beyond ASCII, expect ad-hoc behavior — this tool is tuned for identifier-style strings.