UFOZoo

Text Case Converter — Uppercase, Lowercase & camelCase

Free online text case converter. Change text to uppercase, lowercase, Title Case, camelCase, PascalCase, snake_case, or kebab-case. Browser-based.

Features

  • Convert text to UPPERCASE, lowercase, Title Case, and Sentence case instantly
  • Toggle case — swap uppercase and lowercase characters
  • camelCase conversion for JavaScript/TypeScript variable names
  • PascalCase conversion for class and component names
  • snake_case conversion for Python and database column names
  • kebab-case conversion for URL slugs and CSS class names
  • Preserve or strip non-alphabetic characters in code-style conversions
  • Click a case button to transform text — results update immediately
  • One-click copy output to clipboard
  • 100% browser-based — your text never leaves your device

How to Use

  1. 1Type or paste your text into the input area.
  2. 2Click any case conversion button (UPPERCASE, lowercase, Title Case, etc.) to see the result.
  3. 3Review the transformed text in the output area below.
  4. 4Click the copy button to copy the result to your clipboard.
  5. 5Convert a variable name between code conventions — paste 'my_variable_name' and click camelCase to get 'myVariableName' for JavaScript.
  6. 6Rename CSS classes by pasting 'my-css-class' and clicking PascalCase to get 'MyCssClass' for React component names.
  7. 7Fix inconsistent casing in imported data — paste a column header like 'FIRST_NAME' and convert to 'First Name' (Title Case) for cleaner display.
  8. 8Normalize user-generated content by converting everything to sentence case — only the first letter of the sentence is capitalized.
  9. 9Toggle the case of accidentally CAPS-LOCKED text — paste 'i AM sORRY' and click Toggle Case to fix it to 'I Am Sorry'.
  10. 10Use snake_case output to prepare database column names or Python variable names from natural language phrases.

Frequently Asked Questions

What's the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter and capitalizes each subsequent word (e.g., 'helloWorld'). PascalCase capitalizes every word including the first (e.g., 'HelloWorld'). Use camelCase for variables/functions in JavaScript, and PascalCase for class/component names.

What is Title Case?

Title Case capitalizes the first letter of every major word (nouns, verbs, adjectives, adverbs) while keeping minor words (articles, prepositions, conjunctions) lowercase. The first and last word are always capitalized regardless.

When should I use snake_case vs kebab-case?

snake_case (e.g., 'my_variable_name') is common in Python, Ruby, and database column names. kebab-case (e.g., 'my-variable-name') is used in URL slugs, CSS class names, HTML data attributes, and command-line flags. Choose based on your project's language conventions.

Is my text sent to a server?

No. All case conversion happens entirely in your browser using JavaScript. Your text is never uploaded, stored, or transmitted anywhere.

Does the tool handle non-English text?

Yes. The tool supports all Unicode characters including accented Latin (é, ü, ñ), Chinese, Japanese, Korean, Arabic, and more. Uppercase/lowercase conversions work for letters with case systems. CJK and other caseless characters are preserved unchanged. Code-style conversions (camelCase, snake_case, etc.) keep non-ASCII words intact.

What's the difference between Title Case and Sentence case?

Title Case capitalizes every major word: 'The Quick Brown Fox Jumps Over the Lazy Dog'. Sentence case capitalizes only the first word and proper nouns: 'The quick brown fox jumps over the lazy dog'. Title Case is used for headlines and titles; Sentence case for normal prose.

When should I use kebab-case vs snake_case in programming?

kebab-case (my-component) is used in: URL slugs, CSS class names, HTML data attributes, Vue.js component names, and command-line flags. snake_case (my_component) is used in: Python variable/function names, Ruby symbols, database column names, and JSON field names in some APIs.

How do I convert a database column name to a JavaScript variable?

Database columns often use snake_case (user_first_name). To convert to JavaScript camelCase, paste 'user_first_name' and click camelCase to get 'userFirstName'. For class names, use PascalCase to get 'UserFirstName'. The tool makes this conversion instant.

Can I convert the case of a whole document or just single words?

The tool works with any amount of text — from a single word to an entire paragraph or document. All case operations apply consistently across the full input. Try converting a multi-sentence paragraph to UPPERCASE or lowercase with one click.

What happens to numbers and special characters during case conversion?

Numbers and special characters are preserved as-is. In code-style conversions (camelCase, snake_case), non-alphabetic characters act as word separators and are removed. For example, 'hello-world-123' becomes 'helloWorld123' in camelCase. For UPPERCASE/lowercase, all characters except letters are unchanged.

Why does my Title Case conversion not capitalize small words?

Title Case rules typically leave articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, at, for) lowercase unless they're the first or last word. The tool follows standard title case conventions used in AP Style and Chicago Manual of Style.

Related Tools