Text Case Converter (Uppercase, Lowercase, Title Case, Snake Case)
Convert text to uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case.
Text Case Converter
Convert text to common cases instantly. Pick a mode, then copy or swap the result.
Paste text to convert.
Conversion mode
Selected mode
UPPERCASE with line breaks preserved.
Was this tool helpful?
Help us improve Text Case Converter (Uppercase, Lowercase, Title Case, Snake Case) by rating it.
What this tool does
The Text Case Converter helps you transform text into consistent formats in seconds. It is designed for quick edits, clean formatting, and repeatable outputs when you are working with headings, filenames, code identifiers, or marketing copy. Instead of manually changing capitalization, you can apply a single conversion mode and get a clean result you can reuse immediately.
This tool includes the most common cases used in writing and software:
- UPPERCASE and lowercase
- Title Case and sentence case
- camelCase and PascalCase
- snake_case and kebab-case
When to use each case
Each case solves a different formatting need. Pick the one that matches your destination or style guide.
- UPPERCASE: Labels, signage, or emphasis where you need visual impact.
- lowercase: Normalizing text for search, tags, or case-insensitive comparisons.
- Title Case: Headlines, article titles, and formal headings.
- Sentence case: Descriptions, captions, and interface copy.
- camelCase: Variable names in JavaScript, small identifiers, or API fields.
- PascalCase: Class names, components, or public types.
- snake_case: Database fields, configuration keys, or Python-style identifiers.
- kebab-case: URLs, slugs, or CSS class names.
Title case rules
Title case is not just about capitalizing every word. Many style guides keep short words in lowercase unless they appear at the beginning or end of the title. This tool follows a simple, explainable rule:
- Capitalize the first and last word.
- Keep small words lowercase in the middle: a, an, the, and, or, but, for, nor, of, on, in, to, at, by.
Example:
- Input: "a guide to writing clean URLs"
- Output: "A Guide to Writing Clean URLs"
If you follow a specific style guide (AP, Chicago, or internal rules), you can make small edits after conversion.
Sentence case limitations
Sentence case lowers the text and then capitalizes the first letter of each sentence. It is a fast way to normalize paragraph text, but it is still a heuristic. The tool treats sentence boundaries as ., !, or ? followed by whitespace. That means:
- Abbreviations like "e.g." or "Dr." may be treated as sentence breaks.
- All-caps acronyms are lowercased unless you re-capitalize them manually.
For most writing and UI copy, this is a good baseline, and you can tweak edge cases afterward.
snake_case vs kebab-case
Both formats replace spaces and punctuation with a consistent delimiter:
- snake_case uses underscores:
user_profile_image. - kebab-case uses hyphens:
user-profile-image.
Use snake_case for code, database fields, and configuration keys. Use kebab-case for URLs, file names, and CSS classes. The converter also collapses repeated separators and trims them from the ends.
Examples
Below are a few short examples showing how one input can produce multiple outputs. These outputs are representative; you can refine edge cases as needed.
Example 1
Input: "the quick brown fox"
Outputs:
- UPPERCASE: "THE QUICK BROWN FOX"
- Title Case: "The Quick Brown Fox"
- camelCase: "theQuickBrownFox"
- snake_case: "the_quick_brown_fox"
Example 2
Input: "API response time"
Outputs:
- Sentence case: "Api response time"
- PascalCase: "ApiResponseTime"
- kebab-case: "api-response-time"
Example 3
Input: "clean URL slugs"
Outputs:
- Title Case: "Clean Url Slugs"
- snake_case: "clean_url_slugs"
- kebab-case: "clean-url-slugs"
Example 4
Input: "hello-world from goldreference"
Outputs:
- Sentence case: "Hello-world from goldreference"
- camelCase: "helloWorldFromGoldreference"
- PascalCase: "HelloWorldFromGoldreference"
Practical tips
- If you are converting code identifiers, choose camelCase or PascalCase and then quickly scan for acronyms.
- For URLs, kebab-case is typically preferred because it is readable and common across CMS tools.
- If you want to keep line breaks, leave Preserve line breaks on so each line converts independently.
How this tool works
The converter applies deterministic string rules to your input. It does not guess intent; it simply transforms characters into the selected casing format so you can copy the result directly into your workflow.
When to use this tool
Use this tool when you need fast, consistent text formatting for titles, headings, identifiers, or code. It is handy for cleaning datasets, normalizing labels, or preparing copy for publication.
FAQ
Does the tool keep my text private?
Yes. All conversions happen in your browser and nothing is saved.
What is the difference between title case and sentence case?
Title case capitalizes most words, while sentence case only capitalizes the first word of each sentence.
Can I convert multi-line text?
Yes. Keep Preserve line breaks on to apply conversions line by line.
How are small words handled in title case?
Common small words like and, of, or the stay lowercase unless they are at the start or end.
Why does the output look different for acronyms?
Acronyms are treated like regular words and may be lowercased. You can edit them after conversion.
What if I need kebab-case for URLs?
Choose kebab-case to replace spaces with hyphens and lower the text for URL-friendly slugs.
Does the tool remove punctuation?
Punctuation is removed for camelCase, PascalCase, snake_case, and kebab-case. Other modes keep punctuation.
Can I share a pre-filled link?
Yes. Use Copy link to share a URL with text and mode pre-filled.
Related tools
Writing & Editing
Reading Time & Finish Time Calculator
Estimate reading time and finish time for any text using word count, speed presets, and optional start time.
Writing & Editing
Word Count & Text Statistics (Free Online Tool)
Instant word count, character count, sentence and paragraph stats, plus reading time for any text.
Writing & Editing
Readability Score Calculator (Flesch & Flesch-Kincaid)
Calculate Flesch Reading Ease and Flesch-Kincaid Grade Level from your text.
Last updated
2026-02-20