MakeMyTxt
All tools

Case Converter

Type or paste text and copy any of the 9 converted case styles.

prose · for writing

UPPERCASE · lowercase · Title Case · Sentence case

identifiers · for code

camelCase · PascalCase · snake_case · kebab-case · CONSTANT_CASE

How to convert between case styles with MakeMyTxt

Paste text once and get UPPERCASE, lowercase, camelCase, snake_case, kebab-case, and five more styles at the same time.

  1. Open the Case Converter

    Visit makemytxt.com/case-converter to load the tool.

  2. Paste your source text

    Drop any string into the textarea — a variable name, a filename, a headline, even a full sentence.

  3. Read the nine case outputs

    UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE are all computed at once.

  4. Copy the style you need

    Each output row has its own Copy button. Click the style that matches your language or framework and paste it into your editor.

Frequently asked questions

Which case style should I use for filenames?
For URLs and static site filenames, kebab-case (like "my-file-name") is the most common. For JavaScript module filenames camelCase or kebab-case are both used; for Python and Go, snake_case is the convention.
How does it handle punctuation, numbers, and accents?
Programmatic styles (camel, Pascal, snake, kebab, constant) split on whitespace, hyphens, and underscores, and keep numbers intact. Punctuation is dropped so the output is a valid identifier. Accented letters fold to their closest ASCII form — "Große Straße" becomes "grosse_strasse" and "élément" becomes "element" — while the four prose styles (UPPERCASE, lowercase, Title Case, Sentence case) leave your text exactly as written. Scripts with no ASCII equivalent, such as Japanese or Cyrillic, are kept rather than removed.
Does Title Case capitalize small words?
Title Case here capitalizes the first letter of every word for simplicity. It does not apply AP or Chicago style rules for small words like "of" and "the" — copy the output and adjust by hand if you need strict editorial style.
Can I convert back from camelCase to normal text?
Yes. Paste "myVariableName" and the tool will split it into words and render it as Title Case, Sentence case, snake_case, etc. The splitter recognizes camel and Pascal case boundaries.

Related tools