Text Tool Free & Instant

Case Converter

Transform text into any case format — UPPER, lower, Title, camelCase, snake_case, kebab-case, PascalCase and more. Instant, private, no install.

12 case formats Runs in browser Text stays private

Select conversion

Input
Output
characters
words
lines
output length

What Is the Case Converter?

The Case Converter is a free browser-based tool that transforms any block of text into one of 12 different case formats. Whether you are a developer who needs to normalise variable names, a writer who wants consistent heading capitalisation, or a marketer crafting hashtags, this tool covers every common case style in a single click.

Supported formats at a glance

FormatExample outputCommon use
UPPER CASEHELLO WORLDEmphasis, headers, acronyms
lower casehello worldNormalisation, preprocessing
Title CaseHello WorldArticle titles, UI labels
Sentence caseHello world.Body copy, messages
camelCasehelloWorldJS / Java variables
PascalCaseHelloWorldClasses, components
snake_casehello_worldPython, DB columns
kebab-casehello-worldURLs, CSS classes
dot.casehello.worldConfig keys, property paths
CONSTANT_CASEHELLO_WORLDImmutable constants
aLtErNaTiNghElLo wOrLdMeme text, fun
iNVERSE cASEhELLO wORLDInvert existing caps

How to Use the Case Converter

1
Paste or type
Enter your text in the Input panel — any amount, any language.
2
Pick a format
Click one of the 12 conversion buttons above the panels.
3
See the result
The Output panel updates instantly as you type or switch formats.
4
Copy
Hit Copy for the active format or Copy All to get every variant at once.

Tips

  • Use Copy All to paste all 12 variants into a doc and compare them side by side.
  • camelCase and snake_case parsers automatically strip punctuation and special characters.
  • Sentence case capitalises after every . ! ? boundary.
  • CONSTANT_CASE is derived from snake_case — spaces and mixed caps become underscores then uppercased.

How the Conversions Work

Every conversion runs entirely in your browser — no server round-trip, no data upload. Here is how each algorithm works:

camelCase / PascalCase
Regex splits on non-alphanumeric boundaries, capitalises each word, then lowercases or uppercases the first character.
snake_case / kebab-case
Inserts a separator before CamelCase transitions, then collapses all space/dash/dot runs into a single separator and lowercases.
Sentence case
First lowercases everything, then uses a regex lookahead on sentence-ending punctuation to uppercase the next word character.
Alternating / Inverse
Splits into individual characters, then maps each by index (alternating) or by current case (inverse).
Alpine.js reactivity
The output is a computed getter — Alpine re-evaluates it on every keystroke or case button click, so the UI feels instant.
Privacy by design
All processing is synchronous JS in your browser tab. No text is ever sent to a server.

When Would You Use a Case Converter?

Software Development

  • Variable naming — convert human-readable labels to camelCase for JS, snake_case for Python, or PascalCase for class names.
  • Database migrations — rename columns from camelCase to snake_case in one pass.
  • Environment variables — transform names to CONSTANT_CASE before adding to .env files.
  • API normalisation — convert snake_case responses to camelCase for front-end consumption.

Content & SEO

  • URL slugs — convert article titles to kebab-case for clean, readable URLs.
  • Heading consistency — enforce Title Case across all H1s before publishing.
  • Hashtag generation — turn a phrase into a single PascalCase or all-caps hashtag.

Data Processing

  • CSV headers — normalise inconsistent column casing before import.
  • JSON keys — bulk convert object keys from one convention to another.
  • Log analysis — lowercase everything for case-insensitive comparison.

Writing & Design

  • Email subject lines — quickly toggle between Title Case and Sentence case to match brand guidelines.
  • Button labels — ensure all CTAs follow a consistent capitalisation style.

Frequently Asked Questions

Hashtags #CaseConverter #TextTools #CamelCase #SnakeCase #DevTools #FreeTools

Found a bug or incorrect conversion?