How to use the Case Converter
- Paste your text into the input box.
- Click the case you want.
- The converted text appears in the output box.
- Click Copy to use it anywhere.
Examples
| Input | hello world from free text toolkit |
|---|---|
| Result | Title Case → Hello World From Free Text Toolkit |
| Input | Hello World |
|---|---|
| Result | snake_case → hello_world |
The 15 cases explained
Pick the case you need and the output updates at once. The cases fall into three groups.
- Everyday writing: Sentence case, lowercase, UPPERCASE, Title Case and Capitalize Each Word.
- Fun and social: aLtErNaTiNg and InVeRsE case.
- Programming naming styles: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case.
Which case should I use for code?
- camelCase (userFirstName): variables and functions in JavaScript, Java and Swift.
- PascalCase (UserFirstName): classes, types and React components.
- snake_case (user_first_name): Python and Ruby variables, and database column names.
- kebab-case (user-first-name): CSS classes, file names and URLs.
- CONSTANT_CASE (USER_FIRST_NAME): constants and environment variables.
- dot.case (user.first.name): configuration keys and some logging systems.
- Train-Case (User-First-Name): HTTP header names such as Content-Type.
The code cases convert each line separately, so you can paste a list of names, one per line, and convert them all at once.
Fixing text typed in the wrong case
If text was typed with Caps Lock on, paste it and choose Sentence case to get normal capitalization back. Sentence case capitalizes the first letter of each sentence and lowercases the rest, but it cannot recognise names, so check proper nouns like “London” or “Anna” afterwards. For headlines, the Title Case Converter also follows style guides such as AP, APA, Chicago and MLA, and the Lowercase Converter and Uppercase Converter are one-click shortcuts.
Tips
- Convert once, then use the Copy button instead of selecting the output by hand.
- Use the “Use as input” button to chain conversions, for example lowercase first, then snake_case.
- Need a URL-friendly version of a title? The Slug Generator also removes punctuation and accents.
Common mistakes to avoid
- Converting acronyms: lowercase turns “NASA” into “nasa”, and Sentence case will not bring the capitals back. Re-check acronyms and brand names after converting.
- Using one Title Case rule for every headline. Style guides disagree about small words such as “of”, “the” and “with”, so use the Title Case Converter when you need AP, APA, Chicago or MLA rules.
- Expecting Sentence case to find names. It capitalizes the start of each sentence only, so names like “Maria” or “Paris” in the middle of a sentence are lowercased.
- Mixing naming styles in the same project. Pick one convention for each kind of name and convert everything to it.
Frequently asked questions
What is sentence case?
Sentence case capitalizes only the first letter of each sentence, like normal writing. Proper nouns are not detected automatically, so check names after converting.
What is the difference between camelCase and PascalCase?
Both join words without spaces. camelCase starts with a lowercase letter (myVariableName); PascalCase starts with a capital (MyVariableName).
Does it work with accented letters?
Yes. Accented and non-Latin letters that have upper and lower forms are converted correctly.
Can I convert several lines at once?
Yes. Every case works on multi-line text, and the programming cases turn each line into its own identifier.
Is my text stored anywhere?
No. The conversion happens in your browser and nothing is sent to a server.