How to use the case converter
Paste any text into the box. Every format is shown at once, and each has its own Copy button, so you can grab exactly the version you need.
The converter understands words joined in many ways. getUserProfile, get_user_profile, get-user-profile, and Get User Profile are all read as the same three words, so you can convert from any style to any other. Acronyms are handled too: XMLHttpRequest becomes xml_http_request in snake_case.
Which case to use where
- camelCase (
orderTotal): variables and functions in JavaScript, TypeScript, Java, and JSON APIs. - PascalCase (
OrderTotal): class names in most languages, React components, and C# methods and properties. - snake_case (
order_total): Python variables and functions, Ruby, and database column names. - CONSTANT_CASE (
ORDER_TOTAL): constants and environment variables. - kebab-case (
order-total): URLs, CSS class names, HTML attributes, and file names. - dot.case (
order.total): configuration keys and some logging or i18n systems. - Title Case and Sentence case: headings and user-facing text.
Title case vs. sentence case
Title Case capitalizes the first letter of every word: The Quick Guide To Json. Style guides such as APA and Chicago keep short words like "to" and "of" in lowercase. The converter capitalizes every word, so review titles before publishing.
Sentence case capitalizes only the first word of each sentence: The quick guide to json. It is easier to read and is the default style for interface text at many companies. Proper nouns and acronyms must be fixed by hand, because the converter cannot know that "JSON" should stay uppercase.
Things to watch for
- Numbers.
version2Releasebecomesversion2_releasein snake_case. Digits stay attached to the word before them. - Punctuation. Programming formats such as camelCase drop spaces, dots, slashes, hyphens, and underscores. Other punctuation is kept, so remove it first if you are creating identifiers.
- Non-English letters. Upper and lower case conversions follow Unicode rules, so
straßeandÉCOLEconvert correctly. Some languages, such as Chinese and Japanese, have no letter case, so their characters stay as they are.
Frequently asked questions
Can I convert a whole list of names at once?
Yes. Paste one name per line. Lowercase, uppercase, title case, and sentence case keep the line breaks. The programming formats treat line breaks as spaces, so for those, convert one line at a time.
Is my text stored?
No. Conversion happens in your browser as you type, and nothing is sent to a server or saved.