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.
- 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).
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.
background-size animation or @property registered custom properties instead.Frequently Asked Questions
How do I convert text to title case?
What is camelCase?
What is the difference between kebab-case and snake_case?
Use the Text Case Converter โ free, no signup required.
โก Open Text Case Converter