How to change text case
- Type or paste your text.
- Pick a style. The converted text appears straight away.
- Copy it, or download it as a text file.
Case styles and where they're used
| Style | Example | Used for |
|---|---|---|
| UPPERCASE | HELLO WORLD | Headings, acronyms, emphasis |
| lowercase | hello world | Tags, email addresses, normalising data |
| Title Case | Hello World | Headlines, book and song titles |
| Sentence case | Hello world | Body text, captions, buttons |
| camelCase | helloWorld | JavaScript and Java variables |
| PascalCase | HelloWorld | Class and component names |
| snake_case | hello_world | Python variables, database columns |
| kebab-case | hello-world | URLs, CSS classes, file names |
| CONSTANT_CASE | HELLO_WORLD | Constants and environment variables |
Common uses
- Typed with caps lock on. Paste the shouting paragraph and choose Sentence case to fix it without retyping. Check names afterwards, since they come out lowercase.
- Headings in one consistent style. Turn a list of headings, chapter names or product titles into Title Case so they all follow the same rule.
- Renaming columns or variables. Convert a list of spreadsheet column names into snake_case for a database or camelCase for JavaScript, one name per line.
- URL slugs and file names. Turn a page title into kebab-case for a URL slug or file name. Spaces and punctuation become single hyphens.