Case converter
Convert text to UPPERCASE, lowercase, Sentence case, Capital Case, camelCase, PascalCase, snake_case, CONSTANT_CASE, dot.case or param-case. Free.
Change the case of any text in one click
Typed a paragraph with Caps Lock on? Need a heading in Title Case, or a variable name in camelCase? The case converter rewrites your text in the style you choose, so you don't have to retype it.
It supports ten styles. Writers will mostly use lowercase, UPPERCASE, Sentence case (first letter of each sentence capitalized) and Capital Case (first letter of every word capitalized). Developers get the naming conventions used in code: camelCase, PascalCase, snake_case, CONSTANT_CASE, dot.case and param-case (also called kebab-case).
Programming styles also strip out spaces and punctuation and join the words with the right separator, so "user account id" becomes userAccountId, user_account_id, USER_ACCOUNT_ID or user-account-id depending on what you pick.
How to use the case converter
- Paste or type your text into the text box.
- Choose the case style you want from the list.
- Submit to convert the text.
- Copy the converted result with the copy button and paste it wherever you need it.
Common uses
- Fixing text that was typed with Caps Lock left on.
- Turning headlines and headings into consistent Capital Case or Sentence case.
- Creating variable, function and class names that follow a language's convention (camelCase in JavaScript, snake_case in Python, PascalCase for classes).
- Making environment variable names in CONSTANT_CASE, such as
DATABASE_URL. - Producing param-case strings for CSS class names, file names and URL paths.
Tips and things to know
- Capital Case capitalizes every word. Formal title case in style guides (AP, Chicago) keeps short words such as "and" or "of" lowercase, so review headlines by eye afterward.
- Sentence case can't know which words are proper nouns. Re-capitalize names, brands and places after converting.
- For URL-friendly text, the slug generator lowercases the text and replaces spaces and punctuation with hyphens.
- Use the character counter afterward if your text has a length limit.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both join words without spaces and capitalize each word, but camelCase starts with a lowercase letter (myVariableName) while PascalCase starts with a capital (MyVariableName). PascalCase is common for class and component names.
What is snake_case used for?
snake_case uses lowercase words joined by underscores. It's the standard style for variables and functions in Python and Ruby, and it's widely used for database column names.
What is param-case or kebab-case?
It's lowercase words joined by hyphens, like my-page-title. It's used in URLs, CSS class names and many file names.
How do I convert all caps text to normal text?
Paste the text and choose Sentence case. It lowercases everything and capitalizes the first letter of each sentence. Then fix any proper nouns.
Does the converter change numbers or punctuation?
Writing styles keep punctuation and numbers as they are. Programming styles remove spaces and most punctuation because those characters aren't allowed in identifiers.
Related tools
- Slug generator: Generate a URL slug for any string input.
- Character counter: Count the amount of characters and words of a given text.
- Reverse words: Reverse the words in a given sentence or paragraph with ease.
- Cursive text generator: Convert normal text to cursive font type.
- Text separator: Separate text back and forth by new lines, commas, dots, etc.
Popular free tools
Convert text to UPPERCASE, lowercase, Sentence case, Capital Case, camelCase, PascalCase, snake_case, CONSTANT_CASE, dot.case or param-case. Free.
Look up the DNS records of any domain: A, AAAA, CNAME, MX, NS, TXT and SOA. Check email, SPF, verification and nameserver settings for free.
Create strong, random passwords in one click. Pick the length and include uppercase, lowercase, numbers and symbols. Free, no signup.
Encode any text or string to Base64 instantly. Useful for data URIs, HTTP Basic auth headers, email and APIs. Free online Base64 encoder.
Convert numbers into words, such as 1,250 to “one thousand two hundred fifty”. Write checks, invoices, legal documents and lessons correctly. Free.
Turn normal text into elegant 𝓬𝓾𝓻𝓼𝓲𝓿𝓮 letters you can copy and paste into Instagram, TikTok, X and Discord bios, captions and names. Free.