FlinkTools

Change case

Change letter case, tidy spaces and line breaks, and sort or de-duplicate lines.

Processed on your device, never uploaded
Result
The cleaned-up text appears here.
Case
Clean up

What it does

Case and clean-up changes letter case and tidies text: extra spaces, empty lines, duplicates and sorting. It runs in your browser. It works as an uppercase converter, a lowercase converter and a title case tool, and it can write camelCase, snake_case and kebab-case for code. The clean-up steps remove extra spaces and empty lines, join lines, sort lines and remove duplicates.

How to use it

  1. 1Paste text.
  2. 2Pick a case and the clean-up steps.
  3. 3Copy the result.

Common uses

  • Turn a heading typed in capitals back into normal sentence case.
  • Convert lowercase text to uppercase for a form that wants capitals.
  • Turn a phrase into camelCase, snake_case or kebab-case for a variable, a file name or a URL.
  • Remove duplicate lines from a list of names or email addresses.
  • Sort a list of lines alphabetically.
  • Join text copied from a PDF with hard line breaks into one line.

Questions

What is snake_case?

Words joined with underscores, all lower case: like_this.

Does it keep my line breaks?

Yes, unless you turn on Join lines.

Is my text sent anywhere?

No.

How do I convert text to uppercase?

Paste the text, pick UPPER under Case and copy the result.

How do I change uppercase text to lowercase?

Pick lower. Title Case capitalises each word, and Sentence case capitalises the start of each sentence.

What is the difference between camelCase and kebab-case?

camelCase joins the words and capitalises each new word: myVariableName. kebab-case joins lower case words with hyphens: my-variable-name.

Can it remove duplicate lines?

Yes. Turn on Remove duplicates under Clean up. Sort lines puts the lines in alphabetical order.

AD320 × 100