Text Case Converter

Convert text to UPPERCASE, lowercase, Title Case, camelCase, and more.

About this tool

Paste text and switch it between seven case styles. Useful for fixing a heading that got typed in caps lock, reformatting a column of labels, or turning a phrase into a variable or file name. Everything runs in your browser; nothing is uploaded.

The seven styles. The first four are for prose, the last three for code and identifiers:

Style"my example text" becomesTypical use
UPPERCASEMY EXAMPLE TEXTheadings, emphasis, constants
lowercasemy example textnormalising input, tags
Title CaseMy Example Textheadlines, proper nouns
Sentence caseMy example textbody copy, UI labels
camelCasemyExampleTextJavaScript / Java variables
snake_casemy_example_textPython, database columns
kebab-casemy-example-textURLs, CSS classes, file names

Title Case is not one rule. Different style guides disagree on whether short words like "of," "the," and "and" are capitalised. This tool capitalises the first letter of every word, which is the simplest and most predictable behaviour; adjust the small words by hand if your style guide is stricter.

Round-tripping between code styles. Converting snake_case to camelCase and back is lossless. Converting either to Title Case and back is not always — the word boundaries survive, but original capitalisation inside a word (an acronym like ID or URL) is lost, so userID may come back as userId.

Accents and non-English text. UPPERCASE and lowercase use the browser's Unicode-aware conversion, so accented Latin letters, Greek, Cyrillic, and similar scripts convert correctly. The word-boundary styles (Title, camel, snake, kebab) are built around space-separated words and work best on Latin-script input.

To turn a title directly into a URL segment, the slug generator also strips punctuation and handles accented characters. For removing stray line breaks from pasted text, use remove line breaks.

Frequently asked questions

What's the difference between camelCase and Title Case?
Title Case keeps the spaces between capitalised words ("My Variable Name"). camelCase removes the spaces and lowercases the first word ("myVariableName"), which is the convention for variables in JavaScript and Java.
How does Sentence case decide where sentences start?
It capitalises the first letter of the text and the first letter after each period, question mark, or exclamation mark, and lowercases the rest.
Does it handle accented or non-English characters?
Uppercase and lowercase work for most Unicode letters through the browser's built-in conversion. The word-boundary styles are tuned for space-separated, Latin-script words.
Why did "userID" become "userId" after converting?
Converting through a style that only tracks word boundaries loses capitalisation inside a word, so an embedded acronym gets normalised. Convert directly between snake_case and camelCase to avoid this.
Does Title Case follow AP or Chicago rules?
Neither exactly — it capitalises every word for predictability. Lowercase the short joining words by hand if your style guide requires it.
Is my text sent anywhere?
No. The conversion runs entirely in your browser.