Remove duplicate lines
Remove repeated lines while preserving the first occurrence.
Enable JavaScript to use the interactive tool. Your inputs are processed in your browser.
How to use this tool
Enter lines, choose whether to ignore case or surrounding spaces, and select Remove duplicates.
Related tools
- Text diff
See what changed between two texts.
- Character / word counter
Count words, characters, lines and bytes.
- Case converter
Change casing, from sentence to snake_case.
- Markdown previewer
Write Markdown and preview it safely.
- Sort lines
Sort text alphabetically or numerically.
- Whitespace cleaner
Trim spaces and tidy blank lines.
- Slug generator
Make a readable URL slug from text.