Case Converter
Convert text between camelCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case and eight more — all 13 shown at once, in your browser.
Runs entirely in your browser — nothing is uploadedInput
All cases
—————————————About the Case Converter
Paste an identifier, a column of field names or a whole sentence, and every case appears at once: camelCase, PascalCase, snake_case, SCREAMING_SNAKE, kebab-case, COBOL-CASE, Train-Case, dot.case, path/case, Title Case, Sentence case, UPPER and lower. There is no format dropdown to hunt through — you read down the list and copy the row you want. Each line is converted on its own by default, so pasting a column straight out of a query result and copying the converted column back is one paste and one copy, with blank lines kept in place so the rows still line up.
The hard part of case conversion is not joining words together, it is working out where the words are. parseURLValue contains no separator at all, and a naive split on every capital letter turns it into parse_u_r_l_value. This tool treats an unbroken run of capitals as one word and ends that run one letter early when a lowercase letter follows, because that last capital belongs to the next word — so parseURLValue gives parse_url_value and HTTPSConnectionPool gives https_connection_pool. A lone trailing s after a run of capitals is read as a plural rather than the start of a new word, which is why IDs stays whole and yields ids instead of i_ds.
Digits stay glued to the letters beside them by default, because that is what real identifiers mean: base64Encode should give base64_encode, not base_64_encode. A digit followed by a capital is still a boundary, so ISO8601Timestamp and HTML5VideoPlayer split correctly. Turn on Split letters from digits if you genuinely want utf_8_decode. A second rule handles the other common paste: a line with no lowercase letter anywhere is read as shouting rather than as one long abbreviation, so MAX_RETRY_COUNT becomes MaxRetryCount and not MAXRETRYCOUNT. Mixed-case input keeps its acronyms instead, which is what Keep acronyms uppercase controls — whether ParseURLValue or ParseUrlValue is correct is a real disagreement between style guides, not something a tool gets to decide for you.
Two rows deliberately do not split anything. UPPER CASE and lower case are plain character transforms on the text exactly as typed, so punctuation and spacing survive untouched and iPhone becomes IPHONE. Title Case and Sentence case do split, and they turn an _, - or . sitting between two words into a space — that is what makes my-blog-post-title read as My Blog Post Title and customer_first_name read as Customer First Name. The cost of that rule is worth knowing up front: a hyphenated English phrase loses its hyphens, so state-of-the-art comes back as State Of The Art. Conversions are not always reversible either — a-b-c becomes ABC in PascalCase, and once those single-letter boundaries are gone nothing can put them back.
Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.
Frequently asked questions
Why does parseURLValue become parse_url_value and not parse_u_r_l_value?
Because an unbroken run of capitals is treated as a single word, and that run ends one letter early when a lowercase letter follows it — the final capital starts the next word. So URLValue splits into URL and Value, and HTTPSConnectionPool splits into HTTPS, Connection and Pool. It is the same rule your editor uses when you double-click a word inside a camelCase identifier.
Why does IDs stay one word?
A lone trailing lowercase s after a run of capitals is read as a plural, so IDs, URLs and PDFs stay whole and give you ids, urls and pdfs rather than i_ds, url_s and pdf_s. The heuristic covers exactly one trailing s and nothing more: IDsx has no plural reading available, so it splits into I and Dsx. There is no dictionary involved, and there cannot be — nothing in the characters themselves distinguishes a plural acronym from two words jammed together.
Why is base64Encode not base_64_encode?
Digits stay attached to the letters next to them by default, because that is what almost every real identifier means: base64_encode, utf8_decode, sha256_hash, iso8601_timestamp. A digit followed by a capital is still a boundary, so ISO8601Timestamp splits properly into ISO8601 and Timestamp. Turn on "Split letters from digits" if you actually want utf_8_decode — it is off by default because it is the rarer intent. Note also that foo2bar stays one word: there is no case change and no capital after the digit, so nothing in the text marks a boundary.
Does UPPER CASE split my identifier into words?
No, and that is deliberate. UPPER CASE and lower case are character transforms on the text exactly as you typed it — punctuation and spacing are untouched, iPhone becomes IPHONE, and parseURLValue becomes PARSEURLVALUE. If you want the spaced-out reading, use Title Case or Sentence case, which do split into words. Keeping these two rows literal means the label on the row is never a lie.
Can I convert a whole column of field names at once?
Yes. Every line is converted independently by default, so you can paste a column straight out of a query result, a CSV or a spreadsheet and copy the converted column back. Blank lines are preserved so the rows still align with your source. Switch off "Each line separately" if you want the opposite behaviour — the entire box folded down into one single identifier.
Why did Title Case remove the hyphens from state-of-the-art?
Title Case and Sentence case turn a separator that sits between two words and contains no whitespace into a single space, because that is what makes my-blog-post-title read as My Blog Post Title and user_first_name read as User First Name — the common case by a wide margin. A hyphenated English phrase is the price: state-of-the-art comes back as State Of The Art. Separators containing whitespace are kept exactly as typed, so "hello world. bye now." keeps its full stops, and UPPER CASE and lower case never touch punctuation at all.
Does it use my computer's language settings when changing case?
No — casing is invariant rather than locale-aware, on purpose. Under Turkish locale rules an uppercase I lowercases to a dotless ı, which would silently turn ID into ıd and break the identifier you came here to build. Invariant casing means the same input always produces the same output, for everyone, on every machine.
What does "Strip accents" actually do to non-Latin text?
It decomposes each character and drops the combining marks, so café becomes cafe and naïve becomes naive — useful when you need an ASCII URL slug. It does not transliterate: letters that are a distinct character rather than a base plus an accent (ø, ł, đ, ß) are left alone, and Cyrillic, Greek and CJK text is unaffected. There is one real casualty worth knowing about — Japanese voiced marks are combining marks, so が becomes か. The option is off by default.
Is my text uploaded anywhere?
No. There is no server to upload to; this site is static hosting and the conversion runs as JavaScript inside your tab. You can verify it by opening the Network tab in devtools while you type, or by disconnecting from the internet after the page loads — the tool keeps working.