About this tool
The styles at a glance
- UPPER CASE turns every letter into a capital: hello world → HELLO WORLD. Handy when a form demands capitals or a heading needs to stand out.
- lower case turns every letter into a small letter: Hello World → hello world. Useful after text was typed with Caps Lock on by mistake.
- Title Case capitalises the first letter of every word and lowers the rest: the quick fox → The Quick Fox. Words with an apostrophe stay one word, so don’t becomes Don’t, not Don’T.
- Sentence case capitalises only the first letter of each sentence. A new sentence starts after a full stop, question mark or exclamation mark followed by a space, and after every line break.
- Reverse text flips the order of the characters. Emoji, flags and accented letters stay intact instead of breaking into pieces.
Naming styles for code
Programming languages and teams use different conventions for names. The converter splits your text into words and joins them again in the chosen style. It recognises spaces, hyphens and underscores as separators, and also the boundaries inside existing identifiers: the lower-to-upper step in “userName” and acronyms such as “XMLHttpRequest”, which becomes XML + Http + Request. Digits stay attached to the word they follow.
- camelCase: xmlHttpRequestId2 — variables and functions in JavaScript, Java and many other languages.
- PascalCase: XmlHttpRequestId2 — classes, types and React components.
- snake_case: xml_http_request_id2 — Python variables and database column names.
- kebab-case: xml-http-request-id2 — URLs, CSS class names and file names.
- CONSTANT_CASE: XML_HTTP_REQUEST_ID2 — constants and environment variables.