Case Converter

Transform text between 15+ case styles instantly. Convert to sentence case, title case, uppercase, lowercase, camelCase, snake_case, kebab-case, and more with advanced text manipulation features.

Select Conversion Type

Input Text

Converted Text

No conversion
Import from Google

Paste a public Google Docs, Sheets, or Slides link below. The file must be shared as "Anyone with the link can view".

Docs Sheets Slides
Live Conversion
100% Private

Quick Conversion Examples

Title Case hello worldHello World
camelCase hello worldhelloWorld
snake_case hello worldhello_world
kebab-case hello worldhello-world
SCREAMING_SNAKE hello worldHELLO_WORLD

Keyboard Shortcuts

Ctrl+V Paste text
Ctrl+C Copy output
Ctrl+A Select all
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+S Download

The Complete Guide to Text Case Standards

In software development, content creation, and data management, proper case formatting is more than aesthetics—it's a functional requirement. Our Case Converter tool provides instant transformation between over 15 case formats used across different industries, programming languages, and content platforms. From preparing API endpoints in snake_case to crafting readable titles in Title Case, we handle every transformation with precision.

Built with advanced algorithms that understand linguistic patterns, our converter preserves meaning while transforming format. It intelligently handles acronyms, proper nouns, technical terms, and multilingual content. Whether you're refactoring code, optimizing SEO slugs, or standardizing database entries, our tool delivers professional-grade results instantly.

Mastering the Tool: A Step-by-Step Guide

01

Input Your Text

Paste your content directly into the editor, upload text files (TXT, CSV, JSON, HTML, etc.), or import from Google Docs/Sheets. You can also type directly with live preview.

02

Select Conversion Style

Choose from 15+ case styles including Sentence case, Title Case, UPPERCASE, lowercase, camelCase, snake_case, kebab-case, PascalCase, and specialized formats like leet speak.

03

Apply Advanced Options

Customize conversion with options like: preserve acronyms, handle special characters, smart quote conversion, line-by-line processing, and custom separators.

04

Export Results

Copy transformed text to clipboard, download as file (TXT, JSON, CSV), or export formatted reports. Use batch processing for multiple transformations.

Complete Case Style Reference Guide

Sentence case

Content

"This is an example sentence for demonstration."

Capitalizes first word of each sentence. Used for normal paragraphs, articles, and general content.

Used in: Blog posts, articles, essays, general writing

Title Case

Content

"This Is an Example Title for Demonstration"

Capitalizes major words according to style guides. Articles/conjunctions/prepositions lowercase.

Used in: Headlines, book titles, section headings

UPPERCASE

Emphasis

"THIS IS AN EXAMPLE IN UPPERCASE"

All letters uppercase. Use sparingly for emphasis or in specific contexts.

Used in: Acronyms, emphasis, legal documents, warnings

lowercase

Informal

"this is an example in lowercase"

All letters lowercase. Often used for informal communication or specific stylistic choices.

Used in: Informal writing, some programming, stylistic text

camelCase

Programming

"thisIsAnExampleInCamelCase"

First word lowercase, subsequent words capitalized. No separators between words.

Used in: JavaScript variables/functions, Java methods, Swift

PascalCase

Programming

"ThisIsAnExampleInPascalCase"

Each word capitalized including first. Also called UpperCamelCase.

