Case Converter
Convert text to uppercase, lowercase, title case, camelCase, snake_case and more.
🛠️ Custom Find & Replace
➕ Add Prefix / Suffix per line
About Our Case Converter & Text Tool
Be it writers, developers, students, or just individuals who want to tweak some text in order to make changes to its appearance, chances are that at one time or another you have encountered situations where you need to convert some text from one style to another. From capitalizing a title to converting a variable name from camel case.
This tool allows you to do all of this and more! It can convert your text to different cases, clean up your whitespace, remove characters, reorder lines, and even do find and replace. All of these actions can be done in seconds via your browser with no text leaving your device.
How to Use
- Type or paste your text in the large box. Then, you will be able to view the live statistics about the number of characters, words, lines, spaces, and special characters in your text.
- Choose from one of the following categories: Case, Whitespace, Remove, Reorder, Replace.
- Click on the function you wish to apply. For example, you can choose the 'UPPERCASE' function to make your text uppercase. You can copy or undo your changes by clicking the buttons in the corner. If you make a mistake, click the 'Undo' button.
What Can You Do?
Below is a list of everything you can do with this tool.
Convert Case
Conversion to uppercase, lowercase, title case, sentence case, camel case, pascal case, snake case, kebab case, constant case, alternating, and inverse is possible.
Clean Whitespace
You can remove any extra spaces, remove all spaces, trim your lines, remove line breaks, remove blank lines, convert CRLF to LF, and remove tabs. This is perfect when you have text from emails, PDF or other sources.
Remove Characters
You can strip off special characters, digits, punctuation, and emojis. This will be very helpful when cleaning up your data and preparing usernames and slugs.
Reorder Lines
You can remove any duplicate lines, sort them A-Z, reverse order, or randomise. This is great for organising your lists.
Find & Replace
You may switch hyphens for spaces and spaces for hyphens. You should replace underscores with spaces. Perform a find and replace. Prefix/suffix every line. This is great for tidying up your data, code lists, and bulk editing.
Why Should I Use Our Case Converter?
There are plenty of case converters available online but we wanted to create a full text tool. Below are the reasons why.
- One-stop-shop – You won't need to use 5 different tools as we've included everything in one place. Convert cases, clean whitespace, remove characters, reorder lines, and find/replace.
- Secure – Everything is done in your browser so your text will never be sent to any servers.
- Real-time stats – You'll get real-time stats on how many characters, words, lines, and spaces you have. Great for writers with word limits.
- Undo – If you accidentally click the wrong button, you can use the undo button.
- Unicode friendly – We support unicode so you can use emojis, Hindi, Arabic, Chinese, etc. Only text with cases will be converted (Latin, Cyrillic etc).
Common Uses
People use this tool for:
- Changing headlines/blog title to Title Case.
- Changing variable names to camelCase, snake_case, kebab-case.
- Cleaning up text from PDFs.
- Removing duplicates from email lists/exported data.
- Sorting lines for tidy to-do lists/glossaries.
- Adding prefix/suffix to all lines.
- Getting CSV/tab data ready for importing.
Frequently Asked Questions
What is a case converter?
A case converter is a text tool which converts your text to a different case. From ALL CAPS to all lower case, title case, camelCase, snake_case, and so many more. This will ensure that you don't have to write down the text yourself in case it needs to be formatted in a particular way.
What's the difference between Title Case & Sentence case?
Title Case will capitalise the first letter in every word (Hello World Today). Sentence case will only capitalise the first letter of each sentence (Hello world today). Title Case is used for headings and book titles. Sentence case is standard in body text.
What is camelCase used for?
camelCase is a naming convention used in coding. The first word will be lowercase and every word after will start with a capital letter. There are no spaces. For example: firstName, getUserData. This is commonly used in JavaScript, Java & Swift.
What is the difference between snake case & kebab case?
Both use a character to combine multiple words. snake case uses an underscore: my_variable_name. It is used in programming languages like Python & Ruby, as well as database table column names. Kebab case uses a hyphen: my-variable-name.
Is my text secure?
Yes! Everything is done in your browser using JavaScript. Your text will never be uploaded, stored, or shared. Even if you lose your internet connection after the page has loaded, it will still work.
May I delete additional spaces, tabs & line breaks?
Yes! We offer you various whitespace removal tools that help you delete additional spaces, trim your text lines, delete tabs, delete blank lines, delete line breaks and change CRLF to LF. This will be useful in editing text extracted from PDF/web sources.
Can I sort/remove duplicate lines?
Yes! You may reorder your lines using this feature, which will allow you to arrange them in order of A to Z, reverse them, shuffle, or deduplicate.
Does it support Unicode (Hindi, emoji etc)?
Yes! We use modern Unicode friendly JavaScript so you can use text in Hindi, Arabic, Chinese, emojis, etc. Only text with cases will be affected (Latin, Cyrillic etc). Text without cases (Devanagari, Arabic etc) will stay the same.
Other Tools You May Find Useful
If you found this tool useful, you may also find our word counter useful to track your writing goals. Our JSON formatter to format your JSON data. Our Base64 encoder.