About this tool
Convert text into sentence, title, upper, lower, camel, snake, and kebab case.
The Text Case Converter takes one block of text and renders 15 case formats side by side — uppercase, lowercase, sentence case, Title Case, Headline Case, camelCase, PascalCase, CONSTANT_CASE, snake_case, kebab-case, slug-case, dot.case, path/case, Inverse Case and Alternating Case. It works by splitting your input on every run of non-alphanumeric characters (the regex /[^A-Za-z0-9]+/) into a clean word list, then rejoining those words with the separator and capitalisation each format requires; the uppercase and lowercase cards apply JavaScript's native toUpperCase() and toLowerCase() to the raw string instead, so punctuation and spacing survive intact. Headline Case follows an AP-style list of 19 short words that stay lowercase unless they open or close the line, while sentence case lowercases everything and then re-capitalises the first word character and anything following a period, question mark or exclamation mark. Every conversion is recomputed in a React useMemo inside your own browser as you type — the tool makes no network requests, so the text you paste is never uploaded.
Open Text Case Converter on AltFTool — it loads instantly in your browser.
Type or paste your text into the Source text box — a sample line is loaded by default, and Reset restores it at any time.
Scan the 15 result cards below, each showing your text in that format in monospace type.
Click the copy icon on the card you need, or use Copy all formats to take every version as "Label: value" lines, or Download formats to save them as altftool-text-cases.txt.
One paste produces uppercase, lowercase, sentence, Title, Headline, camel, Pascal, CONSTANT, snake, kebab, slug, dot, path, inverse and alternating together — each on its own card with its own copy button.
Headline Case keeps 19 common short words — a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, vs, via, with — lowercase unless they are the first or last word, which plain Title Case does not do.
Per-card copy uses the Clipboard API with a document.execCommand fallback for older browsers, and Download formats saves all 15 results as a UTF-8 text file named altftool-text-cases.txt.
Conversions are plain JavaScript string operations running in the page — no upload, no API call, no account — and they keep working if your connection drops after the page loads.
Paste your text into the source box and copy the camelCase card. The converter splits the text on any non-letter/number character, lowercases each word, capitalises every word after the first and joins them with no separator — so "build better tools" becomes "buildBetterTools".
Title Case capitalises every single word; Headline Case keeps 19 small words lowercase in the middle of the line. Those words are a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, vs, via and with, and each is still capitalised if it happens to be the first or last word — so "a guide to better tools" becomes "A Guide to Better Tools".
Not without a small edit first. Word boundaries are detected from non-alphanumeric characters only, so "userIdValue" is read as a single word and becomes "useridvalue". Add a space or hyphen between the parts — "user Id Value" — and snake_case, kebab-case, dot.case and the rest all resolve correctly to user_id_value, user-id-value and user.id.value.
No. The tool issues no network requests at all; every transformation is JavaScript executing in your browser tab, and the results live in React state that disappears when you close the page. Copying writes to your system clipboard, and Download formats builds the file locally from a Blob URL.
It lowercases the entire string first, then capitalises the opening word character and any word character following a period, question mark or exclamation mark. Because everything is lowercased first, proper nouns and acronyms lose their capitals — "NASA" comes back as "Nasa" and "iPhone" as "iphone" mid-sentence, so restore those by hand.
There is no fixed limit in the tool. All 15 formats are recalculated on every keystroke as in-browser string operations, so the only ceiling is your device's memory — extremely long pastes will simply feel less responsive because each edit recomputes the full set.
Inverse Case flips each character's existing case, so "AltFTool" becomes "aLTftOOL". Alternating Case ignores the original casing and instead lowercases every even-numbered character and uppercases every odd-numbered one, counting spaces and punctuation in the index, so "hello" becomes "hElLo".
Yes. Download formats writes a plain-text file called altftool-text-cases.txt containing all 15 results as "Label: value" lines, generated locally with UTF-8 encoding. Copy all formats places the same block on your clipboard instead.
Add the Text Case Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/text-case-converter"
title="Text Case Converter — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/text-case-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>