DoneInTab

Case Converter

Transform text casing instantly across 10 formatting conventions. Convert prose to Sentence case or Title Case, invert with Toggle case, or format code identifiers to camelCase, PascalCase, snake_case, and kebab-case.

Select Transformation Style
0 characters
0 characters

Conversion Notes & Unicode Behavior:

  • Line breaks: Preserved across all transformations. Programming cases (camelCase, PascalCase, snake_case, kebab-case) convert each line independently.
  • Title Case: Automatically keeps English minor words (a, an, the, and, but, or, for, in, on, at, to, etc.) lowercase unless they appear at the start or end of a line.
  • Unicode & Non-cased scripts: Scripts without capital/small distinction (such as Devanagari/Nepali, Arabic, CJK, and emojis) are safely preserved without data loss or corruption.

Guide to Casing Conventions & Styles

Prose & Editorial Styles

  • Sentence case: Capitalizes only the first letter of each sentence and proper nouns. Best for body paragraphs, user interface labels, and modern documentation.
  • Title Case: Capitalizes primary words while downcasing articles and prepositions (e.g. The Old Man and the Sea). Ideal for headlines, book titles, and formal documents.
  • Capitalize Words: Forces every word to start with a capital letter regardless of grammatical function.
  • Toggle case: Inverts the casing of each character, useful for correcting accidental Caps Lock inputs.

Developer & Programming Styles

  • camelCase: Joins words with lowercase first word and uppercase subsequent words. Standard in JavaScript, Java, and TypeScript variable naming.
  • PascalCase: Capitalizes every word including the first. Standard in C#, Python classes, and React component names.
  • snake_case: Joins lowercase words with underscores. Standard in Python, SQL column names, and Rust.
  • kebab-case: Joins lowercase words with hyphens. Standard in CSS class names, URLs, and package names.

Frequently Asked Questions

How does Title Case determine which words to capitalize?

Our Title Case converter adheres to standard AP and Chicago Manual of Style guidelines. It automatically keeps minor grammatical words (articles, coordinating conjunctions, and short prepositions such as 'a', 'an', 'the', 'and', 'but', 'for', 'in', 'of', 'on', 'to') in lowercase, unless they occur as the very first or very last word of a line or title.

Does case conversion preserve my original line breaks and indentation?

Yes. Line breaks are preserved across all 10 transformations. For developer-focused variable styles (camelCase, PascalCase, snake_case, kebab-case), each line is transformed independently, ensuring multiline lists or code variables retain their distinct line structure without being collapsed into a single run-on token.

How does the tool handle non-English or non-Latin alphabets?

All transformations use Unicode-aware character properties (\p{L}, \p{N}). Scripts that feature letter casing (such as Latin, Cyrillic, and Greek) are transformed accurately. Scripts that do not possess capital and lowercase distinctions (such as Devanagari/Nepali, Arabic, Chinese, Japanese, and emojis) are safely preserved without corruption or data loss.

Are there limitations with acronyms and initialisms?

When converting to Sentence case, words written in ALL-CAPS acronyms (e.g. 'NASA', 'API', 'HTML') will be normalized to lowercase unless separated by punctuation. When converting to camelCase or snake_case, acronyms are split based on case transitions and token boundaries.

Are my text inputs sent to an external server or saved in a database?

No. All text transformations execute purely within your local web browser's memory via client-side JavaScript. No text is uploaded, tracked, or stored externally.

Related Text Utilities