Why Case Matters
Text case is more than aesthetics—it affects readability, follows conventions, and in programming, determines whether code runs. Converting case manually is tedious and error-prone, especially with large amounts of text.
This converter handles all common case formats instantly, from simple uppercase/lowercase to programming conventions like camelCase and snake_case. Process entire documents or files in seconds.
How to Convert Text Case
- Paste your text or upload files
- Select your target case format
- Click convert and see the preview update
- Copy to clipboard or download the result
Case Formats Explained
Standard Text Cases
- UPPERCASE: ALL LETTERS CAPITALIZED. Used for acronyms, headings, and emphasis.
- lowercase: all letters small. Common for URLs and usernames.
- Title Case: Each Word Capitalized. Standard for titles and headings.
- Sentence case: First letter of sentences capitalized. Normal writing format.
Programming Cases
- camelCase: firstWordLower, subsequent words capitalized. JavaScript variables, JSON keys.
- PascalCase: AllWordsCaptalized. Class names, React components, TypeScript interfaces.
- snake_case: words_separated_by_underscores. Python variables, database columns.
- kebab-case: words-separated-by-hyphens. URLs, CSS classes, HTML attributes.
- CONSTANT_CASE: UPPERCASE_WITH_UNDERSCORES. Constants, environment variables.
Common Use Cases
Converting Variable Names
Moving code between languages often requires case conversion. Python uses snake_case while JavaScript uses camelCase. Convert entire lists of variable names at once instead of changing them one by one.
Formatting Database Fields
Database columns typically use snake_case. If you are generating schema from a list of field names, convert them all to the correct format before creating your tables.
Creating URL Slugs
Article titles need to become URL-friendly slugs. Convert "My Blog Post Title" to "my-blog-post-title" using kebab-case conversion.
Combining with Other Tools
Case conversion works well in data processing pipelines:
- Find & Replace specific patterns, then convert case
- Sort lines after converting to consistent case
- Remove duplicates after case normalization
Frequently Asked Questions
What case formats are supported?
We support 9 formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Each serves different use cases from writing to programming.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (firstName), while PascalCase starts with an uppercase letter (FirstName). camelCase is common for variables in JavaScript, while PascalCase is used for class names and React components.
When should I use snake_case vs kebab-case?
snake_case (with underscores) is standard in Python and database column names. kebab-case (with hyphens) is common in URLs, CSS classes, and file names. Choose based on your target platform conventions.
How does Title Case differ from Sentence case?
Title Case capitalizes the first letter of every word (The Quick Brown Fox). Sentence case only capitalizes the first letter of each sentence (The quick brown fox). Title Case is for headings; Sentence case is for regular text.
Does this preserve special characters?
For basic conversions like uppercase and lowercase, special characters are preserved. For programming cases like camelCase and snake_case, words are extracted and reformatted, which may affect some special characters.