LazyTools

🔒 Every tool runs in your browser, the files and values you enter are never uploaded to any server. How it works

Aa Case Converter

Paste text, pick a case, copy the result, from shouty caps-lock fixes to code-ready camelCase.

Rate this tool:
Anonymous, no account, no identifier

How the case converter works

Title Case capitalizes the first letter of every word; Sentence case capitalizes after ending punctuation; the developer cases (camel, Pascal, snake, kebab, CONSTANT) first split your text on spaces, hyphens, underscores and existing capital-letter boundaries, then rejoin it in the target style. camelCase lowercases the first word and capitalizes each word after it (myVariableName); PascalCase capitalizes every word including the first (MyVariableName); alternating and inverse case flip letters by position rather than by word.

The classic use is rescuing a paragraph typed with caps lock on, paste, choose Sentence case, done. The developer cases are just as handy in reverse: paste a camelCase identifier and convert to snake_case when moving between languages, without retyping.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case Capitalizes Every Word (headings); Sentence case capitalizes only the first word of each sentence (normal prose). Editorial styles like AP additionally lowercase short words in titles, review titles manually for publication.

What are camelCase, snake_case and kebab-case for?

Programming conventions: camelCase for JavaScript/Java variables, snake_case for Python, kebab-case for URLs and CSS classes, CONSTANT_CASE for constants. The converter splits words on spaces, dashes, underscores and capital boundaries.

Can it fix text typed with caps lock on?

Yes, that is the top use. Choose Sentence case to restore normal prose, or iNVERSE CASE to flip every letter if you were mid-sentence when you noticed.

Does converting case change my text otherwise?

No, only letter casing changes. Spacing, punctuation and characters stay untouched (except the developer cases, which by design replace separators).

What is the difference between camelCase and PascalCase?

Both drop separators and capitalize word boundaries, but camelCase leaves the first letter lowercase (getUserName) while PascalCase capitalizes it (GetUserName). PascalCase suits class and type names; camelCase suits variables and functions.

How do I convert snake_case to kebab-case?

Paste the snake_case text and choose kebab-case: the converter splits on underscores and rejoins with hyphens, so first_name becomes first-name. It reads existing separators and capital boundaries, so any source case converts to any target.

When should I use CONSTANT_CASE?

For fixed values that never change at runtime, environment variables and named constants like MAX_RETRIES or API_URL. The converter splits your words and joins them with underscores in all caps, so "max retry count" becomes MAX_RETRY_COUNT.

What does alternating case actually do?

It flips letters by position rather than by word: the first letter lowercase, the next uppercase, and so on down the whole string, producing aLtErNaTiNg. It is a stylistic effect for captions and memes, not a coding or writing convention.

Is the text I paste kept private?

Yes, the conversion runs in your browser; nothing is uploaded, logged or stored.

Related text tools

From the blog