Free Universal Case Converter

Convert text to any of 20 case formats instantly.

Writing
Developer
Fun

You might also like

View All 136 Tools

About Universal Case Converter

Convert your text to any of 20 case formats without switching between tools. Type or paste your text once, then click any case button to transform it instantly.

Whether you need UPPERCASE for a headline, snake_case for a Python variable, or #Hashtag for a social post — it’s all here in one place.

All conversions happen directly in your browser. No data is stored or sent anywhere.

How to Use

  1. Type or paste your text into the input box
  2. Click any case button from the Writing, Developer, or Fun groups
  3. Copy or download the result — or click another button to re-convert

You can keep clicking different buttons to preview multiple formats from the same original text using Undo.

All 20 Supported Case Formats

Writing & Everyday

FormatExample OutputBest For
UPPERCASEHELLO WORLDHeadings, emphasis, constants
lowercasehello worldNormalising text, email addresses
Title CaseHello WorldHeadlines, book and article titles
Sentence caseHello worldNormal prose, messages
Proper CaseHello WorldNames, formal titles

Developer & Naming Conventions

FormatExample OutputBest For
camelCasehelloWorldJavaScript variables, JSON keys
PascalCaseHelloWorldClass names, React components
snake_casehello_worldPython, Ruby, database columns
kebab-casehello-worldCSS classes, URLs, HTML attributes
CONSTANT_CASEHELLO_WORLDEnvironment variables, constants
COBOL-CASEHELLO-WORLDCOBOL programs, legacy systems
dot.casehello.worldConfig keys, namespaces
UPPER.DOT.CASEHELLO.WORLDLogging, some APIs
path/casehello/worldFile paths, URL routes
Train-CaseHello-WorldHTTP headers

Fun & Stylistic

FormatExample OutputBest For
aLtErNaTiNghElLo wOrLdMemes, sarcastic tone
iNVERSEHEllo WORLdFlip existing casing
tOGGLEhELLO wORLDFix accidental caps lock text
rAnDoMheLLo WorLDRandomised styling
#Hashtag#Hello #WorldSocial media posts

Key Features

20 Case Formats — Every common case style in one place
Instant Conversion — Click any button for immediate results
Smart Input Parsing — Correctly converts from camelCase, snake_case, and other formats, not just plain English
Preserve Lines — Convert each line independently to keep your text structure intact
Undo / Redo — Step back through your conversion history
Upload & Download — Works with text files
No Signup Required — 100% browser-based
Private & Secure — No text ever leaves your device

How the Conversion Works

Preserve Lines Mode

When the Preserve lines checkbox is enabled (default), each line in your input is converted independently. This is useful when your text has meaningful line breaks you want to keep intact.

Example with Preserve Lines ON:

hello world
foo bar baz

→ snake_case →

hello_world
foo_bar_baz

Example with Preserve Lines OFF:

hello world
foo bar baz

→ snake_case →

hello_world_foo_bar_baz

Disable it when you want the entire input treated as a single continuous string — common for developer cases like camelCase or PascalCase where you’re converting a full phrase into one identifier.

Smart Word Splitting

Before applying developer case formats, the tool splits your input into words intelligently. This means it correctly handles:

  • Plain text: hello world → words: hello, world
  • camelCase input: helloWorld → words: hello, world
  • snake_case input: hello_world → words: hello, world
  • kebab-case input: hello-world → words: hello, world

So converting from kebab-case to camelCase works correctly, not just converting from plain English.

What Gets Converted

✅ All alphabetic characters (a–z, A–Z)
✅ Accented and international characters where applicable
✅ Words separated by spaces, hyphens, underscores, dots, and slashes

What Stays the Same

❌ Numbers, punctuation, and special symbols (in most formats)
❌ Case-neutral scripts (Chinese, Japanese, Arabic, Hebrew, etc.)

Common Use Cases

Developers

Quickly reformat variable names, function names, or identifiers when switching between languages or refactoring code:

  • Paste a sentence → get camelCase, snake_case, and PascalCase in seconds
  • Convert environment variable names to CONSTANT_CASE
  • Format CSS class names in kebab-case

Writers & Editors

Fix capitalisation on pasted content in bulk:

  • Normalise ALL CAPS text to Sentence case
  • Format article titles with proper Title Case
  • Convert a heading to lowercase for URL slug use

Social Media & Marketing

  • Turn any phrase into #Hashtag format for Instagram or LinkedIn
  • Create UPPERCASE slogans and calls to action
  • Stylise text with aLtErNaTiNg case for memes

QA & Testing

Generate test data strings in multiple naming conventions without manual reformatting.

Frequently Asked Questions

Can I convert between developer formats, not just from plain text?

Yes. The tool parses camelCase, snake_case, kebab-case, and other formats before converting, so you can go directly from myVariableName to my-variable-name without any manual cleanup.

What’s the difference between Inverse Case and Toggle Case?

They are functionally the same — both flip uppercase letters to lowercase and vice versa. They’re listed separately to match the individual tools available on this site.

What’s the difference between Title Case and Proper Case?

Title Case follows headline capitalisation rules, keeping short words like “a”, “the”, “and”, “of” in lowercase unless they’re the first word. Proper Case capitalises every single word without exception.

Example: a tale of two cities

  • Title Case → A Tale of Two Cities
  • Proper Case → A Tale Of Two Cities

Is there a character limit?

No limits — convert from a single word to an entire document instantly.

Is my text private?

Yes. All conversions happen directly in your browser — no data leaves your device or gets stored anywhere.

Can I use it commercially?

Yes, completely free for personal and commercial use. No login or restrictions.

Should I use this or an individual case converter?

If you know exactly which format you need, the individual tools (like the Camel Case Converter or Title Case Converter) offer a more focused experience with format-specific documentation. Use this Universal Converter when you want to explore multiple formats quickly or aren’t sure which one you need.

From the same team