OKFree Tools
Text

Case Converter

Convert text to UPPER, lower and Title Case, or to camelCase, snake_case, kebab-case and other naming styles

Runs locally in your browser. Nothing is uploaded.

Text

Naming formats convert each line separately, so you can paste one name per line. Case formats keep your line breaks

Results

Type some text and all 11 formats appear here at once, each ready to copy

How to use

  1. 1
    Enter text

    Type a name or a sentence, or paste a list of variable names, one per line

  2. 2
    Find your format

    Every format updates as you type, with nothing to select or press

  3. 3
    Copy the result

    Select Copy next to a format and paste it into your code, sheet or document

Conversion rules

  • How words are split

    Spaces, - _ . / and other punctuation separate words. A switch from lower to upper case starts a new word, and a run of capitals is read as an acronym: XMLHttpRequest → xml_http_request, getHTTPResponse → get_http_response. Digits stay with the word before them, so version2Beta → version2_beta. Chinese characters are kept as they are, and apostrophes are dropped (don't → dont)

  • Title Case and Sentence case

    Title Case capitalizes the first letter of every word, small words like a, of and the included, and lowercases the rest. Sentence case capitalizes only the first letter of each sentence and each line. Fix acronyms and proper nouns such as NASA or iPhone by hand

  • Convert many names at once

    Naming formats work line by line and keep blank lines, so you can paste a whole column back into code or a sheet. Case formats convert the text as a whole and keep its line breaks