Text Case Converter

Switch any text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case and more — instantly, in your browser.

All conversion happens in your browser. No data is sent to any server.

When to use each case

Different writing contexts and programming languages have settled into their own conventions. Using the wrong case rarely breaks anything technically, but it can confuse readers, fail style-guide checks, and signal unfamiliarity with a community norms.

Editorial cases

Sentence case capitalises only the first letter of each sentence and proper nouns. Most digital newsrooms — including the BBC, The Guardian, and most blogs — use sentence case for headlines because it is easier to read and feels less shouty. Title case capitalises the first letter of every meaningful word and is the traditional choice for book titles, academic papers, and many news organisations like The New York Times. UPPERCASE is for emphasis, acronyms, and short labels — long stretches of uppercase are exhausting to read and trigger most accessibility checkers. Once you have your case sorted, run the result through our Word Counter or Readability Checker to see how it scans.

Programmer cases

camelCase is the JavaScript and Java standard for variables and functions. PascalCase is for classes and React components. snake_case is the Python convention. kebab-case is for CSS class names, HTML attributes, and URL slugs. CONSTANT_CASE is for environment variables and named constants in nearly every language. dot.case appears in configuration keys (Spring, log4j, dotted notation in YAML); path/case is essentially a URL path. The tool strips punctuation when it converts to programmer cases, so hello, world! becomes helloWorld rather than helloWorldExclamation.

Working with content workflows

Writers reaching for a case converter most often need to normalise pasted-in text — a press release that arrived in ALL CAPS, a quote that came out of a transcript with broken capitalisation, or a list of keywords that need to become URL slugs. Convert to sentence case for prose, kebab-case for slugs, and title case for headings. If you are preparing copy for publication, run the result through the Text Analyzer for an end-to-end quality check.


Frequently asked questions

What is the difference between camelCase and PascalCase?
Both join words without spaces, but they differ in the capitalisation of the first letter. camelCase starts lowercase and capitalises each subsequent word: helloWorld. PascalCase capitalises the first letter of every word including the first: HelloWorld. JavaScript uses camelCase for variables and functions and PascalCase for class names and React components.
When should I use snake_case versus kebab-case?
snake_case uses underscores and is the standard in Python, Ruby, and SQL column names. kebab-case uses hyphens and is standard in CSS class names, HTML attributes, URL slugs, and file names. Hyphens are not valid inside variable names in most programming languages, while underscores are, which is why CSS prefers hyphens and Python prefers underscores.
What is title case versus sentence case?
Title case capitalises the first letter of every word and is used for headings, titles, and some proper nouns. Sentence case capitalises only the first word of each sentence and proper nouns, mirroring normal English prose. APA, Chicago, and MLA style guides each have their own rules for which short words to leave lowercase in title case.
Does this converter handle punctuation and special characters?
For programmer cases such as camelCase, snake_case, and kebab-case, the tool strips punctuation and treats it as a word boundary. For display cases such as uppercase, lowercase, title case, and sentence case, punctuation is preserved as-is. Accented characters and Unicode letters are preserved across every case.
What is CONSTANT_CASE used for?
CONSTANT_CASE, sometimes called SCREAMING_SNAKE_CASE, is the conventional naming style for values that should not change at runtime — environment variables like DATABASE_URL, named constants like MAX_RETRIES, and enumeration values. The all-caps with underscores convention is recognised in Python, JavaScript, Java, C, Go, and most other programming languages.
Is my text sent to a server?
No. Every conversion runs entirely inside your browser using JavaScript. Your input never leaves your device, no copy is logged anywhere by UtiliForge, and the tool works offline once the page is loaded. This applies to every UtiliForge tool, not just this one.