Skip to main content
SerpGem
Writing Tool

Case Converter

Transform any text across 8 case formats — UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, and kebab-case — side by side.

InputYour text
OutputCase conversions

Use this with

See all 10 tools

Case Conversion Guide

When to use which case

Each case format has an established convention. Mixing them — or picking the wrong one for a context — makes code harder to read and content look unprofessional. Here's when each shines.

Title Case — headlines

Capitalize major words, leave articles (a, an, the) and short prepositions (of, on, in) lowercase — unless they start or end the title. Default for blog titles, book titles, and hero headlines.

Sentence case — body copy

Only the first letter of each sentence is capitalized. It's the modern, less-shouty alternative for UI labels, email subjects, and buttons — increasingly preferred by brands like Apple and GitHub.

UPPER CASE — callouts only

Eye-catching but hard to read. Reserve for short labels, badges, and section eyebrows (like 'CONTENT & WRITING'). All-caps body text drops reading speed by ~10%.

camelCase — JavaScript

JavaScript variable and function names: firstName, getUserById, handleSubmit. Do not use for CSS classes (kebab-case) or Python (snake_case) — each ecosystem has its own convention.

PascalCase — components & classes

React/Vue component names, class names, type names: UserCard, ProductList, ToolCategoryId. Signals "this is a constructor or class-like thing, not a plain function or value."

kebab-case & snake_case — URLs & storage

kebab-case (my-blog-post) is the web standard for URL slugs and CSS classes. snake_case (my_blog_post) is standard for Python, Ruby, and most database column names.

Pro Tips

SEO tip

Google treats kebab-case (my-post) and underscores (my_post) differently. Always use hyphens in URL slugs — Google reads them as word separators.

Accessibility

Screen readers struggle with ALL CAPS — they often read it letter-by-letter or skip it. Never use UPPER CASE for anything longer than a short label.

Brand tone

Sentence case feels modern and conversational. Title Case feels editorial and formal. Pick one for your product and stick with it — consistency beats cleverness.

?

Frequently Asked Questions

Does Title Case follow AP, Chicago, or APA rules?
We use a simplified Title Case: capitalize the first and last word plus every word except common articles (a, an, the), conjunctions (and, but, or), and short prepositions (of, on, in, at, by, to). It matches Associated Press (AP) style closely — good for web content.
Why does camelCase from a kebab-case input look weird?
We split on every non-alphanumeric character and on camelCase boundaries. So 'my-blog-post' becomes 'myBlogPost' (correct). But 'XMLParser' becomes 'xmlParser' — we detect acronym boundaries and lowercase them. If that's not what you want, paste the text as individual words.
Is there a limit on how much text I can convert?
No — all conversions run in your browser, so there is no server-side limit. Very long inputs (100k+ characters) may briefly lag your browser during conversion but still work.
Does Sentence case detect multiple sentences?
Yes. We lowercase the entire input, then capitalize the first letter of each sentence (after a period, exclamation mark, or question mark followed by whitespace). Acronyms like U.S.A. can produce edge cases — review long outputs before using them.