A case converter rewrites text in another style of capital letters without you retyping it: from "order confirmed" to "ORDER CONFIRMED", from "First Name" to first_name, from a heading in capitals to a readable sentence. Our free Case Converter has twelve cases, shows them all side by side for short text, and converts lists of names one line at a time. It is useful for writers, students, marketers and developers.
This guide goes through each case with a real example, explains how the tool decides where words begin and end, and lists the traps that catch people most often. The detailed rules for headlines have their own post: Title Case rules.
What Case Converter does
You paste text, pick a case, and the converted text appears in the output panel. There are two families of case:
- Writing cases: UPPER CASE, lower case, Title Case and Sentence case, for headings, emails and documents.
- Programming cases: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case, for variable names, file names, CSS classes and settings.
Two more, aLtErNaTiNg and InVeRsE, are for fun and for special effects.
It changes the case and, in the programming cases, the separators. It does not fix spelling, check grammar or translate. It does not work across scripts that have no case, which includes Bangla.
How to use Case Converter, step by step
- Open Case Converter.
- Paste or type your text in the box labelled "Text to convert". The placeholder suggests a heading or a list of variable names, one per line.
- Choose a case from the row of buttons above the boxes. Title Case is selected when the page opens.
- Read the result in the output panel on the right. Its heading changes to the name of the case you chose.
- Press Copy (inside the output panel) to copy it, or Download to save it as a text file named after the case, for example
title-case.txt(the site adds its own "Tech Solution Point - " prefix to downloads). - Press Use as input to move the result into the input box, then pick another case. This lets you chain conversions, for example from camelCase to snake_case and then on to CONSTANT_CASE.
There is also a Clear button above the input box.
Every case explained
All examples below are real outputs of the tool.
The writing cases
UPPER CASE and lower case change every letter. Letters from other alphabets follow their own rules: a German ß becomes SS in upper case, so "straße" becomes "STRASSE".
Title Case capitalises the main words of a heading and keeps short words such as "of", "to" and "the" lower case, except at the start or end. "the lord of the rings: the return of the king" becomes "The Lord of the Rings: The Return of the King". A line typed all in capitals is treated as shouting and re-cased, so "WHY YOU SHOULD NOT PAY CASH ON DELIVERY" becomes "Why You Should Not Pay Cash on Delivery". The full word list, and the differences between style guides, are in the Title Case post.
Sentence case lowercases everything and then capitalises the first letter of the text, the first letter after . ! ? or the Bangla danda (।) followed by a space, and the first letter after each line break. It also fixes a lone "i" to "I", including "i'm" and "i'll". Example: "hello world. this is a test! i think i'm done?" becomes "Hello world. This is a test! I think I'm done?".
The programming cases
These cases first split your text into words, then join them in the chosen style. The tool splits on spaces and punctuation, and also inside existing camelCase, so "XMLHttpRequest parser v2" is read as the words XML, Http, Request, parser and v2.
| Case | Example output |
|---|---|
| camelCase | xmlHttpRequestParserV2 |
| PascalCase | XmlHttpRequestParserV2 |
| snake_case | xml_http_request_parser_v2 |
| kebab-case | xml-http-request-parser-v2 |
| CONSTANT_CASE | XML_HTTP_REQUEST_PARSER_V2 |
| dot.case | xml.http.request.parser.v2 |
Use camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and database columns, kebab-case for CSS classes and file names, CONSTANT_CASE for constants and environment variables, and dot.case for config keys. If you want a clean web address from a title, the Slug Generator is built for that and also removes accents and stop words.
Lists convert line by line. Paste this, one name per line:
user first name
Order ID
phone_number
createdAt
Choose snake_case and you get:
user_first_name
order_id
phone_number
created_at
Choose camelCase and you get userFirstName, orderId, phoneNumber and createdAt, each on its own line. This is the quickest way to bring a pasted column of field names into one convention.
The fun cases
aLtErNaTiNg switches between lower and upper case on every letter and skips spaces and punctuation, so the pattern is not broken by them: "hello world hello" becomes "hElLo WoRlD hElLo". InVeRsE flips each letter's case: "I love Bangladesh" becomes "i LOVE bANGLADESH".
All cases at a glance
Under the two panels, a table titled "All cases at a glance" lists the result of every case for your text, with a Copy button on each row. Click a case name in the table to select it above. This table appears only for short input: up to 300 characters, and not empty. Past that, it is hidden to keep the page quick, and you use the buttons.
What it accepts and its limits
- Input: any text, typed or pasted. There is no file upload.
- Languages: the conversion understands Unicode letters, so é, ü, Ω and Cyrillic letters change case correctly. Scripts without case, such as Bangla, Chinese and Arabic, pass through unchanged.
- Size: the page sets no limit of its own. It converts on every keystroke, so very long text may feel slower than a paragraph.
- Lines: the programming cases treat each line as a separate name. The writing cases keep your line breaks as they are.
Privacy
The converter runs in your browser. Your text stays on your device and the page makes no request when you type, which makes it fine for drafts, customer lists and code.
Tips to work faster
- Use the "All cases at a glance" table when you are not sure which style you need: pick the row and copy.
- To go from one programming case to another, paste the old names directly. Existing camelCase is split into words, so
createdAtconverts tocreated_atwithout any cleaning. - After Sentence case, scan for proper nouns, which it will have lowercased.
- Before changing a long heading, check it fits its limit with the Character Counter.
- After editing a document in two versions, use the Text Diff Checker to see exactly which words changed case.
Common problems and how to fix them
Sentence case lowercased names and acronyms
"Dhaka University & NASA" becomes "Dhaka university & nasa". Sentence case does not know which words are names, so every letter after the first is lowered. Restore the capitals by hand, or use Title Case if the line is a heading, because Title Case keeps acronyms that are typed in capitals.
Title Case turned "SSC" into "Ssc"
Title Case keeps a capitalised acronym only when it is typed in capitals inside a line that also has lower-case letters. Type "ssc" and you get "Ssc". Type "SSC" in a normal sentence and it stays. On a line typed entirely in capitals, only a short list of well-known acronyms (NASA, FBI, HTML, CSS, USA and similar) is kept; "SSC RESULT 2026" becomes "Ssc Result 2026".
A version number lost its dot
In the programming cases, punctuation separates words and is then removed. "v2.0 release notes" becomes v20ReleaseNotes in camelCase and version_2_0_notes in snake_case for "version 2.0 notes". If the dot matters, fix it by hand afterwards.
An apostrophe split a word
"don't stop" becomes donTStop in camelCase, because the apostrophe counts as a break. Remove apostrophes before converting names.
Title Case left an underscore alone
"student_id" becomes "Student_id". Title Case treats the underscore as part of the word. To get "Student Id", convert to snake_case or kebab-case first, or replace the underscore with a space.
Nothing happened to my Bangla text
That is expected. Bangla has no capital letters. Only the Latin letters in the same line change.
Related tools
- Slug Generator: turns a title into a clean URL slug with a length limit.
- Character Counter: checks that the converted text fits its limit.
- Text Diff Checker: compares two versions of a text.
- Text Tools: the rest of our text utilities.
Quick checklist
- Pick the writing cases for people to read and the programming cases for code.
- Use one name per line for lists, and let the tool convert them all at once.
- Type acronyms in capitals before Title Case.
- Re-check names after Sentence case.
- Use the Use as input button to chain two conversions.



