Case Converter
Change text to uppercase, lowercase or title case, and convert names to camelCase, snake_case and more. Also trim spaces, remove duplicate lines and sort lines.
Letter case
Naming styles (per line)
Clean up text
How to use
When it helps
Retyping a title in capitals, fixing text written with Caps Lock on, or renaming a list of variables from snake_case to camelCase takes a long time by hand.
Naming styles are applied line by line, so you can convert a whole list of variable or class names at once. Input like userName, user_name or user-name is split into words and rejoined in the style you pick. Characters without letter case, such as numbers and most non-Latin scripts, are left as they are.
The cleanup buttons are handy for lists copied from spreadsheets or web pages. Remove empty and duplicate lines, sort alphabetically and number each line. Move the result back to the input to chain several steps.
FAQ
What happens to accented or non-Latin letters?
Letters with case, including most accented Latin letters, are converted. Scripts without case, such as Korean or Chinese, stay unchanged.
What about spaces in camelCase?
Spaces, underscores, hyphens and dots are all treated as word breaks and removed, and each word after the first starts with a capital. hello world becomes helloWorld.
Is duplicate removal case-sensitive?
Yes, only exactly identical lines are removed. If lines differ only by leading or trailing spaces, run Trim lines first. The first occurrence is kept.
How does sorting handle numbers?
Numbers are compared by value, so 2 comes before 10. Mixed text, letters and numbers are sorted in a natural order.