Skip to content
Plaintools

Case converter

Paste or type any text to convert it instantly across 12 different casing conventions. Compare lowercase, uppercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE side-by-side with individual one-click copy buttons, or convert line-by-line for developer code lists.

108 characters·17 words·1 lines

Transform in-place

All Case Formats

lowercase(108 chars)

the quick brown fox jumps over 3 lazy dogs. plaintools runs entirely client-side without uploading any data!

UPPERCASE(108 chars)

THE QUICK BROWN FOX JUMPS OVER 3 LAZY DOGS. PLAINTOOLS RUNS ENTIRELY CLIENT-SIDE WITHOUT UPLOADING ANY DATA!

Title Case(108 chars)

The Quick Brown Fox Jumps Over 3 Lazy Dogs. Plaintools Runs Entirely Client-Side Without Uploading Any Data!

Sentence case(108 chars)

The quick brown fox jumps over 3 lazy dogs. Plaintools runs entirely client-side without uploading any data!

camelCase(90 chars)

theQuickBrownFoxJumpsOver3LazyDogsPlaintoolsRunsEntirelyClientSideWithoutUploadingAnyData!

PascalCase(90 chars)

TheQuickBrownFoxJumpsOver3LazyDogsPlaintoolsRunsEntirelyClientSideWithoutUploadingAnyData!

snake_case(107 chars)

the_quick_brown_fox_jumps_over_3_lazy_dogs_plaintools_runs_entirely_client_side_without_uploading_any_data!

kebab-case(107 chars)

the-quick-brown-fox-jumps-over-3-lazy-dogs-plaintools-runs-entirely-client-side-without-uploading-any-data!

CONSTANT_CASE(107 chars)

THE_QUICK_BROWN_FOX_JUMPS_OVER_3_LAZY_DOGS_PLAINTOOLS_RUNS_ENTIRELY_CLIENT_SIDE_WITHOUT_UPLOADING_ANY_DATA!

dot.case(107 chars)

the.quick.brown.fox.jumps.over.3.lazy.dogs.plaintools.runs.entirely.client.side.without.uploading.any.data!

Header-Case(107 chars)

The-Quick-Brown-Fox-Jumps-Over-3-Lazy-Dogs-Plaintools-Runs-Entirely-Client-Side-Without-Uploading-Any-Data!

aLtErNaTiNg cAsE(108 chars)

tHe QuIcK bRoWn FoX jUmPs OvEr 3 LaZy DoGs. PlAiNtOoLs RuNs EnTiReLy ClIeNt-SiDe WiThOuT uPlOaDiNg AnY dAtA!

Case converter example

Variable or headline conversion

Input: 'the quick brown fox'. Converted outputs: UPPERCASE → 'THE QUICK BROWN FOX', Title Case → 'The Quick Brown Fox', camelCase → 'theQuickBrownFox', kebab-case → 'the-quick-brown-fox', snake_case → 'the_quick_brown_fox'.

Case converter how-to

  1. Tokenize input into words by splitting on spaces, hyphens, underscores, dots, or transitions from lowercase to uppercase.
  2. For lowercase: map all characters to lower case.
  3. For UPPERCASE: map all characters to upper case.
  4. For Title Case: capitalize the first letter of each word while lowercasing the rest.
  5. For Sentence case: capitalize the first letter of each sentence while preserving subsequent casing.
  6. For camelCase: lowercase the first word and capitalize the first letter of each subsequent word, joined without spaces.
  7. For PascalCase: capitalize the first letter of every word, joined without spaces.
  8. For snake_case: lowercase all words and join with underscores.
  9. For kebab-case: lowercase all words and join with hyphens.
  10. For CONSTANT_CASE: uppercase all words and join with underscores.
  11. For dot.case: lowercase all words and join with dots.

Related tools

SEO

Slug generator

Turn a title into a lowercase URL slug, with stop words stripped and unicode transliterated.

Dev

Text diff checker

Compare two texts with a live line and word diff. Optional ignore-whitespace.

Text

Morse code to text

Bidirectional text and Morse code encoder and decoder with live audio playback and WPM speed control. Nothing is uploaded.

Text

Word counter

Count words, characters (with and without spaces), sentences, paragraphs, reading time, and keyword density live as you type.

People also use

Text

Readability checker

Calculate Flesch Reading Ease, Flesch-Kincaid Grade Level, Gunning Fog, and reading time estimates client-side.

Case converter FAQ

What is a case converter?
A case converter changes letter capitalization and naming style (UPPERCASE, lowercase, Title Case, camelCase, snake_case) without changing the words. This one runs in the browser with nothing uploaded.
Is my text uploaded or stored anywhere?
No. All text transformations execute purely in your browser's JavaScript engine. Plaintools never uploads, logs, or tracks your text.
What is the difference between camelCase and PascalCase?
In camelCase, the first word begins with a lowercase letter and every subsequent word is capitalized ('myVariableName'). In PascalCase, every word including the first begins with a capital letter ('MyVariableName').
Can I convert lists of database columns or code variables line by line?
Yes. Check the 'Convert line by line' option to transform each line independently, making it easy to convert lists of database columns, CSV headers, or programming identifiers.
How do I convert text case without this page?
Extract words by splitting on whitespace, underscores, hyphens, and camelCase transitions (regex /([a-z\d])([A-Z])/g, '$1 $2'). For lowercase: text.toLowerCase(). For UPPERCASE: text.toUpperCase(). For Title Case: capitalize first letter of each word. For Sentence case: capitalize first letter of each sentence following [.!?]. For camelCase: lowercase word 0, capitalize words 1..N, join with ''. For PascalCase: capitalize all words, join with ''. For snake_case: lowercase all words, join with '_'. For kebab-case: lowercase all words, join with '-'. For CONSTANT_CASE: uppercase all words, join with '_'.
How does the converter handle acronyms and mixed camelCase words?
The parser detects boundaries between lowercase letters, numbers, and capital letters, as well as consecutive capitals like HTMLParser into 'HTML Parser'. This cleanly separates abbreviations before applying your target casing, such as snake_case or kebab-case.
When should I use snake_case versus kebab-case or CONSTANT_CASE?
Use snake_case for Python variables, Rust identifiers, and SQL database columns. Choose kebab-case for URL slugs, CSS class names, and REST endpoint paths. Reserve CONSTANT_CASE with uppercase letters and underscores for global constants and environment variables.