Convert Text Between Different Case Formats
A powerful tool for converting text between various case formats including camelCase, snake_case, kebab-case, and more. Features include text analysis, conversion history, and custom pattern support.
The Case Converter tool provides instant text conversion between multiple case formats. Whether you're a developer needing code-friendly naming conventions or a writer formatting text, this tool makes case conversion effortless.
Tip: The tool processes your text in real-time as you type, with a slight debounce for optimal performance.
The input section allows you to enter or paste text for conversion. Multiple input options and controls are available to customize your conversion workflow.
Click the sample button to load example text and see the tool in action immediately.
Enable this option to process each line separately while maintaining line breaks in the output.
Use the dropdown to select and view only specific case formats, useful when you need one particular format.
The tool supports over 20 different case formats organized into four categories. Each format has specific use cases and conventions.
Converts text to sentence case with first letter capitalized.
hello world -> Hello worldConverts all characters to lowercase.
HELLO WORLD -> hello worldConverts all characters to uppercase.
hello world -> HELLO WORLDCapitalizes the first letter of each word.
hello world -> Hello WorldFirst word lowercase, subsequent words capitalized. No separators.
hello world -> helloWorldEach word capitalized, no separators. Common in class names.
hello world -> HelloWorldAll lowercase with underscores separating words.
hello world -> hello_worldAll lowercase with hyphens separating words. Common in URLs and CSS.
hello world -> hello-worldAll uppercase with underscores. Common for constants.
hello world -> HELLO_WORLDAll lowercase with dots separating words.
hello world -> hello.worldAlternates between lowercase and uppercase letters.
hello -> hElLoReverses all characters in the text.
hello -> ollehSwaps uppercase to lowercase and vice versa.
Hello -> hELLOApplies ROT13 encryption, rotating letters by 13 positions.
hello -> urrybRemoves accent marks and diacritical marks.
cafe -> cafeConverts letters to leet speak numbers (e.g., E-gt-3, A-gt-4).
hello -> h3ll0The tool automatically analyzes your input text and displays useful statistics. This helps you understand the content you're working with and verify your text before conversion.
Total character count including spaces
Number of words separated by whitespace
Number of lines in the text
Number of sentences based on punctuation
Tip: Text analysis updates in real-time as you type, helping you catch issues early in your workflow.
The tool maintains a history of your recent conversions, allowing you to quickly revisit previous transformations without re-entering text.
Note: History is stored locally in your browser and persists across sessions. Clearing browser data will remove the history.
Beyond standard case conversions, the tool offers advanced options for power users and specific use cases.
Apply custom regex patterns or string replacements to your text. Supports two formats:
/pattern/flags - Regex format with optional flags (g, i, m, etc.)search--replace - Simple string replacementCopy or download all conversions at once:
/[0-9]/gRemoves all digits using regex
hello->worldReplaces all occurrences of "hello" with "world"
/<[^>]*>/gRemoves all HTML tags using regex
Multiple export methods are available to get your converted text out of the tool and into your projects.
Click the copy icon next to any result to copy just that format.
Copies all case conversions to clipboard in a formatted list.
Downloads all conversions as a text file (case_conversions.txt).
Sentence case:
Hello world example
lower case:
hello world example
UPPER CASE:
HELLO WORLD EXAMPLE
camelCase:
helloWorldExample
snake_case:
hello_world_example
kebab-case:
hello-world-exampleConvert natural language to programming-friendly formats like camelCase, snake_case, or PascalCase for variable and function names.
Standardize database column names using snake_case or CONSTANT_CASE conventions for better consistency.
Create SEO-friendly URL slugs using kebab-case format for clean, readable web addresses.
Generate BEM-style or kebab-case class names for your CSS stylesheets and components.
Quickly convert text to sentence case, title case, or uppercase for documents and content creation.
Use advanced features like stripping diacritics or removing specific characters to clean data.