Remove Duplicate Lines
Delete repeated lines from a list while keeping the first occurrence and original order, with options to ignore case and surrounding spaces.
Runs on your device
Result
Results appear here as you type.
What it does
Clean keyword lists, email lists or log extracts. The first copy of each line is kept and the rest are removed, so the order of your list is preserved.
How to use it
- Paste one item per line.
- Choose whether case and spacing matter.
- Copy the cleaned list.
Example
The example fills in realistic values and runs the tool. Select Try an example above to see it.
When it helps
- Deduplicating keyword research.
- Cleaning copied spreadsheet columns.
- Removing repeated log lines.
Questions
Is the order changed?
No. Lines stay in their original order; only later duplicates are removed.
What does "ignore case" do?
It treats "Lahore" and "lahore" as the same line and keeps whichever comes first.
More text & writing tools
See all 20- Lorem Ipsum Generator Generate lorem ipsum placeholder text by paragraphs, sentences or words, optionally starting with the classic "Lorem ipsum dolor sit amet".
- Find and Replace Find and replace text in bulk with options for whole words, case insensitive matching and regular expressions with $1 capture references.
- Whitespace & Invisible Character Cleaner Trim lines, collapse repeated spaces, remove blank lines and strip invisible zero width and nonbreaking spaces from copied text.
- Readability Score Checker Measure how easy English text is to read with Flesch Reading Ease, Flesch Kincaid Grade, Gunning Fog and Coleman Liau scores.
- Word Frequency Counter List the most frequent words in a text with counts and percentages, optionally ignoring common English stop words. Export the table as CSV.
- Markdown to HTML Converter Convert GitHub flavoured Markdown (tables, task lists, fenced code) into clean HTML you can paste into a CMS or email template.
People also use
Browse all 200 tools- Number Base Converter Convert integers of any size between binary, octal, decimal, hexadecimal and base 36 using exact BigInt arithmetic. Developer
- Fraction Calculator Add, subtract, multiply and divide fractions, mixed numbers and decimals, with results simplified to lowest terms and shown as mixed numbers. Student & maths
- Spin the Wheel (Random Name Picker) Enter names or options, spin a colourful wheel and get a fair random winner. Remove winners between spins. Great for classrooms and giveaways. Quick utilities
- 401(k) Retirement Calculator Project your 401(k) balance at retirement with your contributions, employer match, salary growth and 2026 IRS contribution and catch up limits. Personal finance