# Case Converter

URL: https://phishdestroy.io/developer-tools/case-converter
Category: General dev
Where it runs: Runs locally (nothing you enter is uploaded)

Type a phrase or an identifier and see it in eight naming styles at once, from camelCase and snake_case to kebab-case and Title Case.

## Example input

A three-word phrase

```
parse email headers
```

Gives parseEmailHeaders, ParseEmailHeaders, parse_email_headers, parse-email-headers, PARSE_EMAIL_HEADERS and Parse Email Headers, plus the lowercase and UPPERCASE forms.

## FAQ

### How does it find the words?

It splits the input at spaces, hyphens, underscores and at every change from a lowercase to an uppercase letter (parseEmail becomes parse Email), then rebuilds the words in each style.

### What are the limits?

Runs of capitals are not split, so XMLHttpRequest becomes xmlhttpRequest. Digits stay attached to their word, and dots or other punctuation stay inside words (foo.bar is one word).

### Is my text uploaded?

No. The conversion runs in your browser as you type and nothing is sent anywhere.

## Related tools

- [Slug Generator](https://phishdestroy.io/developer-tools/slug-generator)
- [Find & Replace](https://phishdestroy.io/developer-tools/find-and-replace)
- [JSON & JavaScript String Escaper](https://phishdestroy.io/developer-tools/string-escaper)
- [Trim / Clean Lines](https://phishdestroy.io/developer-tools/trim-lines)
- [List Converter](https://phishdestroy.io/developer-tools/list-converter)

All tools: https://phishdestroy.io/developer-tools
