What Case Transformations Are Supported and How Do They Work?
Text Cleaner supports 11 deterministic case algorithms that convert natural prose and code identifiers locally in your browser while preserving numbers, URLs, and decimals.
Text Cleaner offers 11 distinct case conversions covering both natural prose and developer variable naming conventions:
| Case Style | Algorithm / Regex Rule | Format Example (11 chars input) | Primary Use Case |
|---|---|---|---|
| UPPERCASE | text.toUpperCase() (Unicode upper mapping) |
HELLO WORLD (11 chars) |
Headings, acronyms, emphasis |
| lowercase | text.toLowerCase() (Unicode lower mapping) |
hello world (11 chars) |
Standard normalization, URLs |
| Title Case | s/\p{L}+/Word[0].upper + rest.lower/gu |
Hello World (11 chars) |
Headlines, titles, book names |
| Sentence case | Lookahead after [.!?]\s+ (skips URLs & decimals) |
Hello world. (12 chars) |
Standard paragraphs and essays |
| camelCase | Join words; w[0] lower, w[1..n] capitalized |
helloWorld (10 chars) |
JavaScript, Swift, Java identifiers |
| PascalCase | Join words; capitalize initial letter of all w[0..n] |
HelloWorld (10 chars) |
TypeScript types, C# classes, React components |
| snake_case | words.map(lower).join("_") (U+005F) |
hello_world (11 chars) |
Python variables, database columns |
| CONSTANT_CASE | words.map(upper).join("_") (U+005F) |
HELLO_WORLD (11 chars) |
Environment variables, global constants |
| kebab-case | words.map(lower).join("-") (U+002D) |
hello-world (11 chars) |
CSS class names, URLs, package names |
| iNVERSE | Swap Ll ↔ Lu per Unicode code point |
hELLO wORLD (11 chars) |
Fixing accidental Caps Lock typing |
| aLtErNaTiNg | Toggle upper/lower on each /\p{L}/u match |
HeLlO wOrLd (11 chars) |
Stylistic text, memes |
What Does a Worked Before / After Case Conversion Look Like?
Given the 9-word input convert any text case for coding, writing, and formatting (57 characters, 1 line), each case converter produces a predictable character count and delimiter structure:
- Prose Casing Output:
Convert Any Text Case For Coding, Writing, And Formatting(Title Case, 57 chars) orConvert any text case for coding, writing, and formatting(Sentence case, 57 chars). - Developer Casing Output:
convertAnyTextCaseForCodingWritingAndFormatting(camelCase, 47 chars, 10 spaces/commas removed) orconvert_any_text_case_for_coding_writing_and_formatting(snake_case, 55 chars, 8 underscores).