Text Case Converter
Professional text case converter supporting UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case. Swap input/output with harmonized UI.
Text Case Converter
Convert text between 15 case styles: UPPERCASE, Title Case, camelCase, snake_case, kebab-case and more
Swap moves the result back into the input so you can chain conversions, for example camelCase then snake_case.
What is a Text Case Converter?
A text case converter is a tool that transforms text between different letter casing styles. Whether you need to change text to UPPERCASE for a headline, convert a variable name from camelCase to snake_case, or quickly capitalize a sentence, a case converter does the job instantly without manual editing.
CodeHelper's Text Case Converter supports 15+ case transformations including programming-specific formats like camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
Supported Case Formats
- UPPERCASE / lowercase: The classic all-caps or all-lowercase transformations.
- Title Case: Capitalizes the first letter of each word: great for headings.
- Sentence case: Capitalizes only the first word of a sentence.
- camelCase: Joins words with no separator, capitalizing each word after the first. Used in JavaScript, Java, and most APIs.
- snake_case: Words joined with underscores. Common in Python, Ruby, and database column names.
- kebab-case: Words joined with hyphens. Standard for CSS class names and URL slugs.
- PascalCase: Like camelCase but the first letter is also capitalized. Used for class names and components.
- CONSTANT_CASE, Train-Case, dot.case, path/case: Constants and environment variables, HTTP headers, config keys and file paths.
- aLtErNaTiNg and iNVERSE: Playful alternating letters, or swap the case of every letter to undo an accidental Caps Lock.
How to convert text case
- Paste or type your text into the input field.
- Click the desired case format button.
- The converted text appears in the output panel instantly.
- Copy the result or swap input and output to chain conversions.
Whether you are renaming variables, formatting CSV headers, preparing content for a CMS, or converting API field names, this free text case converter handles any transformation in a click.
Frequently Asked Questions
How do I convert camelCase to snake_case?
Paste the identifiers, click snake_case and the converter splits words at every capital letter and at existing separators, so myVariableName becomes my_variable_name and HTTPServer becomes http_server. The same split powers kebab-case, CONSTANT_CASE, dot.case and path/case, and it works on a whole list, one identifier per line.
What is the difference between Title Case and Capitalize Each Word?
Capitalize Each Word puts a capital on every word. Title Case follows the AP headline style: short words such as a, an, the, of, and, to stay lowercase unless they are the first or last word or follow a colon. Acronyms like API and HTTP are preserved in both when the option is on.
Does the converter handle accented letters and other languages?
Yes. Words are split on Unicode letters, so perche, Uber and senor keep their accents, and the language selector drives the case mapping: Turkish gets the dotted and dotless i right, German handles the sharp s. Choose the language of your text before converting.
How do I chain two conversions?
Convert once, click Swap to move the result into the input, then pick the next case. For example convert a sentence to kebab-case for a URL slug, then Swap and choose UPPERCASE. The statistics under both boxes show characters, words and lines before and after.
Is my text sent to a server?
No. Every conversion runs in your browser with JavaScript, the page works offline once loaded, and nothing is stored or transmitted.
Related
Free forever, no ads, no tracking. Support the project