ContentApril 2026 ยท 4 min read

How to Convert Text Case: Uppercase, Lowercase, Title Case

Text case conversion transforms text between different capitalization formats โ€” uppercase, lowercase, title case, sentence case, and programming conventions like camelCase and snake_case. It's a daily task for content editors, developers, and anyone working with text data.

๐Ÿ” 
Try the Text Case Converter
Free, no signup
โ†’
DG
Derek Giordano
Designer & Developer
In this guide
01Case Types Explained02Using the Text Case Converter03Programming Case Conventions
โšก Key Takeaways
  • Convert text between uppercase, lowercase, title case, sentence case, camelCase, kebab-case, and snake_case.
  • Covers case types explained.
  • Covers using the text case converter.
  • Covers programming case conventions.

Case Types Explained

UPPERCASE โ€” all letters capitalized. Used for headings, abbreviations, and emphasis.

lowercase โ€” all letters uncapitalized. Used for CSS classes, URLs, and file names.

Title Case โ€” first letter of each word capitalized. Used for headings and titles.

Sentence case โ€” first letter of first word capitalized. Used for body text and descriptions.

camelCase โ€” first word lowercase, subsequent words capitalized, no spaces. Used in JavaScript variable names.

snake_case โ€” all lowercase with underscores. Used in Python and database columns.

kebab-case โ€” all lowercase with hyphens. Used in CSS classes and URL slugs.

Using the Text Case Converter

Paste your text, select the target case, and copy the result. The tool handles edge cases: preserving acronyms in title case (HTML stays HTML, not Html), handling apostrophes correctly (don't โ†’ Don't in title case), and respecting common lowercase words in title case (a, an, the, of, in).

๐Ÿ’ก Tip
Use 3+ color stops instead of 2 to avoid the muddy gray band that appears in the center of complementary-color gradients.

Programming Case Conventions

JavaScript uses camelCase for variables and PascalCase for classes. Python uses snake_case for functions and PascalCase for classes. CSS uses kebab-case for class names and custom properties. SQL uses UPPER_CASE for keywords and snake_case for columns. Consistency within a project matters more than which convention you choose.

โš  Warning
CSS gradients used as backgrounds cannot be animated with standard transitions. Use background-size animation or @property registered custom properties instead.

Frequently Asked Questions

How do I convert text to title case?+
Capitalize the first letter of each major word. Articles (a, an, the), conjunctions (and, but, or), and short prepositions (in, of, to) stay lowercase unless they start the title. The Text Case Converter handles these rules automatically.
What is camelCase?+
camelCase capitalizes the first letter of each word except the first, with no spaces: myVariableName. It's the standard naming convention for JavaScript variables and functions.
What is the difference between kebab-case and snake_case?+
kebab-case uses hyphens (my-class-name), used in CSS and URLs. snake_case uses underscores (my_variable_name), used in Python and SQL.
Try it yourself

Use the Text Case Converter โ€” free, no signup required.

โšก Open Text Case Converter
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.