Skip to main content
PocketToolz

Case Converter

Switch text between sentence, title, camel, snake, kebab and eight more cases.

TextRuns in your browserFree, no signup

About the Case Converter

The straightforward cases — upper, lower, sentence and title — are for prose. The programming cases are for identifiers: camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and SQL, kebab-case for URLs, CSS classes and filenames, and CONSTANT_CASE for compile-time constants.

Title case is the one with no single correct answer. Different style guides disagree about which short words stay lowercase — Chicago capitalises prepositions of five letters or more, AP uses four, and some publications capitalise everything. What matters is picking one and applying it consistently, not finding the right one.

Sentence case is genuinely hard to automate, because knowing where a sentence ends means distinguishing a full stop from an abbreviation. 'Dr. Smith arrived.' has one sentence and two full stops. Check the output rather than trusting it on text with abbreviations, decimals or ellipses.

How it works

  1. Paste your text into the box.

  2. Every case is generated at once — pick the one you want.

  3. Copy it with one click, or send it back into the input to chain conversions.

Frequently asked questions

What is the difference between camelCase and PascalCase?
Both join words without spaces; the difference is the first letter. camelCase starts lowercase (userName) and is conventional for variables and functions. PascalCase starts uppercase (UserName) and is conventional for classes, types and React components.
When should I use snake_case or kebab-case?
snake_case for Python variables, database columns and SQL identifiers. kebab-case for URLs, CSS class names and filenames, because hyphens are safe in URLs and underscores can be hidden by a text underline.
Why is my title case different from what I expected?
Style guides disagree about which short words to capitalise — Chicago lowercases prepositions under five letters, AP under four. Neither is wrong. Pick one convention and use it consistently across the publication.
Does converting case affect punctuation or line breaks?
No. Only letters are changed. Punctuation, numbers, whitespace and line breaks are preserved exactly, so pasting a formatted list back in place keeps its structure.
Is there a limit on how much text I can convert?
None beyond what your browser can hold. The conversion runs locally as you type, so tens of thousands of words are no problem and nothing is uploaded.

Privacy

Everything happens locally. Your files are read by your own browser, processed on your device, and never uploaded — closing the tab is all it takes to erase them.

Related Text tools