How to Use Keep Duplicate Lines: Steps and a Worked Example
Show only the lines that appear more than once. This guide shows what to enter, a worked example, and the limits to keep in mind. The Keep Duplicate Lines tool is free, needs no account and runs in your browser.
What you need
- Lines
Step by step
- Open the Keep Duplicate Lines tool.
- Fill in Lines.
- Read the result, which updates as soon as the inputs change.
Worked example
the tool returns:
apple
banana
How it works
Paste a list. Every line that repeats is listed once.
Things to keep in mind
Check your inputs, units and any local rules before you rely on the result.
Related tools
If this is not quite what you need, try Remove Duplicate Lines, Keep Unique Lines or Collapse Multiple Blank Lines.