A text case converter transforms your text between different capitalization styles like UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more. Whether you are formatting headings, writing code variable names, or cleaning up pasted text, this tool lets you instantly switch between 12 different text case formats with a single click.
Input Text
Convert To
Output
How to Use This Text Case Converter
Whether you are a developer naming variables, a writer formatting headlines, or someone cleaning up text copied from a PDF, converting between text cases is a daily task. This free text case converter handles 12 different formats so you never have to manually retype or reformat your text again.
Step 1: Enter Your Text
Type or paste any text into the input area at the top. The tool accepts text of any length, from a single word to multiple paragraphs. The character and word counts update automatically as you type, helping you keep track of your content length.
Step 2: Choose a Case Format
Click any of the 12 conversion buttons to transform your text instantly. For general writing, use UPPERCASE, lowercase, Title Case, or Sentence case. For programming and development, choose camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case. For fun or stylized text, try aLtErNaTiNg cAsE or Inverse Case.
Step 3: Copy the Result
The converted text appears in the output area below the buttons. Click the Copy button to copy it to your clipboard with one click. You can then paste it directly into your code editor, document, email, or any application. The output area is also editable if you need to make quick manual adjustments before copying.
Understanding Each Text Case Format
The text case converter supports a wide range of formats used across writing, coding, and design. UPPERCASE and lowercase are self-explanatory. Title Case capitalizes the first letter of each word, making it perfect for headings and titles. Sentence case capitalizes only the first letter of each sentence, which is the standard for body text. Programming cases like camelCase, PascalCase, snake_case, and kebab-case follow language-specific conventions for naming variables, functions, classes, CSS properties, and URL paths. CONSTANT_CASE is used for environment variables and constants. Dot.case separates words with periods and is used in configuration keys and package names. Alternating case and inverse case are novelty formats often used in memes and social media.
Frequently Asked Questions
Is this text case converter free to use?
Yes, the Text Case Converter is completely free with no limits on usage. You can convert as much text as you want, as many times as you need. There is no signup, no account creation, and no premium tier. Everything runs locally in your browser.
Is my text data safe and private?
Yes, everything runs entirely in your browser using client-side JavaScript. Your text is never sent to any server, never stored in a database, and never shared with anyone. Once you close or refresh the page, your text is gone. There is absolutely no server-side processing.
What is Title Case and when should I use it?
Title Case capitalizes the first letter of each word in a sentence, like 'The Quick Brown Fox Jumps Over the Lazy Dog.' It is the standard capitalization style for headlines, book titles, article titles, and headings. Most style guides like AP and Chicago recommend Title Case for formal titles and headlines.
What is the difference between camelCase and PascalCase?
In camelCase, the first word starts with a lowercase letter and every subsequent word starts with an uppercase letter, like 'myVariableName.' In PascalCase, every word including the first starts with an uppercase letter, like 'MyVariableName.' CamelCase is commonly used for variable names in JavaScript, while PascalCase is used for class names and React component names.
When should I use snake_case vs kebab-case?
Snake_case uses underscores between words and is the standard naming convention in Python, Ruby, and SQL databases. Kebab-case uses hyphens and is commonly used in CSS class names, URL slugs, and HTML attributes. The choice depends on your programming language or platform conventions.
What is CONSTANT_CASE used for?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) combines uppercase letters with underscores between words, like 'MAX_RETRY_COUNT.' It is the standard naming convention for constant values and environment variables in most programming languages including JavaScript, Python, Java, and C. Using CONSTANT_CASE makes constants immediately recognizable in code.
Can I convert text with special characters and numbers?
Yes, the converter handles special characters, numbers, accented letters, and unicode text. For simple case conversions like uppercase and lowercase, all characters are preserved. For programming-style conversions like camelCase and snake_case, the tool strips special characters and formats the text according to each convention's rules.