Quick Tools Online

Free Line Tools Online

Sort, deduplicate, reverse, and clean lines of text. Paste a list and sort it alphabetically, remove duplicate lines, reverse the order, or remove blank lines in one click.

Text lists are everywhere: log outputs, database exports, email lists, config values, and anything pasted from a terminal. Manually sorting, deduplicating, or rearranging lines is slow and error-prone. This tool applies common list operations to any block of text in a single click: sort alphabetically or reverse-alphabetically, remove duplicate lines, reverse the order of lines, remove blank lines, and trim leading and trailing whitespace from each line. Everything runs in your browser — your text never leaves the page.

Ad Space

Line Tools

0 lines
Ad Space

How to use this line tools

  1. Paste your text (one item per line) into the input box.
  2. Click the operation you want: Sort A→Z, Sort Z→A, Remove Duplicates, Reverse Order, Remove Empty Lines, or Trim Whitespace.
  3. The result appears in the output box.
  4. Click Copy to put the result on your clipboard.

Common use cases

  • Deduplicating a list of email addresses or usernames before importing them
  • Sorting a word list or tag list alphabetically for a configuration file
  • Reversing a chronological log output to read the most recent events first
  • Removing blank lines from a pasted CSV or config file
  • Cleaning up a list copied from a spreadsheet that has extra whitespace around values

Frequently asked questions

Is the sort case-sensitive?

The sort is case-sensitive, which means uppercase lines come before lowercase in alphabetical order. To sort case-insensitively, convert all lines to the same case first, then sort.

How does duplicate detection work?

Two lines are duplicates if they are exactly identical, including capitalization and whitespace. 'Apple' and 'apple' are not duplicates.

Can I sort numerically?

The tool sorts lexicographically (as text), so '10' comes before '9'. For numeric sorting, pad numbers with leading zeros first, or use a spreadsheet.

What counts as an empty line?

A line containing no characters at all, or only whitespace characters. Remove Empty Lines removes both fully empty lines and whitespace-only lines.

Ad Space

More Tools