Free Writing Tool
Text Case Converter
Instantly convert text to Sentence case, Title Case, camelCase, snake_case, kebab-case, and 7 more formats. Everything runs in your browser — no text leaves the page.
Writing Guide
What is Text Case Conversion?
Professional text formatting
Text case conversion changes how letters are capitalised in a string of text. Different formats serve different purposes — from formal article headings to technical variable names in code.
Developer-friendly code cases
Programming languages enforce specific naming conventions. camelCase for JavaScript, snake_case for Python, PascalCase for classes. Convert any text to a valid identifier with one click.
Content and publishing accuracy
Consistent case formatting lifts the polish of articles, emails, and social posts. Use Title Case for headings and Sentence case for body paragraphs without manually editing every word.
Case Reference
Different Text Case Types Explained
Sentence case
Capitalises only the first letter of each sentence and proper nouns. The standard for body text, descriptions, UI labels, and general writing.
Title Case
Capitalises the first letter of significant words — skips minor words like "a", "the", "and", "of". Used for article headlines, book titles, and product names.
Capitalized Case
Capitalises the first letter of every single word, including minor ones. Similar to Title Case but applied uniformly — useful for headings and display text.
camelCase
Joins words without spaces and capitalises each word after the first. The standard for JavaScript variables, object properties, and function names.
PascalCase
Like camelCase but the first word is also capitalised. Used for class names in JavaScript, TypeScript, C#, Java, and most object-oriented languages.
snake_case
Words joined with underscores, all lowercase. The convention for Python variables and functions, database column names, and file names on Linux systems.
kebab-case
Words joined with hyphens, all lowercase. Used for CSS class names, HTML attributes, URL slugs, and most configuration file keys.
CONSTANT_CASE
Words joined with underscores in all uppercase. The standard for environment variables, global constants, and configuration identifiers across most languages.
dot.case
Words joined with dots, all lowercase. Used in configuration files (Java properties, .env files), package names, and some framework routing conventions.
Usage Guide
When to Use Title Case vs Sentence Case
When to use Title Case
Use Title Case for article headlines, blog post titles, book and film names, product page headings, press releases, and formal document section headers. Most style guides (AP, Chicago) use Title Case for headings above H3 level.
When to use Sentence case
Use Sentence case for body copy, UI labels, button text, error messages, form field labels, meta descriptions, and social media captions. Google and most product design systems (Material Design, Fluent) recommend Sentence case for UI components.
When to use code cases
Use camelCase and PascalCase for programming identifiers, snake_case for Python and SQL, kebab-case for CSS and URLs, and CONSTANT_CASE for environment variables. Consistent naming prevents bugs and makes codebases easier to navigate.
Visual Reference
Text Formatting Examples
The quick brown fox jumps.
the quick brown fox jumps.
THE QUICK BROWN FOX JUMPS.
The Quick Brown Fox Jumps.
The Quick Brown Fox Jumps.
tHE qUICK bROWN fOX jUMPS.
theQuickBrownFoxJumps
TheQuickBrownFoxJumps
the_quick_brown_fox_jumps
the-quick-brown-fox-jumps
THE_QUICK_BROWN_FOX_JUMPS
the.quick.brown.fox.jumps
FAQs
Text case converter questions
Does this tool store or send my text anywhere?
No. All text is processed locally in your browser using JavaScript. Auto-save uses your browser's local storage so your draft reloads on the same device. No text is ever sent to a server or third party.
What is the difference between Title Case and Capitalized Case?
Title Case skips short function words: "a", "an", "the", "and", "but", "or", "for", "nor", "at", "by", "in", "of", "on", "to", "up". Capitalized Case capitalises the first letter of every word without exception — including those minor words.
Can I convert code variable names between formats?
Yes. Paste any identifier — whether it is currently in camelCase, PascalCase, snake_case, kebab-case, or plain text — and click any code case button to reformat it. The converter splits on uppercase transitions, hyphens, underscores, and dots automatically.
How does Toggle Case work?
Toggle Case inverts the case of each individual letter. Uppercase letters become lowercase and lowercase letters become uppercase. Spaces, numbers, and punctuation are left unchanged. Applying Toggle Case twice returns text to its original form.
Can I upload and download text files?
Yes. Click Upload to load any plain text (.txt) file directly into the editor. After converting, click Download to save the result as a .txt file. You can also Copy the text to your clipboard with the Copy button.
Does the converter work on multiple paragraphs?
Yes. Each line is converted independently, so paragraph breaks and blank lines are preserved. For code cases like snake_case and camelCase, each line becomes its own identifier. For text cases like Title Case and Sentence case, punctuation and structure within each line are respected.