Used in: Class names (C#, Java, Python), namespaces, types

snake_case

Programming

"this_is_an_example_in_snake_case"

Words separated by underscores, all lowercase. Highly readable for compound names.

Used in: Python, Ruby, SQL, PHP, configuration files

SCREAMING_SNAKE_CASE

Programming

"THIS_IS_AN_EXAMPLE_IN_SCREAMING_SNAKE_CASE"

snake_case in all uppercase. Used for constants and configuration values.

Used in: Constants (all languages), environment variables, macros

kebab-case

Web

"this-is-an-example-in-kebab-case"

Words separated by hyphens. URL-friendly and highly readable.

Used in: CSS classes, URL slugs, package names, CLI commands

Train-Case

Web

"This-Is-An-Example-In-Train-Case"

kebab-case with each word capitalized. Used for headings in URLs.

Used in: Documentation titles, API endpoint names, headers

dot.notation.case

Specialized

"this.is.an.example.in.dot.notation"

Words separated by periods. Used in namespacing and configuration.

Used in: Java packages, configuration keys, namespaces

1337 5p34k

Specialized

"7h15 15 4n 3x4mpl3 1n 1337 5p34k"

Replaces letters with similar-looking numbers/symbols. For stylistic or gaming contexts.

Used in: Gaming culture, passwords, stylistic text, coding challenges

Advanced Conversion Features

Intelligent Word Detection

Advanced algorithms detect word boundaries in unspaced text (like "camelCase" or "snake_case") and can intelligently split them for conversion between formats.

Acronym & Proper Noun Preservation

Automatically recognizes and preserves acronyms (NASA, HTML, JSON) and common proper nouns during case conversion to maintain their correct formatting.

Multi-Format Batch Processing

Convert between multiple case formats in a single operation. Process entire documents, codebases, or datasets with consistent formatting rules.

Custom Separator Options

Define custom separators for case conversion. Use underscores, hyphens, dots, spaces, or any character as word separators in your output format.

Multilingual Support

Handles Unicode characters, accented letters, and non-Latin scripts. Properly converts text in multiple languages while preserving special characters.

Real-Time Preview

See conversion results instantly as you type or select different case styles. No need to submit forms or wait for processing.

Advertisement
Ad

Case Conventions by Programming Language

Language/Framework Variables/Functions Classes/Types Constants File Names
JavaScript/TypeScript camelCase PascalCase SCREAMING_SNAKE_CASE kebab-case.js
Python snake_case PascalCase SCREAMING_SNAKE_CASE snake_case.py
Java camelCase PascalCase SCREAMING_SNAKE_CASE PascalCase.java
C# camelCase PascalCase PascalCase or SCREAMING_SNAKE PascalCase.cs
PHP camelCase or snake_case PascalCase SCREAMING_SNAKE_CASE PascalCase.php or kebab-case
Ruby snake_case PascalCase SCREAMING_SNAKE_CASE snake_case.rb
Go camelCase or PascalCase PascalCase SCREAMING_SNAKE_CASE or camelCase snake_case.go
Swift camelCase PascalCase camelCase PascalCase.swift
Rust snake_case PascalCase SCREAMING_SNAKE_CASE snake_case.rs
HTML/CSS kebab-case (classes/ids) N/A N/A kebab-case.html
SQL snake_case PascalCase or snake_case SCREAMING_SNAKE_CASE snake_case.sql

Note: These are general conventions. Some projects may use different standards. Always check the project's style guide for specific requirements. Our tool supports all these conventions and allows customization for project-specific needs.

Practical Applications & Use Cases

Code Refactoring

  • Convert legacy code to new naming conventions
  • Standardize variable names across codebase
  • Prepare code for migration between languages
  • Fix inconsistent naming in large projects

Database Management

  • Standardize column names across tables
  • Convert between database naming conventions
  • Prepare CSV data for database import
  • Generate consistent SQL identifiers

Content Management

  • Create URL slugs from article titles
  • Format headings consistently
  • Prepare meta tags and SEO elements
  • Standardize file naming conventions

API Development

  • Convert between JSON property naming conventions
  • Prepare endpoint URLs (kebab-case)
  • Standardize request/response field names
  • Generate consistent documentation

Advanced Text Manipulation Features

Text Reversal

Reverse characters (dlrow olleH), words (world Hello), or lines for creative effects or testing.

Leet Speak Converter

Convert text to 1337 (leet) speak with customizable substitution levels from basic to extreme.

Morse Code

Encode text to Morse code (with sound playback) or decode Morse code back to text.

Binary/Hexadecimal

Convert text to binary (01101000 01100101 01101100 01101100 01101111) or hexadecimal encoding.

ASCII Art Generator

Convert text to ASCII art using various fonts and styles for documentation or creative projects.

Pattern-Based Conversion

Apply custom patterns like "AaAa", "aAaA", or random case for stylistic effects or testing.

Import from Google Docs, Sheets & Slides

Convert case formatting directly from Google Workspace documents. Import your content without downloading files first.

Public Files (Automatic Import)

For publicly shared Google files:

  1. Open your Google document
  2. Click ShareAnyone with the linkViewer
  3. Copy the URL from your browser
  4. Click the Google import button in our tool
  5. Paste the link and content loads instantly

Private Files (Manual Import)

For private Google files:

Option A: Temporary Public Access

Share publicly, import, then revoke access.

Option B: Download & Upload

  1. FileDownloadPlain Text (.txt)
  2. Upload the downloaded file using our upload button
Privacy First Processing

All Google imports are processed entirely in your browser. We don't use Google APIs, don't require login, and never store or transmit your document content. The import works by fetching the public export URL directly to your browser.

Advertisement
Ad

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word (e.g., "helloWorldExample"). PascalCase (also called UpperCamelCase) capitalizes the first letter of every word including the first one (e.g., "HelloWorldExample"). camelCase is typically used for variables and functions, while PascalCase is used for class names.

What is snake_case and when should I use it?

snake_case uses underscores to separate words (e.g., "hello_world_example"). It's widely used in: 1) Python for variables and functions, 2) Database column names (SQL), 3) Configuration files, 4) File naming conventions. It improves readability for compound words and is easier to read than camelCase for some developers.

What is kebab-case and where is it used?

kebab-case (also called dash-case) uses hyphens to separate words (e.g., "hello-world-example"). It's commonly used for: 1) CSS class names and IDs, 2) URL slugs and routes, 3) Package names (npm, composer), 4) HTML attributes, 5) Command-line arguments. It's URL-friendly and highly readable.

How does the Title Case conversion work?

Our Title Case converter follows standard title capitalization rules: 1) Capitalizes first and last words, 2) Capitalizes all nouns, pronouns, adjectives, verbs, adverbs, and subordinate conjunctions, 3) Lowercases articles (a, an, the), coordinating conjunctions (and, but, or, nor), and prepositions (in, on, at, to, etc.) unless they are the first/last word. You can customize these rules in advanced settings.

