Skip to main content

Text Lab

Sort & dedupe lines

Sort lines, remove duplicates and drop empty lines.

  1. 1Fill in the values
  2. 2Click Run
  3. 3See results instantly

Limits

  • A to Z order follows your browser's default locale.
  • Duplicates must match the whole line exactly (apart from case when the case option is off).

Ask the AI chat

The AI chat can run this tool for you. Try:

  • “sort lines: b a c”
  • “remove duplicate lines: a a b”