Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.
Need API access to Text Case Converter?
Integrate this tool into your workflow with our REST API. 3 free requests/day, unlimited with Pro.
What is Text Case Converter?
Every developer, writer, and content creator hits the same problem: you have text in one format and need it in another. Maybe you copied a title in ALL CAPS and need it in Title Case. Maybe you are converting a JavaScript variable name from camelCase to snake_case for a Python project. Maybe you just need to fix someone's email that was typed in all caps. AllKit's Text Case Converter handles all of these transformations instantly.
This tool supports 10 different case formats, covering everything from everyday text transformations to developer-specific naming conventions. UPPERCASE and lowercase are self-explanatory. Title Case capitalizes the first letter of every word — perfect for headlines and titles. Sentence case capitalizes only the first letter of each sentence, which is ideal for body text and descriptions.
For developers, the real power is in the programming-specific formats. camelCase is the standard in JavaScript and Java. PascalCase (also called UpperCamelCase) is used for class names in most languages and component names in React. snake_case is the convention in Python, Ruby, and Rust. kebab-case is used in URLs, CSS class names, and HTML attributes. CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) is for constants in virtually every language. And dot.case is used in configuration keys and property paths.
The conversion happens in real-time as you type or paste text. There is no button to press — just select the target case and start typing. The output updates instantly, and you can copy the result with a single click. Everything runs locally in your browser, so your text never leaves your device. Whether you are converting a single variable name or reformatting an entire document, this is the fastest way to change text case.
Why use AllKit?
- No ads, no distractions — a clean interface that lets you focus on the task
- Privacy-first — 100% client-side processing, nothing is uploaded
- Free forever — core tools are free with no usage limits
- API available — integrate into your workflow via our REST API
How to Use Text Case Converter
- Paste or type your text into the input area on the left side. You can paste anything — a single word, a variable name, a full paragraph, or even multiple lines of text.
- Select the target case format from the buttons above the output. Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case.
- The converted text appears instantly in the output area on the right. The conversion updates in real-time as you type or change the selected case.
- Click the Copy button next to the output to copy the converted text to your clipboard. You will see a brief confirmation when the text is copied.
- To convert to a different case, simply click another case button. The output updates immediately without needing to re-paste the input.
- Use the Clear button to reset both input and output fields and start fresh.
- For programming case formats (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case), the tool intelligently splits your text by spaces, hyphens, underscores, dots, and camelCase boundaries to produce accurate results.
Common Use Cases
Variable Name Conversion
Converting variable names between programming languages. For example, converting a JavaScript camelCase variable like 'getUserData' to Python's snake_case 'get_user_data', or to a CSS class in kebab-case 'get-user-data'.
Headline and Title Formatting
Converting blog post titles, article headlines, or document headers to proper Title Case. Paste your draft title and get a correctly capitalized version instantly.
Database Column Naming
Converting human-readable field names to database-friendly snake_case column names, or vice versa. 'First Name' becomes 'first_name', 'created_at' becomes 'Created At'.
CSS Class Name Generation
Converting component names or descriptions into kebab-case CSS class names. 'Primary Action Button' becomes 'primary-action-button', ready for your stylesheet.
Constant Definition
Converting descriptive names into CONSTANT_CASE for defining constants in your code. 'max retry count' becomes 'MAX_RETRY_COUNT', following universal coding conventions.
API Response Formatting
When working with APIs that use different naming conventions, quickly convert field names between camelCase (JavaScript), snake_case (Ruby/Python), and PascalCase (C#/.NET).
Fixing Accidental Caps Lock
Quickly fix text that was accidentally typed with Caps Lock on. Paste the ALL CAPS text and convert it to sentence case or lowercase in one click.
Technical Details
The converter uses intelligent word boundary detection to split input text accurately. It recognizes spaces, hyphens, underscores, dots, and camelCase boundaries (transitions from lowercase to uppercase letters). This means 'getUserData', 'get-user-data', 'get_user_data', and 'get user data' all produce the same word list.
Title Case follows the standard English capitalization rules, capitalizing the first letter of every word. For more nuanced title casing (where articles and prepositions stay lowercase), you can manually adjust the output — but for most technical and web use cases, capitalizing every word is the expected behavior.
Programming case conversions (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case) first normalize the input by splitting it into individual words, then rejoin them according to the target format's rules. This produces clean, consistent output regardless of the input format.
All processing happens entirely in your browser using JavaScript string operations. No data is sent to any server. The tool works offline and handles text of any length, though very long texts (over 100,000 characters) may take a moment to process due to the regex-based splitting.
Frequently Asked Questions
What is text case conversion?▾
Text case conversion is the process of changing the capitalization format of text. Common examples include converting lowercase to UPPERCASE, formatting text as Title Case for headings, or converting between programming naming conventions like camelCase and snake_case.
What case formats are supported?▾
The tool supports 10 formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case. These cover virtually all text formatting and programming naming conventions.
What is camelCase?▾
camelCase is a naming convention where the first word is lowercase and subsequent words are capitalized with no separators: 'getUserName', 'totalItemCount'. It is the standard naming convention in JavaScript, Java, and TypeScript for variables and functions.
What is the difference between camelCase and PascalCase?▾
In camelCase, the first letter is lowercase (getUserName). In PascalCase, the first letter is also capitalized (GetUserName). PascalCase is used for class names in most languages and component names in React.
What is snake_case used for?▾
snake_case uses lowercase words separated by underscores: 'get_user_name'. It is the standard naming convention in Python, Ruby, Rust, and is commonly used for database column names and API fields in many backend frameworks.
What is kebab-case used for?▾
kebab-case uses lowercase words separated by hyphens: 'get-user-name'. It is the standard for CSS class names, HTML attributes, URL slugs, and file names in many web projects.
Does the tool handle multi-line text?▾
Yes. You can paste multiple lines and each line will be converted independently. This is useful for converting lists of variable names, column names, or any batch text transformation.
Is my text stored or sent anywhere?▾
No. All conversion happens entirely in your browser using JavaScript. Your text never leaves your device, is never sent to any server, and is never stored. The tool works even when you are offline.
Can I convert between programming naming conventions?▾
Absolutely — that is one of the primary use cases. The tool intelligently detects word boundaries in any format (camelCase, snake_case, kebab-case, spaces, dots) and can convert to any other format. Paste 'getUserData' and get 'get_user_data', 'get-user-data', 'GET_USER_DATA', or any other format instantly.
What is CONSTANT_CASE?▾
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses uppercase words separated by underscores: 'MAX_RETRY_COUNT'. It is the universal convention for defining constants in virtually every programming language.
Related Tools
Word Counter
Count words, characters, sentences, and paragraphs. Reading time estimates.
URL Encode / Decode
Encode and decode URLs and query strings instantly. Supports encodeURIComponent and encodeURI.
HTML Entity Encoder / Decoder
Encode and decode HTML entities. Convert special characters to their HTML entity equivalents.
CSS Minifier & Beautifier
Minify CSS to reduce file size or beautify it for readability. Free online CSS formatter and compressor.