Case Converter
Type or paste your text below and click a button to convert its case.
About This Tool
Case Converter transforms text between multiple casing formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. It processes your entire text instantly with one click and supports copy-to-clipboard for each result. A time-saver for developers renaming variables and writers reformatting headings.
How It Works
Case conversion involves two phases: tokenization and reconstruction. First, the input text is split into individual words by detecting word boundaries — these include spaces, hyphens, underscores, and camelCase transitions (lowercase-to-uppercase). A regex like `/[A-Z]?[a-z]+|[A-Z]+(?=[A-Z][a-z]|\d|\b)|[A-Z]|\d+/g` captures each word token, including abbreviations and numbers.
Once tokenized, each casing format applies its own reconstruction rules: UPPERCASE calls `toUpperCase()` on every token and joins with the original separator. camelCase lowercases the first token and capitalizes the first letter of subsequent tokens, joining without separators. snake_case lowercases all tokens and joins with underscores. Title Case capitalizes the first letter of each word, with optional handling for articles and prepositions (a, an, the, of, in) to follow English title capitalization rules. Sentence case capitalizes only the first word and proper nouns. The converter preserves non-alphabetic characters (numbers, punctuation) in their original positions.
Related Articles
How to Count Words in Your Essay Accurately
Learn the best methods for counting words in essays, research papers, and academic writing. Plus tips for meeting word count requirements.
2026-02-24Text Case Conversion: When and Why to Use Different Cases
A practical guide to text case conventions. Learn when to use camelCase, snake_case, PascalCase, and other formats in programming and writing.
2026-03-08Copy and Paste Symbols: Complete Collection of Special Characters
The ultimate guide to copy and paste symbols, special characters, and emojis. Learn where to find them, how to use them in social media, documents, and web design.