Convert Text Case
Convert to
Fix a heading typed with Caps Lock on, turn a sentence into Title Case, or rename a list of fields to camelCase or snake_case. Pick a style and copy the result.
- Free
- Runs in your browser
- 11 case styles
- No sign-up
How It Works
Change the case of any text in three steps.
Paste your text
A sentence, a heading or a list of names, one per line.
Pick a style
Choose from writing styles such as Title Case or code styles such as snake_case.
Copy the result
Copy it, or press Use result as input to apply another style on top.
Which case style should you use?
Writing and code use different conventions. Headlines often use Title Case, body text uses Sentence case, JavaScript variables use camelCase, Python and SQL columns use snake_case, URLs and CSS classes use kebab-case, and constants use CONSTANT_CASE. The code styles first split the text into words, including at existing capitals, so "userID value" and "user_id_value" both become userIdValue.
Title Case rules differ between style guides (AP, Chicago, APA). This tool follows the common rule of keeping short articles, conjunctions and prepositions lower case, so check the result against your house style.
Title Case with small words
Articles and short prepositions such as "of", "the" and "in" stay lower case unless they start the title or follow a colon.
Code styles line by line
camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE are applied to each line separately, so a pasted list stays a list.
Sentence case
Lowers everything, then capitalises the first letter of each sentence. Names and acronyms need a manual fix afterwards.
Accents kept
Letters such as é, ü and ñ keep their accents when the case changes.
Convert PDF Files and File Formats
Find the perfect online tool to combine PDF files, compress documents, and handle your daily workflow effortlessly.
PDF Tools
All your PDF needs in one place
- Merge PDF
- Organize PDF
- Split PDF
- Compress PDF
- Convert to Word
- Convert to Image
Image Tools
Edit and optimize your images
- Resize Image
- Compress Image
- Convert Format
- Crop Image
- Add Watermark
- Remove Background
Word Tools
Work with Word documents
- Convert to PDF
- Merge Documents
- Split Documents
- Compress File
- Edit Text
- Add Watermark
Excel Tools
Process Excel spreadsheets
- Convert to PDF
- Convert to CSV
- Merge Sheets
- Split Sheets
- Compress File
- Clean Data
Why Use This Case Converter
Handy for writing and for code.
Writing and code styles
Eleven styles in one place, from Sentence case to CONSTANT_CASE.
Chain conversions
Use result as input lets you, for example, lower everything and then apply Title Case.
Private
Your text is converted inside the browser tab and never uploaded.
Lists stay lists
Code styles work per line, so 30 column names become 30 converted names.
Frequently Asked Questions
Questions people ask about the Text Case Converter.
Paste it and choose Sentence case. Everything is lowered and each sentence starts with a capital. Proper nouns such as names and places need to be capitalised again by hand.
a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, vs and via, unless the word is the first word or comes right after a colon or dash.
camelCase starts with a lower-case letter (orderTotal), PascalCase with a capital (OrderTotal). JavaScript uses camelCase for variables and PascalCase for classes and React components.
Acronyms are split as words when converting to code styles: "XMLParser" becomes xml_parser in snake_case. Writing styles such as UPPER and lower change every letter.
Related Text & Developer Tools
More small utilities that run in your browser.
Word Counter
Count words, characters, sentences and reading time.
Find and Replace
Replace words or patterns in any text, with regex support.
Slug Generator
Turn a title into a clean URL slug.
Sort Lines
Sort lines, remove duplicates and drop empty lines.
Text Diff Checker
Compare two texts and see what changed, line by line.