Case converter

Paste text and choose a case. Fix text typed with Caps Lock on, make headlines, or turn names into code-friendly identifiers.

This free online case converter works in your browser. Everything runs in your browser. What you type is not sent anywhere. All inputs and calculations run locally on your device without server uploads; details on browser processing and storage are set out in the privacy policy.

Which case to use

CaseExampleUsed for
Sentence caseThe quick brown foxOrdinary writing, most headings on the web
Title CaseThe Quick Brown FoxBook, film and article titles
UPPER CASETHE QUICK BROWN FOXShort labels and warnings
camelCasequickBrownFoxVariables in JavaScript and Java
PascalCaseQuickBrownFoxClass and component names
snake_casequick_brown_foxPython, Ruby and database columns
kebab-casequick-brown-foxURLs, file names and CSS classes
CONSTANT_CASEQUICK_BROWN_FOXConstants and environment variables

How Title Case is decided

Title Case here capitalises every word except short articles, conjunctions and prepositions such as “a”, “and”, “of” and “the”, unless they start the title. This follows the common rule used by most style guides. Style guides differ on words like “with” and “from”, so check a title against the guide you write for.

Sentence case capitalises the first letter of each sentence and the word “I”. Names and other proper nouns cannot be detected automatically, so read the result and fix those by hand.

Code-friendly cases

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE split your text into words at spaces, punctuation and existing capital letters, so “userIDValue” becomes “user_id_value”. When the text has several lines, each line is converted separately, which is handy for a list of names.

Worked example: Converting 'api response status_code 200' across 8 text and code cases

Take the mixed input phrase the API response_status for HTTP 200 and compare how each button transforms it:

  • Sentence case: The api response_status for http 200 (capitalizes only the first letter of each sentence; press it when Caps Lock was left on accidentally).
  • Title Case: The API Response_status for HTTP 200 (capitalizes principal words while keeping short prepositions like for lowercase in the middle of a heading).
  • UPPERCASE / lowercase: THE API RESPONSE_STATUS FOR HTTP 200 / the api response_status for http 200.
  • camelCase (JavaScript/Java variables): theApiResponseStatusForHttp200.
  • PascalCase (TypeScript/C# classes): TheApiResponseStatusForHttp200.
  • snake_case (Python/SQL columns) & kebab-case (URLs/CSS): the_api_response_status_for_http_200 and the-api-response-status-for-http-200.

Limits and what this tool cannot do

  • Acronyms and brand names (iPhone, PostgreSQL, REST API) in Sentence case: Sentence case lowercases every word after the first word of a sentence, turning REST API into rest api. Review proper nouns and acronyms after converting a paragraph from ALL CAPS.
  • Locale-specific casing (İ / ı in Turkish, ß → SS in German): Standard Unicode casing rules apply; Turkish dotted/dotless I rules require a Turkish browser locale.
  • Strips punctuation in code-identifier modes: Switching to camelCase, snake_case, or kebab-case removes punctuation marks so the output is a valid variable or URL slug.

Questions

How do I undo Caps Lock typing?

Paste the text and press Sentence case. It lowercases everything and capitalises the start of each sentence.

Does it work with other languages?

Yes, for any language with upper and lower case letters, including accented letters, Greek and Cyrillic.

What is the difference between Title Case and Capitalized Case?

Title Case keeps small words like “of” and “the” lowercase. Capitalized Case capitalises every word.

Is my text stored?

No. The conversion happens in your browser and nothing is uploaded.

Which short words stay lowercase in Title Case?

Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, yet, so), and short prepositions (at, by, for, in, of, on, to, up, with) stay lowercase unless they are the very first or very last word of the title.

What is SCREAMING_SNAKE_CASE used for?

All-uppercase words separated by underscores (MAX_RETRY_COUNT, DATABASE_URL) is the standard convention for constants and environment variables in C, Java, Python, Rust, and shell scripts.

Can I convert a 500-line list of database column names to camelCase at once?

Yes. Each line break is preserved when converting between cases, so you can convert an entire column list in one click.

Last reviewed .

Related converters and guides