HomeText & GeneratorsText Case Converter

any text. any case.

convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.

input
output

converted text will appear here

What this tool does

Convert text between common case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, PascalCase, and a few others. Useful for formatting headlines, normalizing data, or renaming a batch of variables.

The cases that matter

  • UPPERCASE — every character capitalized. For acronyms, headlines that need emphasis, button text in some design systems.
  • lowercase — every character lower. For casual or informal copy, search-friendly slugs, anything that should de-emphasize visual weight.
  • Title Case — every major word capitalized. For titles, headlines, and section headers. Style guides disagree on which short words to skip; the most common convention skips articles (a, an, the), short conjunctions (and, or, but), and short prepositions unless they start the title.
  • Sentence case — only the first word and proper nouns capitalized. Increasingly the modern default for app UI and product copy because it reads more naturally and feels less marketing-shouty.
  • camelCase thisIsAVariableName. JavaScript, Java, most modern programming conventions for variable and function names.
  • PascalCase ThisIsAClassName. Class names and type names in most languages.
  • snake_case this_is_a_variable. Python, Ruby, most database column conventions.
  • kebab-case this-is-a-slug. URLs, CSS class names, command-line flags.
  • SCREAMING_SNAKE THIS_IS_A_CONSTANT. Constants, environment variables.

Why this is fiddlier than it looks

Converting between cases requires knowing where one word ends and the next begins. For text with explicit separators (spaces, hyphens, underscores) the answer is obvious. For input that is already camelCase or PascalCase, the converter has to detect word boundaries from capital letters — and acronyms break that heuristic because parseHTMLString contains an embedded acronym, and naively splitting at every capital produces parse_h_t_m_l_string rather than the expected parse_html_string.

This tool handles the acronym case by treating runs of consecutive capitals as a single word boundary, which produces the expected output in most cases.

Browser-only conversion

The conversion is a few string operations. Runs entirely in your tab.

What this tool does

Convert text between common case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, PascalCase, and a few others. Useful for formatting headlines, normalizing data, or renaming a batch of variables.

The cases that matter

  • UPPERCASE — every character capitalized. For acronyms, headlines that need emphasis, button text in some design systems.
  • lowercase — every character lower. For casual or informal copy, search-friendly slugs, anything that should de-emphasize visual weight.
  • Title Case — every major word capitalized. For titles, headlines, and section headers. Style guides disagree on which short words to skip; the most common convention skips articles (a, an, the), short conjunctions (and, or, but), and short prepositions unless they start the title.
  • Sentence case — only the first word and proper nouns capitalized. Increasingly the modern default for app UI and product copy because it reads more naturally and feels less marketing-shouty.
  • camelCase thisIsAVariableName. JavaScript, Java, most modern programming conventions for variable and function names.
  • PascalCase ThisIsAClassName. Class names and type names in most languages.
  • snake_case this_is_a_variable. Python, Ruby, most database column conventions.
  • kebab-case this-is-a-slug. URLs, CSS class names, command-line flags.
  • SCREAMING_SNAKE THIS_IS_A_CONSTANT. Constants, environment variables.

Why this is fiddlier than it looks

Converting between cases requires knowing where one word ends and the next begins. For text with explicit separators (spaces, hyphens, underscores) the answer is obvious. For input that is already camelCase or PascalCase, the converter has to detect word boundaries from capital letters — and acronyms break that heuristic because parseHTMLString contains an embedded acronym, and naively splitting at every capital produces parse_h_t_m_l_string rather than the expected parse_html_string.

This tool handles the acronym case by treating runs of consecutive capitals as a single word boundary, which produces the expected output in most cases.

Browser-only conversion

The conversion is a few string operations. Runs entirely in your tab.

more free tools

PDF utilities, image tools, developer helpers — all free, no signup.

Something wrong?