About Case Converter
Switch text between writing styles and programming conventions without retyping. Fix a headline that was typed with caps lock on, turn a phrase into a variable name, or convert a column of labels to snake_case in one paste.
Programming styles work line by line, so a list of names becomes a list of identifiers. Accented letters and non-Latin scripts are handled correctly.
How it works
- For writing styles, the text is recased in place: spacing, punctuation and line breaks are untouched.
- For programming styles, each line is split into words at spaces, punctuation and existing capital-letter boundaries, then rejoined in the chosen convention.
- Title Case keeps short joining words such as "of", "and" and "the" lowercase unless they start or end the line.
Questions
How does it split camelCase or acronyms into words?
A new word starts at each lowercase-to-uppercase step, and a run of capitals is treated as one word, so "parseHTTPResponse" becomes parse, HTTP, Response.
Which words stay lowercase in Title Case?
Articles, short conjunctions and short prepositions: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, on, per, to, via and vs. The first and last word are always capitalised.
Does it work with languages other than English?
Yes for upper and lower casing, which follow Unicode rules for any script that has letter case. Title Case small-word rules are English only.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.