Free Text Case Converter

Convert text to any case format instantly — UPPER, lower, Title, camelCase, and more.

0 characters 0 words 0 lines

A text case converter is a free online tool that instantly transforms text between different capitalization formats. Paste any text and click a button to convert it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case — with a one-click copy button for each result.

How it works

Type or paste your text into the input box and click any of the eleven case conversion buttons. The conversion runs instantly in your browser using JavaScript string manipulation — no data is ever sent to a server. Each conversion mode handles punctuation, word boundaries, and special characters appropriately for its format. The input box displays live character, word, and line counts, so you always know the size of your text. The result appears in a separate output box below the buttons, preserving your original text so you can try multiple conversions without re-pasting.

camelCase and PascalCase strip spaces and capitalize internal words. snake_case and kebab-case replace spaces with underscores or hyphens. Title Case intelligently avoids capitalizing small words like "and" or "the" unless they appear at the start of the text or after a period. Sentence case capitalizes only the first letter of each sentence, which is ideal for paragraph-level text. The converter also includes three bonus modes: AlTeRnAtInG case alternates capitalization letter by letter for stylistic text; InVeRsE case swaps every letter's case, turning lowercase to uppercase and vice versa; Stripped mode removes diacritical marks (accents) from characters, converting "café" to "cafe" or "résumé" to "resume", which is essential for URL generation and database normalization.

When to use each case type

UPPERCASE is used for acronyms, headings that need maximum emphasis, and legal notices. lowercase is used for usernames, email addresses, and informal communications. Title Case is the standard for article headlines, book titles, and formal headings — the converter follows standard title case rules, keeping articles, prepositions, and conjunctions lowercase unless they start or end the title. Sentence case is used in most modern UI interfaces and is now preferred over Title Case for product headings in many applications like Slack, Notion, and Google Workspace.

camelCase is the standard naming convention for variables and function names in JavaScript, TypeScript, Java, and many other languages. PascalCase is used for class names and component names in object-oriented programming and frameworks like React. snake_case is preferred in Python, Ruby, and SQL for database column names and variable names. kebab-case is the standard for CSS class names, HTML attributes, and URL slugs — converting a blog post title like "How to Use a Text Case Converter" to "how-to-use-a-text-case-converter" in one click saves SEO professionals significant manual editing time. The converter preserves sentence structure during Title Case and Sentence case conversions, handling multi-sentence input correctly by capitalizing appropriate words after periods and other terminal punctuation.

When to use a text case converter

Developers use the converter to quickly reformat variable names when switching between languages or coding styles — for example, converting a Python snake_case variable like "user_account_id" to JavaScript camelCase "userAccountId" in a single click. Writers use it to fix all-caps text pasted from PDFs or emails, or to convert body text into a properly formatted title. SEO professionals use it to create URL slugs via kebab-case, to normalize product names for consistent capitalization across a website, or to strip accents from international text for database entries. Content managers use Sentence case to standardize product descriptions imported from various sources with inconsistent capitalization.

The stripped-accents mode is particularly useful when working with multilingual content — converting "São Paulo" to "Sao Paulo" for URL slugs, or "déjà vu" to "deja vu" for database search compatibility. The alternating and inverse cases are fun for creative typography, social media posts, or simply emphasizing text in a unique way. Since everything runs in your browser, you can confidently paste sensitive text like API keys or passwords that need case reformatting without worrying about data leaving your machine. The copy button places the result directly on your clipboard, ready to paste into your code editor, CMS, design tool, or document.

Related calculators

If you use the text case converter regularly, you will also find the Word Counter helpful for measuring your content, the Lorem Ipsum Generator for creating placeholder text to test your formatting, and the Password Generator for creating secure tokens with specific character requirements.

Frequently asked questions

How do I convert text to all uppercase or lowercase online?

Paste your text into the box above and click UPPERCASE to make every character capital, or lowercase to make every character small. The conversion is instant and works on any amount of text. You can then copy the result with one click. This is useful for database fields, CSS styling, programming constants, and fixing text accidentally typed with Caps Lock on.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every major word: 'The Quick Brown Fox Jumps.' Sentence case only capitalizes the first letter of the sentence and proper nouns: 'The quick brown fox jumps.' Title case is used for headings, book titles, and article titles. Sentence case is used for regular sentences, social media posts, and body text.

What is camelCase and when is it used in programming?

camelCase writes compound words with no spaces, capitalizing every word except the first: 'myVariableName', 'getUserData', 'calcInstant'. It's the standard naming convention in JavaScript, Java, and Swift for variables and functions. PascalCase is similar but capitalizes the first word too ('MyClassName') and is used for class names. Both are used extensively in front-end development.

What is snake_case and when should I use it?

snake_case separates words with underscores, all lowercase: 'my_variable_name', 'user_first_name', 'calc_instant'. It's the standard convention in Python, Ruby, and SQL for variables, functions, and column names. Database column names almost universally use snake_case because spaces aren't allowed in identifiers and it's more readable than camelCase in database contexts.

How do I fix text that was accidentally typed in all caps?

Paste the ALL CAPS text into the converter above and click 'Sentence case' to normalize it, or 'lowercase' to remove all capitalization first. Then manually re-capitalize proper nouns. This saves retyping entire documents. The conversion is purely text manipulation — it cannot automatically identify proper nouns, so a manual review pass is needed for important documents.

What is kebab-case and where is it used?

kebab-case uses hyphens between lowercase words: 'my-variable-name', 'text-case-converter', 'user-first-name'. It's the standard format for URLs, HTML class names, CSS custom properties, and file names in web development. Unlike snake_case, hyphens in URLs are treated as word separators by Google, which slightly improves SEO compared to underscores in URL slugs.