Text Case Converter
Switch text instantly between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case. Useful for fixing accidental Caps Lock typos, standardizing headings, or converting a database column name for frontend code, free in your browser.
Usage examples
Cleaning up an English title's formatting
Take a title typed any which way and turn it into properly capitalized Title Case.
Switching a variable name to the naming convention you need
Take a variable name copied from other code and convert it straight to camelCase, snake_case, or kebab-case to match your project's style.
Fixing text typed with Caps Lock accidentally on
Quickly flip a sentence typed in ALL CAPS back to normal case.
Converting a database column name to camelCase for frontend code
Pull a snake_case column name like user_created_at straight from a backend schema and convert it to camelCase (userCreatedAt) to match your JavaScript naming conventions.
Standardizing inconsistent heading capitalization
Have a list of article headings where some are in Title Case, some in Sentence case, and some in all lowercase? Run each one through the same mode to make the whole list consistent before publishing.
Quick reference
"the quick brown fox jumps"
| Convert to | Result |
|---|---|
| UPPERCASE | THE QUICK BROWN FOX JUMPS |
| lowercase | the quick brown fox jumps |
| Title Case | The Quick Brown Fox Jumps |
| Sentence case | The quick brown fox jumps |
| camelCase | theQuickBrownFoxJumps |
| snake_case | the_quick_brown_fox_jumps |
| kebab-case | the-quick-brown-fox-jumps |
Variable naming conventions
| Original text | camelCase | snake_case | kebab-case |
|---|---|---|---|
| firstName | firstName | first_name | first-name |
| first_name | firstName | first_name | first-name |
| first-name | firstName | first_name | first-name |
| First Name | firstName | first_name | first-name |
| getUserById | getUserById | get_user_by_id | get-user-by-id |
| isLoggedIn | isLoggedIn | is_logged_in | is-logged-in |
| created_at | createdAt | created_at | created-at |
| max_retry_count | maxRetryCount | max_retry_count | max-retry-count |
| background-color | backgroundColor | background_color | background-color |
| font-size | fontSize | font_size | font-size |
| userId2 | userId2 | user_id2 | user-id2 |
| XMLHttpRequest | xmlHttpRequest | xml_http_request | xml-http-request |
| getHTTPResponseCode | getHttpResponseCode | get_http_response_code | get-http-response-code |
| order total amount | orderTotalAmount | order_total_amount | order-total-amount |
Frequently asked questions
Is the text I enter sent to a server?
No. Conversion happens entirely in your browser, and what you enter is never sent to a server.
How does it decide where one word ends and the next begins for camelCase/snake_case/kebab-case?
Spaces, hyphens, and underscores all count as word boundaries, and so does a lowercase-to-uppercase transition like in "HelloWorld". That means text already in a different naming convention gets split correctly too.
What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word (like a book title), while Sentence case only capitalizes the first letter at the start of each sentence (after a period, question mark, or exclamation point).
Does this work on non-Latin text?
This is meaningful for Latin-alphabet text that actually has uppercase/lowercase forms. Scripts without a case distinction won't change.
What happens to numbers and punctuation when converting to camelCase or snake_case?
Numbers are kept as part of the surrounding word and don't trigger a new word boundary on their own. Punctuation other than hyphens and underscores (like apostrophes or periods) is typically dropped, since those naming conventions don't allow it.
Why would I need Sentence case instead of just capitalizing the first letter myself?
Sentence case handles multi-sentence text in one pass — it finds every sentence boundary and capitalizes each one, which is tedious to do by hand in a paragraph with several sentences but instant here.
Can I convert kebab-case back to a normal sentence?
Yes. Paste your kebab-case or snake_case text and choose Sentence case or Title Case — the hyphens and underscores are recognized as word boundaries and replaced with spaces as part of the conversion.