Can I convert text from uploaded files?

Yes! You can upload text-based files including TXT, CSV, JSON, XML, HTML, MD, PHP, JS, Python, Java, and more. The tool supports batch conversion where you can apply case transformations to multiple lines or entire documents at once. Maximum file size is 50MB. All processing happens locally in your browser.

Does the tool preserve special characters and formatting?

The tool intelligently handles special characters: 1) Preserves numbers, symbols, and punctuation, 2) Maintains line breaks and paragraph structure, 3) Handles Unicode characters and emojis, 4) Option to preserve acronyms (e.g., "NASA" won't become "Nasa"), 5) Smart quote handling. You can customize these behaviors in settings.

How do I handle code with mixed naming conventions?

For mixed conventions (e.g., some_variables, someVariables), use the "Detect & Convert" feature. The tool analyzes your text to identify existing case patterns and can intelligently convert them to your target format while maintaining consistency. For complex codebases, use line-by-line or selection-based conversion.

Can I import content from Google Docs?

Yes! You can import content directly from Google Docs, Sheets, and Slides. Click the Google icon button above the text area, paste your public Google link, and the content will be imported automatically. The file must be shared as "Anyone with the link can view" for automatic import to work.

Does the tool support programming language-specific conventions?

Yes! The tool includes presets for different programming languages. Select your target language (JavaScript, Python, Java, C#, etc.) and the tool will automatically apply the appropriate conventions for variables, functions, classes, and constants specific to that language's community standards.

Is my data stored when I use the tool?

Absolutely not. All processing happens locally in your browser's memory using JavaScript. We never transmit, store, or log the content you paste into our tools, ensuring maximum privacy for sensitive documents, proprietary code, and confidential information.