ToolGlint

Case Converter

Convert text between upper, lower, title, sentence, camel, snake and kebab case. Free and runs in your browser.

Paste or type, or drop a file on the box.

Runs in your browser. Nothing you enter is uploaded or stored.

How to use the Case Converter

  1. Type or paste your text into the left box, or load the sample to try it.
  2. Pick a case from the row of buttons. The converted text appears on the right at once.
  3. Use UPPER, lower, Title or Sentence case for ordinary writing such as headings and paragraphs.
  4. Use camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE for names in code. Each line becomes one name.
  5. Copy the result or download it as a text file.

Questions and answers

Is my text sent to a server?
No. The conversion runs entirely in your browser. Nothing you type or paste is uploaded, stored or logged.
What is the difference between Title Case and Sentence case?
Title Case starts every word with a capital letter: “The Quick Brown Fox”. Sentence case uses a capital only at the start of each sentence and each line: “The quick brown fox”. Both put the remaining letters in lower case.
Does Title Case keep small words like “of” and “the” in lower case?
No. It capitalises every word, which is the simple and predictable rule. Style guides such as AP and Chicago disagree with each other about which small words stay lower case, so check a title against your own guide if it matters.
What are camelCase, snake_case and kebab-case used for?
They are ways to write a name of several words without spaces. camelCase is common for variables in JavaScript and Java, PascalCase for class and component names, snake_case in Python and in database columns, kebab-case in URLs, CSS classes and file names, and CONSTANT_CASE for constants and environment variables.
Can it convert from one code style to another?
Yes. The tool finds the words in a name however it is written, so “maxRetryCount”, “max_retry_count” and “Max Retry Count” all convert to the same result. A run of capitals is kept together, so “XMLParser” is read as “XML” and “Parser”.
Why did my acronym change, such as NASA becoming Nasa?
Title Case and Sentence case put every letter after the first in lower case, so text typed in capitals comes out clean. The tool cannot know which words are acronyms, so fix those by hand afterwards.

Related tools