UTL

Text Case Formatter

Enter text and pick a case style to convert it — useful for headlines, variable names, or just fixing accidentally-on caps lock text.

INPUT
OUTPUT

          

How each style works

StyleExample
Title CaseCurious Assistant Tools
Sentence caseCurious assistant tools
camelCasecuriousAssistantTools
PascalCaseCuriousAssistantTools
snake_casecurious_assistant_tools
kebab-casecurious-assistant-tools

How the conversions work

Everything runs in your browser on the text you enter. UPPER and lower change every letter. Title Case lowercases everything, then capitalizes the first letter after a space, hyphen or underscore. Sentence case lowercases everything, then capitalizes the first letter of the text and the first letter after a period, exclamation mark or question mark. The four programming styles split your text into words at spaces, hyphens and underscores, then join them in the chosen format.

Example

Input: my-variable name_here

StyleResult
Title CaseMy-Variable Name_Here
Sentence caseMy-variable name_here
camelCasemyVariableNameHere
PascalCaseMyVariableNameHere
snake_casemy_variable_name_here
kebab-casemy-variable-name-here

Good to know

  • Title Case capitalizes every word. Small words such as "of", "the" and "and" are not skipped, so adjust them by hand if your style guide requires it.
  • Acronyms and names are lowercased first. Title Case and Sentence case turn "NASA" into "Nasa", and a lone "I" in the middle of a sentence loses its capital. Fix these after converting.
  • Other punctuation stays. The programming styles only split on spaces, hyphens and underscores, so a period or question mark stays inside a word. Remove punctuation first if you want a clean identifier.
  • Accented first letters. Title Case and Sentence case only capitalize the letters a to z, so a word that starts with an accented letter, such as "élan", is left as typed.

Where each style is commonly used

StyleTypical use
camelCaseVariable and function names in JavaScript and Java
PascalCaseClass and component names
snake_caseVariable names in Python, and database column names
kebab-caseURLs, CSS class names and file names

These are conventions, not rules, and teams often set their own.

Frequently asked

What counts as a word boundary for camelCase or snake_case?

Spaces, hyphens and underscores in your input are all treated as word boundaries, so "my-variable name" and "my variable_name" convert the same way.

Which case is best for URLs?

Lowercase kebab-case, with hyphens between words, is the most common choice for page URLs and file names because it is easy to read and avoids spaces. For a clean slug from a full title, the Slug Generator also removes punctuation.

Is my text uploaded anywhere?

No. The conversion runs in your browser, so the text you enter stays on your device.

Last updated: October 21, 2026.