FileFlipText Case Converter

Text Case Converter

Convert text to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case and more. Free online.

0 characters · 0 words
Active
0 characters · 0 words

How to Use

  1. Paste or type your text in the input box
  2. Click any conversion button to transform the text
  3. Copy the result or download as a .txt file

أدوات ذات صلة

الأسئلة الشائعة

What is text case conversion and why is it useful?
Text case conversion changes how capital and lowercase letters are used in text. It is useful for programming (variable names, file names), writing (headings, titles), and SEO (meta tags). For example, you might need a title in Title Case, a URL in kebab-case, or a variable name in camelCase. Doing it by hand is tedious; this tool does it instantly.
What is the difference between camelCase and PascalCase?
In camelCase the first letter of the first word is lowercase and the first letter of each following word is uppercase (e.g. helloWorld). In PascalCase every word starts with an uppercase letter (e.g. HelloWorld). camelCase is common for JavaScript variables and functions; PascalCase is used for class names and types in many languages.
When should I use snake_case?
snake_case uses lowercase letters and underscores between words (e.g. user_name). It is the standard in Python for variables and functions, often used in databases and config keys, and in URLs or file names when spaces are not allowed. Many APIs and style guides prefer snake_case for consistency.
When should I use kebab-case?
kebab-case uses lowercase letters and hyphens (e.g. my-file-name). It is ideal for HTML class and id attributes, URL slugs, and CSS custom properties. Browsers and URLs handle hyphens well, and kebab-case is easy to read in long identifiers.
What is Title Case and what are the rules?
Title Case capitalizes the first letter of each word. Many style guides leave short words (articles, prepositions, conjunctions like 'a', 'the', 'and', 'in') in lowercase unless they are the first or last word. This tool applies that rule: the first word and important words are capitalized; small words in the middle stay lowercase.
What is Sentence case?
Sentence case means only the first letter of the first word of each sentence is capitalized, and the rest of the sentence is lowercase (unless proper nouns or acronyms). It is the standard for most body text and is easier to read than ALL CAPS or Title Case for long content.
Can I use this to convert programming variable names?
Yes. You can paste a name in one style and convert it to another. For example, convert snake_case to camelCase for JavaScript, or camelCase to kebab-case for CSS or URLs. Use Swap to move the result back to input and try another conversion. Helpful when refactoring or moving code between languages.
Does the converter preserve special characters and numbers?
Behavior depends on the conversion. UPPERCASE and lowercase only change letters. Title and Sentence case mostly affect letters. camelCase, PascalCase, snake_case and kebab-case strip or replace spaces and often remove characters that are not letters, numbers, or the chosen separator. Numbers are usually kept. For non-ASCII characters, results may vary by mode.