{"inline_daily":{"case-converter":{"uppercase":"UPPERCASE","lowercase":"lowercase","capitalize":"Capitalize","sentence":"Sentence","alternate":"aLtErNaTe","inverse":"InVeRsE","clean_space":"Clean Space","paste":"Paste"}},"docs_daily":{"tools":{"case":{"content":{"title":"Change text case: uppercase, camelCase, snake_case and more","intro":"The converter applies one fixed rule to the whole text: upper case, lower case, title case or a programming naming style. “customer date of birth” becomes customerDateOfBirth in camelCase, customer_date_of_birth in snake_case and customer-date-of-birth in kebab-case.","details":"

Available transformations

How words are split

For code formats the tool finds words with a regular expression: a run of lower-case letters optionally preceded by a capital, an all-caps acronym, or a number. Spaces, hyphens and other separators are dropped, so an existing identifier is re-split: “getHTTPResponse code 404” becomes getHttpResponseCode404 in camelCase and get_http_response_code_404 in snake_case.

Limits

The counter shows words (split on spaces), characters and lines. The text stays in your browser and can be copied or downloaded as a .txt file.

"}},"case-converter":{"faqs":[{"question":"What is the difference between camelCase and PascalCase?","answer":"Both join words without separators and capitalise each word. In camelCase the first word stays lower case (totalPrice); in PascalCase it is capitalised too (TotalPrice), the usual convention for class names."},{"question":"When should I use snake_case or kebab-case?","answer":"snake_case (total_price) joins words with underscores, the convention in Python and many databases. kebab-case (total-price) uses hyphens and is common for file names, CSS classes and URLs."},{"question":"How do I turn a title into a URL slug?","answer":"Slug mode lowers the case, removes punctuation and replaces spaces and underscores with a single hyphen. Accented letters are replaced by the plain letter: “café menu” gives “cafe-menu”."},{"question":"Does sentence case keep capitals on proper nouns?","answer":"No. It capitalises the start of the text and the first letter after each full stop, exclamation mark or question mark, and lowers everything else, including proper nouns. Fix those by hand after converting."}]}}}}