Case Converter: Upper, Lower, Title, camelCase and More
Switch text between upper, lower, title, camel, snake and more.
Use via API
Convert text between upper, lower, title, sentence, camel, Pascal, snake, kebab, constant and dot case. Send JSON, get JSON back.
POST https://pithlab.com/api/v1/tools/case-converter
curl https://pithlab.com/api/v1/tools/case-converter \
-H "Authorization: Bearer $PITHLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"user account id","to":"camel"}'About the Case Converter
Convert text between UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE in one click.
How to use the Case Converter
- Paste your text into the input box.
- Click the case you want. The converted text appears below.
- For programming cases such as camelCase, each line is converted separately, so you can convert a whole list at once.
Examples
Input
a tale of two cities
Output
A Tale of Two Cities
Input
userAccountID
Output
user_account_id
Input
MAX_RETRY_COUNT
Output
maxRetryCount
Frequently asked questions
Which words stay lower case in Title Case?
Short articles, conjunctions and prepositions such as a, an, the, and, of, in and to stay lower case unless they are the first or last word, following common style guides.
How are acronyms handled in camelCase?
Acronyms are treated as one word, so parseHTTPResponse becomes parse_http_response in snake_case and ParseHttpResponse in PascalCase.
Does it work with accented letters?
Yes. Conversions are Unicode-aware, so letters like é, ü and ß are handled correctly.