OnlineNotes Logo

    Case Converter

    Convert text across seven case styles for writing, code labels, URLs, and publishing workflows.

    Input

    Output

    Characters

    0

    Words

    0

    Lines

    0

    When to use this tool

    Use this case converter when reformatting blog titles, heading styles, variable names, and slug candidates.

    It helps teams standardize text formatting quickly without manual editing.

    Frequently asked questions

    Which case formats are included?

    The converter includes uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case.

    Can I convert multiline text?

    Yes. Paste paragraphs, lists, or code labels and switch output formats instantly.

    Does this case converter run locally?

    Yes. Conversion runs in your browser and no text is uploaded.

    Related tools

    Case converter online for content formatting and code naming standards

    Use this case converter online to switch text between UPPERCASE, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case.

    Upper, lower, and sentence modes keep your lines and punctuation, so they suit whole paragraphs. The other four rebuild the text from its words, so they suit a heading, a label, or a variable name.

    How it works

    1. Type or paste text and press a mode button. The conversion runs on each change and the default mode is UPPERCASE.
    2. For title case and the code styles, the tool first splits words at spaces, underscores, hyphens, and lowercase-to-uppercase changes, so "orderCount" becomes two words. Other punctuation counts as a space, but an apostrophe inside a word stays.
    3. Title case capitalizes each word and keeps these short words lowercase unless first: a, an, and, as, at, for, in, of, on, or, the, to. Sentence case lowercases everything, then capitalizes the first letter and each letter after . ! or ?
    4. Counters show characters, words, and lines of the output. Use output as input lets you chain conversions.

    Worked example

    Input

    total orderCount_by-region

    Output

    Title Case: Total Order Count By Region
    Sentence: Total ordercount_by-region
    camelCase: totalOrderCountByRegion
    snake_case: total_order_count_by_region
    kebab-case: total-order-count-by-region

    The tool shows one mode at a time: these are five separate runs. Sentence mode does not split words, so the underscore and hyphen stay and "orderCount" is lowercased. Upper and lower modes also leave the underscore and hyphen in place.

    Edge cases and limits

    • Title case and the three code styles work line by line and remove punctuation except apostrophes in words. The code styles drop those too, so "don't stop" gives dont_stop in snake_case.
    • Accented letters and other scripts are kept in every mode: "café menu" becomes "Café Menu". Scripts with no capital letters, such as Hindi or Chinese, do not change case.
    • Sentence case lowercases acronyms and the word I: "i met NASA. then left" becomes "I met nasa. Then left". A new line with no end mark before it is not capitalized.
    • Runs of capitals are not split: "HTMLParser" is one word, so it becomes "htmlparser" in camelCase. Title case does not know proper names or house style rules beyond the short word list.

    When to use it

    • Change one heading to title case or sentence case.
    • Turn a label into a camelCase or snake_case name for code.
    • Fix text that was typed with caps lock on.
    • Make a kebab-case string for a route or file name.