Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case. Paste any text and switch case in one click.
- UPPERCASE
HELLO WORLD FROM MYDAILYTOOL - lowercase
hello world from mydailytool - Title Case
Hello World From Mydailytool - Sentence case
Hello world from mydailytool - camelCase
helloWorldFromMydailytool - PascalCase
HelloWorldFromMydailytool - snake_case
hello_world_from_mydailytool - kebab-case
hello-world-from-mydailytool - CONSTANT_CASE
HELLO_WORLD_FROM_MYDAILYTOOL - aLtErNaTiNg
hElLo wOrLd fRoM MyDaIlYtOoL
How to use the case converter
Type or paste text. Every common case is shown side-by-side; click the copy icon on any row to grab it.
Formula & explanation
camelCase: lowercase first word, capitalize the rest. snake_case: lowercase, underscore-separated. kebab-case: lowercase, hyphen-separated.
Examples
"Hello world" → camelCase "helloWorld", PascalCase "HelloWorld", snake_case "hello_world".
Frequently asked questions
- What is the difference between camelCase and PascalCase?
- In camelCase the first letter is lowercase (e.g. myVariable), while PascalCase capitalises every word including the first (e.g. MyVariable). PascalCase is common for class names; camelCase for variable and function names.
- When should I use snake_case vs kebab-case?
- snake_case (underscores) is the norm in Python variable names, database column names, and file systems. kebab-case (hyphens) is standard in URLs, CSS class names, and HTML attributes.
- What is CONSTANT_CASE used for?
- CONSTANT_CASE (all caps with underscores) is the conventional style for named constants in languages like JavaScript, Java, and C — for example MAX_RETRIES or API_BASE_URL.
- Can I convert multi-word phrases with punctuation?
- Yes. The converter strips punctuation and special characters, then applies the chosen casing to the remaining words.
Related text & string tools
- Text DiffSide-by-side diff comparison of two text blocks with line-by-line highlighting. Shows added, removed, and changed lines — useful for comparing document versions or config files.
- Remove Duplicate LinesRemove duplicate lines from any list or text block while preserving original order. Optionally trim whitespace and ignore case before deduplication. Results update instantly.
- Sort Lines / Sort List OnlineSort a list of words, names, or numbers — alphabetically A→Z or Z→A, numerically, or randomly. Paste any list and get sorted results instantly.
- Word & Text CounterCount words, characters, lines, sentences, and reading time instantly. Paste any text — article, essay, or code — and get a live breakdown. Also shows unique word count and average word length.
- Text ReverserReverse the characters, words, or individual lines of any text. Useful for debugging palindromes, creating mirror text, or just having fun with strings.
- Find & ReplaceBulk find and replace across any block of text with plain text or regex patterns. Supports case-sensitive matching, global replace, and regular expression capture groups.