Case Converter
Transform your text into any case format instantly
Select Conversion
The Complete Guide to Text Case Conversion
What Is a Case Converter?
A case converter is a text transformation tool that changes the capitalization and formatting of written text. In typography and computing, "case" refers to whether letters are displayed as uppercase (capital letters) or lowercase (small letters), or arranged in specific patterns that serve different purposes across writing, programming, and design. Our case converter supports ten distinct formats, each with its own conventions and use cases. Whether you need to fix accidentally caps-locked text, format variable names for code, or apply consistent styling to headings and titles, this tool handles the conversion instantly and accurately in your browser without sending your text to any server.
Understanding Different Case Formats
UPPERCASE converts every letter to its capital form and is commonly used for acronyms, emphasis in informal writing, headings in certain style guides, and legal documents where specific sections must stand out. While effective for short labels and titles, extended uppercase text is harder to read because all letters share a similar rectangular shape, reducing the visual cues that help readers identify words quickly.
lowercase transforms all letters to their small form. This is the default for most body text and is commonly applied when normalizing user input for database storage or comparison. In branding, some companies deliberately use all-lowercase names to convey a modern, approachable, and informal identity.
Title Case capitalizes the first letter of every word, following conventions used in book titles, article headlines, and formal headings. Different style guides (APA, Chicago, AP) have nuanced rules about which small words like "the," "and," and "of" should remain lowercase, but our tool provides a universal conversion that capitalizes every word — a common and widely accepted approach suitable for most purposes.
Sentence case capitalizes only the first letter of each sentence, mirroring natural writing conventions. This format is preferred by many modern style guides, including Google's Material Design guidelines, for user interface elements like button labels, menu items, and dialog text because it feels more natural and conversational than title case.
Programming Case Formats
Software development has its own set of case conventions that serve both functional and stylistic purposes. camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word without spaces or separators. It is the standard naming convention for variables and functions in JavaScript, TypeScript, Java, and many other programming languages. The name comes from the "humps" created by the capital letters, resembling a camel's back.
snake_case uses lowercase letters with underscores separating words. This convention is dominant in Python, Ruby, Rust, and database naming. It is highly readable because the underscores create clear visual word boundaries. kebab-case uses hyphens instead of underscores and is the standard for CSS class names, URL slugs, and HTML attributes. The name humorously refers to words being skewered on a kebab stick. CONSTANT_CASE (also known as SCREAMING_SNAKE_CASE) combines uppercase letters with underscore separators and is universally used for constants and environment variables across virtually all programming languages.
dot.case separates words with periods and appears in configuration file keys, Java package names, and certain object property access patterns. While less common than other conventions, it is essential in specific technical contexts and is the standard in systems like Java property files, YAML configuration hierarchies, and domain name formatting.
Creative and Special Cases
aLtErNaTiNg CaSe (also called studly caps or sarcasm case) alternates between lowercase and uppercase letters. This format gained widespread popularity through internet meme culture, particularly the "Mocking SpongeBob" meme, where it conveys a sarcastic or mocking tone. While it has no formal application in professional writing or programming, it has become a recognizable element of digital communication and social media culture. Some creative designers also use alternating case for eye-catching display text or artistic typography projects where unconventional formatting is desired.
Practical Tips and Best Practices
When working with text case conversions, keep a few best practices in mind. First, always review converted text before using it, especially for proper nouns, acronyms, and abbreviations that may need special handling. Converting "NASA" to title case would produce "Nasa," which is incorrect. Second, when converting text for code, ensure you are using the convention appropriate for your language and context — using camelCase in a Python project or snake_case in JavaScript will make your code feel inconsistent with community standards.
For content creators and writers, maintaining consistent casing across your work improves professionalism and readability. Pick a casing style for your headings, subheadings, and body text, and apply it uniformly. Our case converter processes everything entirely in your browser, meaning your text is never transmitted to any external server, making it safe for converting confidential documents, proprietary code, or any sensitive content that must remain private.
How to Use This Tool
- 1
Enter your text
Type or paste the text you want to convert into the "Input Text" area. The word and character counts update automatically below the input field as you type.
- 2
Select a case format
Click one of the ten case conversion buttons: UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg, camelCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case. Hover over any button to see an example of that format.
- 3
Review the converted output
The converted text appears instantly in the "Converted Output" area below the buttons. You can click different case buttons to switch between formats without re-entering your text.
- 4
Copy to clipboard
Click the blue "Copy to Clipboard" button to copy the converted text. A confirmation message appears briefly to let you know the text has been copied successfully.
- 5
Clear and start over
Click the "Clear" button to reset both the input and output fields. This removes all text and deselects the active case format, giving you a clean slate for your next conversion.
Frequently Asked Questions
How many case formats does this tool support?▼
This tool supports ten distinct case formats: UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg case, camelCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case. This covers virtually every text formatting convention used in writing, design, and software development.
What is camelCase used for?▼
camelCase is the standard naming convention for variables and functions in JavaScript, TypeScript, Java, and many other programming languages. It starts with a lowercase letter and capitalizes the first letter of each subsequent word without spaces. For example, "user profile settings" becomes "userProfileSettings."
Does the tool handle special characters and accented letters?▼
The tool handles standard English text and common special characters. For programming formats like camelCase, snake_case, and kebab-case, non-alphanumeric characters are treated as word separators. Accented characters are preserved in text-based formats like UPPERCASE, lowercase, Title Case, and Sentence case.
Is my text kept private?▼
Yes. All case conversions happen entirely in your browser using JavaScript. No text is ever sent to a server, stored, or logged. This makes the tool safe for converting confidential documents, proprietary code, or any sensitive content that must remain private on your device.
Can I use this to rename programming variables?▼
Yes. This is one of the most popular uses of the tool. Paste a variable name or phrase and convert it between camelCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case to match the naming convention required by your programming language or project style guide.
Latest from Our Blog

Watering Hole Attacks: How Hackers Target Specific Groups
Learn about watering hole attacks — a sophisticated technique where hackers compromise websites frequented by their intended victims.

Encryption at Rest vs In Transit: Understanding Data Protection Layers
Learn the difference between encrypting data at rest and in transit, why both are necessary, and how they protect your information.

Security Orchestration: Automating Your Defense Strategy
An introduction to security orchestration, automation, and response (SOAR) — how automation helps manage the overwhelming volume of security alerts.

Deepfake Detection: How to Spot AI-Generated Media
As AI-generated deepfakes become more convincing, learn the telltale signs and tools that help you distinguish real from fake media.

Digital Identity Protection: Comprehensive Guide to Staying Safe Online
A complete guide to protecting your digital identity across all aspects of your online life — from accounts to social media to public records.