Skip to main content

Line Tools

Clean up line-based text in one pass: remove duplicates, drop empty lines, sort, add line numbers, and more.

  • Runs in your browser
  • No sign-in needed

Text and clean-up options

Operations to apply

Result

Enter text and press [Apply] — the cleaned-up text appears here.

How to use Line Tools

When to use

Use to tidy a list copied from Excel or a chat - remove blank and duplicate lines, sort it, or number it. Everything runs in your browser, so the text is never sent to a server.

What to input

Paste one item per line and choose trim whitespace and remove empty lines (on by default), remove duplicates, flip line order, add line numbers, and sorting (none, A → Z, or Z → A). Steps run in a fixed order: trim, empty lines, duplicates, sort, flip, numbers.

Usage example

e.g. Five lines "Seoul / Busan / (blank) / Seoul / Daegu" with duplicates removed, A → Z sort, and numbering become "1. Busan / 2. Daegu / 3. Seoul", shown as Lines: 5 → 3.

Things to check

Only lines that match exactly are treated as duplicates, and letter case counts. Sorting is by characters, so a line starting with "10" comes before one starting with "2".

Related tools

  • Compare two lists line by line to find common items and items unique to each side.

    No sign-in neededRuns in your browser

  • Clean up whitespace — trim edges, remove all spaces, or collapse repeated spaces.

    No sign-in neededRuns in your browser

  • Find and replace patterns in bulk text, with regex and case-sensitivity options.

    No sign-in neededRuns in your browser

Your input is processed only in this browser and is never sent to a server.