Case Converter
Transform any text into seven different letter cases with a single click. Paste your text, choose a case style, and the result is ready to copy instantly. Useful for developers, writers, and anyone who needs to reformat text quickly.
How It Works
Text case conventions matter across different contexts — code style guides, titles, filenames, and URLs each have their own rules. This tool handles seven of the most common transformations.
UPPERCASE converts every letter to its capital form. Example: "hello world" → "HELLO WORLD". Used in constants, acronyms, and headings that demand full emphasis.
lowercase does the opposite — every letter becomes its small form. Example: "Hello World" → "hello world". Common when normalising data for comparisons or inserting text into lowercase-only systems.
Title Case capitalises the first letter of every word. Example: "the quick brown fox" → "The Quick Brown Fox". Standard for book titles, headings, and proper nouns in most style guides.
Sentence case capitalises only the first letter of each sentence. Example: "the quick brown fox. it jumps." → "The quick brown fox. It jumps." This mirrors normal written English and is ideal for blog post subtitles and descriptions.
camelCase removes spaces and capitalises the first letter of every word except the first. Example: "background color" → "backgroundColor". The standard naming convention in JavaScript, Java, and many other languages.
snake_case replaces spaces with underscores and lowercases everything. Example: "background color" → "background_color". Used in Python variable names, Ruby symbols, database column names, and file names on Unix systems.
kebab-case replaces spaces with hyphens and lowercases everything. Example: "background color" → "background-color". Standard in CSS properties, HTML data attributes, and URL slugs.
Frequently Asked Questions
Does the converter handle punctuation?
Yes. Punctuation is preserved in all modes. Only the capitalisation of alphabetic characters changes. For camelCase and snake_case, spaces are consumed but punctuation marks are left in place.
What is the difference between Title Case and Sentence case?
Title Case capitalises every word. Sentence case only capitalises the first letter of each sentence (after a full stop, exclamation mark, or question mark). "The Quick Brown Fox" is Title Case; "The quick brown fox" is Sentence case.
Can I use this for variable names?
Yes. camelCase and snake_case are specifically designed for programming identifiers. Type or paste your phrase and the tool applies the correct casing. Note that if your phrase contains special characters they will remain, so clean your input first if needed.
Is there a character limit?
No hard limit is enforced in the browser. Very large pastes (millions of characters) may be slow on older devices, but typical documents process instantly.
Why does camelCase remove spaces?
camelCase is a naming convention for identifiers, which cannot contain spaces in most programming languages. Spaces are replaced by capitalising the next word's first letter instead, creating a visually distinct word boundary without a separator character.