Case Converter

Convert text to different case styles instantly. Free and easy to use.

Case Converter

Convert text to different case styles

0 characters, 0 words
AA
UPPER CASE
Your converted text will appear here
aa
lower case
Your converted text will appear here
Aa
Title Case
Your converted text will appear here
A.
Sentence case
Your converted text will appear here
aA
camelCase
Your converted text will appear here
AA
PascalCase
Your converted text will appear here
a_a
snake_case
Your converted text will appear here
a-a
kebab-case
Your converted text will appear here
aA
aLtErNaTe CaSe
Your converted text will appear here
Instant Convert: All case styles update automatically as you type. Hover over any result and click the copy icon to copy to clipboard.

Text Case Styles: Reference Guide

1. Paste your text

Paste any text — a sentence, a variable name, a title, or an entire paragraph. The tool works on any amount of text and handles mixed case input.

2. Choose a case style

Select from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case. The conversion happens instantly.

3. Copy the result

Click copy to get the converted text. Use it directly in your code, document, spreadsheet, or wherever you need it.

All Case Styles: Examples & When to Use

StyleExampleUsed In
UPPERCASEHELLO WORLDHeadings, constants (MAX_SIZE), acronyms, emphasis
lowercasehello worldCSS class names, email addresses, URL paths
Title CaseHello WorldArticle titles, headings, book/movie names
Sentence caseHello worldStandard prose, email subjects, UI labels
camelCasehelloWorldJavaScript/TypeScript variables and functions
PascalCaseHelloWorldJavaScript classes, React components, C# types
snake_casehello_worldPython variables, database columns, file names
kebab-casehello-worldCSS classes, URL slugs, HTML attributes, npm package names
CONSTANT_CASEHELLO_WORLDEnvironment variables, config constants in most languages

Case Conventions by Programming Language

JavaScript / TypeScript
Variables & functions → camelCase. Classes → PascalCase. Constants → CONSTANT_CASE. CSS → kebab-case.
Python
Variables & functions → snake_case. Classes → PascalCase. Constants → CONSTANT_CASE. Modules → snake_case.
Java / C#
Variables & methods → camelCase. Classes & interfaces → PascalCase. Constants → CONSTANT_CASE.
Go
Exported identifiers → PascalCase. Unexported identifiers → camelCase. No snake_case or kebab-case in Go code.
CSS / Tailwind
Class names → kebab-case. CSS custom properties → --kebab-case. Tailwind utilities → kebab-case.
SQL / Databases
Column and table names → snake_case is the most widely adopted convention. Some DBs use PascalCase.

Common Use Cases for Text Case Conversion

Renaming variables
Convert a camelCase variable from JavaScript to snake_case when porting to Python, or vice versa.
Formatting headings
Convert a sentence or all-caps title to proper Title Case for blog posts, documents, or presentation slides.
Database migrations
Convert PascalCase model names to snake_case table column names for ORM field mapping.
URL slug generation
Convert "My Blog Post Title" to "my-blog-post-title" for clean, SEO-friendly URL slugs.
Fixing copy-paste
Fix text that was accidentally pasted in all caps or all lowercase from another source.
Code refactoring
Batch-convert a list of variable or function names to match a consistent naming convention.

Frequently Asked Questions

Common questions about Case Converter