Case converter
Paste your text and pick a case format to convert it instantly — no button needed.
About this tool
Naming conventions are not decoration — they are load-bearing. A JSON API that returns snake_case keys feeding a TypeScript codebase that expects camelCase produces undefined at runtime, not a compile error. Kubernetes manifests and CSS classes want kebab-case. Go exports by capitalising the first letter, so the case of an identifier changes its visibility. Python's PEP 8 asks for snake_case functions and PascalCase classes; SQL columns are conventionally snake_case; environment variables are SCREAMING_SNAKE_CASE. Converting between them by hand across a list of fifty field names is tedious and error-prone, and the mistakes are the quiet kind that surface later. This tool converts pasted text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case, updating live as you type. It handles multi-line input, so you can paste a whole column of identifiers and convert them in one pass. Title Case follows simple word-boundary rules rather than a publisher's style guide, so short prepositions are capitalised too. Everything runs in your browser.
- 1
Paste or type your text into the input field.
- 2
Select the case format: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case.
- 3
The converted text appears instantly — click Copy to copy it.
Convert variable names between camelCase, snake_case, and kebab-case when switching between languages.
Fix inconsistent casing in copy, headlines, or content before publishing.
Quickly format text to title case for headings or sentence case for body content.
To title case
the quick brown foxThe Quick Brown FoxTo camelCase
my variable namemyVariableNameTo snake_case
My Variable Namemy_variable_nameAcronyms come out wrong — userID becomes userId or user_i_d
Cause: Case conversion detects word boundaries from capitalisation, and a run of capitals is genuinely ambiguous. There is no way to know whether IDs is one word or two without a dictionary.
Fix: Fix acronyms by hand after converting, or standardise on treating acronyms as ordinary words in your codebase — userId rather than userID — which is what Google's Java and TypeScript style guides recommend precisely because it round-trips cleanly.
Converting to camelCase leaves the original separators in place
Cause: The input used a separator the converter did not treat as a word boundary — a dot, a slash, or a non-breaking space pasted from a document rather than a regular space.
Fix: Replace unusual separators with spaces, hyphens, or underscores first. Non-breaking spaces from copied web or Word content are a frequent and invisible cause.
Sentence case lowercases proper nouns
Cause: Sentence case capitalises the first letter after sentence-ending punctuation and lowercases the rest. It has no way to recognise names, brands, or acronyms.
Fix: Use Sentence case on ordinary prose and restore proper nouns afterwards, or use Title Case where every word should keep a capital.
These answers explain common case converter tasks, expected input formats, and edge cases so both visitors and search engines can understand what this tool does.
What is title case?
Title case capitalises the first letter of each word. It is commonly used for headings, article titles, and proper nouns.
What is sentence case?
Sentence case capitalises only the first letter of the first word and leaves the rest lowercase, matching standard sentence formatting.
What is camelCase?
camelCase removes spaces and capitalises the first letter of each word except the first. It is widely used for variable and function names in JavaScript and other languages.
What is snake_case?
snake_case replaces spaces with underscores and lowercases everything. It is common in Python, database column names, and file names.
What is kebab-case?
kebab-case replaces spaces with hyphens and lowercases everything. It is standard for CSS class names, HTML attributes, and URL slugs.