Convert text into nine case styles
ToolMint's Case Converter changes pasted text into uppercase, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE. Writers can use it for headings and labels; developers can draft names from words or existing mixed-case identifiers. Conversion runs locally in the browser, is free to use and needs no account.
Choose a mode and review the live result before copying it. The converter changes capitalization and, in code-style modes, word separators. It does not correct grammar, infer a brand's spelling or validate a programming-language identifier. Keep the original text when those distinctions matter.
Choose a mode for your task
The same input, hello WORLD, produces these results:
| Mode | Result | Mechanical rule |
|---|---|---|
| UPPERCASE | HELLO WORLD |
Uppercase letters; retain punctuation and spacing. |
| lowercase | hello world |
Lowercase letters; retain punctuation and spacing. |
| Title Case | Hello World |
Lowercase each word and uppercase its first letter. |
| Sentence case | Hello world |
Lowercase text and uppercase detected sentence starts. |
| camelCase | helloWorld |
Lowercase the first token; capitalize later tokens; join them. |
| PascalCase | HelloWorld |
Capitalize each token and join them. |
| snake_case | hello_world |
Lowercase tokens joined with underscores. |
| kebab-case | hello-world |
Lowercase tokens joined with hyphens. |
| CONSTANT_CASE | HELLO_WORLD |
Uppercase tokens joined with underscores. |
Use a prose mode when punctuation and layout need to stay. Use a code-style mode when you want a compact name or consistent separators. Title Case capitalizes every detected word, including short words such as a, of and the; it does not apply an editorial style guide's exceptions.
How to convert and copy text
- Paste or type plain text into Input. The initial example is a short English sentence with Title Case selected.
- Select lowercase to change uppercase text to lowercase, or UPPERCASE for the reverse. For other tasks, choose Title Case, Sentence case or a code-style mode. Output updates from the original input, so switching modes does not repeatedly convert the previous result.
- Review punctuation, spelling, acronyms and any characters removed by a code-style mode. Copy writes the complete current output to your clipboard.
- Use Clear to empty the input and output. Clear keeps the selected mode. Copy becomes unavailable when there is no converted output.
Keyboard users can Tab into the selected mode, then use the arrow keys to select adjacent modes. Selection wraps at either end; Home selects UPPERCASE and End selects CONSTANT_CASE. Tab then continues to the next control.
The tool supports pasted text, not file upload or batch files. It has no Download or output-to-input Swap control. Share uses the tool's page link rather than including the text. For text containing only whitespace, prose modes retain that whitespace; code-style modes return an empty result because there are no word tokens.
Punctuation and word boundaries
UPPERCASE, lowercase, Title Case and Sentence case retain punctuation, spaces, tabs and line breaks in the supplied string. Title Case treats punctuation as word boundaries, except straight or curly apostrophes inside a word. For example, DON'T becomes Don't, while hello.world becomes Hello.World.
Code-style modes identify tokens using Unicode letters, attached combining marks and numbers. Most other characters, including spaces, underscores, hyphens, emoji and punctuation, become boundaries and are removed from the final name. Runs of separators do not create empty tokens. An internal straight or curly apostrophe is removed before tokenization, so don't becomes dont rather than two words.
These modes also split common mixed-case transitions and acronym runs. For example:
APIResponse userID → api_response_user_id
XMLHttpRequest → xml_http_request
HTTP2Response → http2_response
Numbers stay with the preceding token unless another boundary intervenes; a number followed by an uppercase letter starts a new token. These are practical rules, not a dictionary. An uninterrupted all-capitals string such as APIRESPONSE contains no signal that reliably distinguishes its intended words.
Unicode letters and locale limits
Accented and non-Latin letters are retained in word tokens. For example, snake_case converts café 中文 مرحبا to café_中文_مرحبا; it does not translate or transliterate those words. Scripts without uppercase and lowercase forms keep their letters, although a code-style mode still replaces separators.
The converter uses JavaScript's default toUpperCase() and toLowerCase() mappings. It has no locale selector. A letter can expand during conversion: straße becomes STRASSE in UPPERCASE. Default lowercase maps İ to i plus a combining dot, so code-point count can change.
Word matching uses Unicode property escapes, requiring browser support for those expressions. The tool does not normalize Unicode representations. A precomposed accented letter and a base letter with an attached combining mark can therefore remain different strings even when they look alike. These rules are not full linguistic word segmentation.
Sentence case and editorial review
Sentence case lowercases the full input and capitalizes its first letter, allowing leading quotes, punctuation, symbols and numbers. It also detects a period, exclamation mark or question mark followed by optional closing quotes or brackets and whitespace. Thus “HELLO!” NEXT. becomes “Hello!” Next..
A punctuation mark without following whitespace does not start another detected sentence: HELLO.WORLD becomes Hello.world. A line break alone does not trigger capitalization. Abbreviations, proper names, URLs, decimals and punctuation conventions in other languages still need manual review; this is a mechanical heuristic, not a sentence parser.
Title and Sentence modes lower existing capitals. API uses iPhone becomes Api Uses Iphone in Title Case. Review names and acronyms after conversion, and avoid applying the tool to entire source files, JSON documents, URLs or case-sensitive data. Changing case can change a key or value's identity and can make otherwise valid code incorrect.
Limits and related workflows
Conversion can discard information. For example, both hello+world and hello world become hello-world in kebab-case. The result cannot reconstruct the original separator. Different inputs can map to the same name, so check for duplicates in your destination system.
A generated name can begin with a digit, match a reserved word or include characters your platform does not allow. Kebab-case is not URL encoding and does not certify a filename or URL slug. Use URL Encoder / Decoder for percent-encoding conventions instead.
Use Word Counter to inspect a draft after capitalization, or Text Diff Checker to compare the original and converted text. The JSON tips guide explains JSON syntax and data handling; case conversion should not replace JSON validation. Find related text tools in Utilities.
Privacy and processing
Conversion keeps input and output in browser component memory. Its code does not upload the text, save it to browser storage or send it to conversion analytics. Input and output regions are marked for Clarity masking. General site analytics still follow the site's consent settings.
Copy intentionally puts the result on your clipboard and can fail if the browser does not allow clipboard access. Clear removes the current text from this component, while leaving your selected mode in place. It does not erase clipboard copies or text you have pasted into another application. Leaving or refreshing the page starts a new component state.