Case Converter
Convert text to UPPERCASE, lowercase, Title Case, and more.
By Syed Mubashir Ali · Last updated
Which case for which job
Headlines and titles: Title Case. Normal sentences: Sentence case. JavaScript variables: camelCase. Python variables: snake_case. URLs and CSS classes: kebab-case. Constants that never change: UPPER_SNAKE_CASE. File names: usually kebab-case or snake_case, never spaces.
The one people get wrong most often is URLs. Spaces become %20 (ugly), underscores can run words together for search engines, and capitals cause case-sensitivity bugs on Linux servers. Kebab-case (all lowercase, words joined with hyphens) avoids all three problems. When in doubt, kebab-case it.
How to Use Case Converter
- 1Paste or type your text into the input area. The character, word and line counts update as you type.
- 2Click any case button to transform your text. The result keeps updating as you edit, so you can fix a typo without pressing the button again.
- 3For Title Case, tick 'Keep small words in lower case' to leave words like a, of and the uncapitalised, as most style guides do.
- 4Click 'Copy' to copy the result to your clipboard, or download it as a text file.
- 5You can apply multiple transformations by clicking different buttons: each starts from your original input.
- 6Working with a database column like user_first_name? camelCase turns it into userFirstName and PascalCase into UserFirstName in one click.
Frequently Asked Questions
What is Title Case?
Title Case capitalizes the first letter of every word. It's used for headings, titles of books, articles, and blog posts. Most style guides leave short words such as a, and, of, the and to in lower case unless they start or end the title; tick 'Keep small words in lower case' for that: 'The Lord of the Rings: The Return of the King'.
What is inverse case?
Every letter's case is swapped: capitals become lower case and lower case becomes capitals, so 'Hello World' becomes 'hELLO wORLD'. It's the quick fix for text typed with Caps Lock on by mistake.
What is Sentence case?
Sentence case capitalizes only the first letter of the first word in each sentence, just like normal prose. It detects sentence boundaries using punctuation.
What is camelCase used for?
camelCase is widely used in programming: particularly for variable and function names in JavaScript, Java, and many other languages. The first word is lowercase and subsequent words start with capitals.
What is kebab-case?
kebab-case uses hyphens between words and all lowercase letters. It's the standard format for URLs, CSS class names, and HTML attributes.
What is snake_case?
snake_case uses underscores between words and all lowercase letters. It's commonly used for variable names in Python, database column names, and file names.
Which case should I use for my blog post titles?
Title Case for most blogs. It looks professional and it's what readers expect in headlines. Sentence case (only the first word capitalized) looks more modern and is common in tech writing. Pick one and stick with it across your whole site; mixing them looks sloppy.
What's the difference between camelCase and PascalCase?
Just the first letter. camelCase starts lowercase (userName) and PascalCase starts uppercase (UserName). JavaScript convention is camelCase for variables and functions, PascalCase for classes and components. In C#, PascalCase is used for almost everything public.
Why does my URL need kebab-case?
Because URLs can't contain spaces, and Google recommends hyphens between words: it reads 'my-page' as two words, while 'my_page' may be read as one. That's why slug generators, ours included, default to hyphens.
Does it remember what I typed?
Only if you leave "Remember recent inputs" ticked: it keeps the last five things you typed here in this browser, and nothing is sent anywhere. Pick one from the Recent menu to bring it back, or press "Clear recent" to forget them. Unticking the box stops it and wipes the list.
About Case Converter
The Case Converter is an essential productivity tool for writers, developers, and content creators who frequently need to reformat text between different capitalization styles. With eleven conversion options that update as you type, it eliminates the tedious manual work of reformatting text.
Developers will find camelCase, PascalCase, snake_case, and kebab-case transformations particularly useful when refactoring code, renaming variables, or converting user-facing labels into code-safe identifiers. Writers will appreciate Title Case, Sentence case, UPPERCASE, and lowercase for quickly fixing copy-pasted text that arrived in the wrong format.
The tool processes your entire input in one click and displays the result in a dedicated output area with a copy button. You can experiment with multiple case styles without re-entering your text: each click on a different button applies that transformation to your original input.
The Alternating cAsE and Reverse text options add some fun to the mix, useful for creative typography, memes, or testing text rendering in UI components. All transformations happen instantly using JavaScript string manipulation with no server involvement.
If you've ever retyped a whole heading because it was in the wrong case, you know the specific annoyance this tool kills. Case conversion is one of those tasks that's trivial for a computer and maddening by hand, and getting it wrong in code means bugs, while getting it wrong in a headline means looking careless.