MFAYSAL.DEV

Case Converter (Upper, Lower, Title, Sentence, camelCase)

Paste text, pick a case and copy the result. Free, private and runs in your browser.

Your details

Convert to

Result

Which case should I use?

Programming cases

camelCase is used for JavaScript and Java variables, PascalCase for class names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and CONSTANT_CASE for constants and environment variables. The converter splits words on spaces, hyphens, underscores and existing capital letters, so "helloWorld", "hello-world" and "hello world" all convert correctly.

Fixing caps-lock text

Typed a paragraph with caps lock on? Choose Sentence case to turn "HELLO THERE. HOW ARE YOU?" into "Hello there. How are you?". Names and places will need capitalising by hand afterwards. For URL slugs, try the slug generator, and to count words use the word counter.

Frequently asked questions

How do I convert text to title case?

Paste the text and choose Title Case. Small words such as "of" and "the" stay lower case unless they start the title.

What is the difference between camelCase and PascalCase?

camelCase starts with a lower-case letter (myVariable), and PascalCase starts with a capital (MyClass).

Is my text stored?

No. The conversion runs in your browser and nothing is sent anywhere.

✨ New: Remove the background from any image free – private, in your browser, transparent PNG.

Related free tools

Browse all 102 free tools →

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.