Remove duplicate lines

Remove repeated lines while keeping first occurrences, then apply 1. 2. 3. numbering.

Input text

Remove duplicate lines Sort lines A-Z Remove duplicate lines

Output text

Remove duplicate lines
Remove duplicate lines Sort lines A-Z
Text Reverser & Line Reorder Tool

What each text transformation does

The tool keeps the first occurrence of each line key and preserves the relative order of kept lines. You can also trim whitespace and ignore case when comparing.

All transformations run locally in your browser. No text is sent to a backend service.