Text tool
Remove Duplicate Lines
Clean lists and text by removing repeated lines, trimming whitespace, deleting blank lines, and sorting the result.
Your text is processed locally in your browser.
How duplicate line removal works
Paste a list or block of text into the input box. Xepoca keeps the first occurrence of each line and removes any matching lines that appear later.
You can trim spaces, remove blank lines, compare text with or without case sensitivity, and keep the original order or sort the final list alphabetically.
The statistics show how many lines were provided, how many unique lines remain, and how many lines were removed.
Common uses
Email lists
Remove repeated addresses from subscriber, outreach, or contact lists.
Keyword cleanup
Create a unique list of keywords, tags, search terms, or product names.
Log analysis
Reduce repeated messages and make recurring entries easier to inspect.
Data preparation
Clean copied spreadsheet columns, IDs, URLs, and other one-item-per-line data.
Frequently Asked Questions
Which duplicate line is kept?+
The first occurrence is kept. Later matching lines are removed.
Can matching ignore uppercase and lowercase letters?+
Yes. Leave case-sensitive matching turned off to treat Apple, APPLE, and apple as the same value.
Does trimming change my text?+
When enabled, trimming removes whitespace from the beginning and end of each line before duplicate comparison.
Can I preserve the original order?+
Yes. Choose Keep original order in the sorting menu.
Is my text stored?+
No. All processing happens locally in your browser.