Skip to content
utilhex

Remove Duplicate Lines

Runs in your browserFree · No sign-up

Delete repeated lines from any list or text and keep the first or last copy, with an option to ignore case. Shows how many duplicates were removed.

About Remove Duplicate Lines

Paste a list with repeats and every line after its first appearance is removed, in place, without changing the order of the rest. Turn on Ignore case to treat “Apple” and “apple” as the same, or keep the last copy instead of the first. The summary tells you exactly how many duplicates were removed.

How to use Remove Duplicate Lines

  1. Paste your text or list.
  2. The right option is already on. Add other steps if you need them.
  3. Check the summary of what changed.
  4. Copy the result or download it as .txt.

Examples

Mailing list

Paste 2,000 addresses gathered from several sheets and get the unique ones back in the original order.

Limitations

  • Works on plain text; formatting isn't kept.

Privacy

This tool processes everything locally in your browser tab. Your input is not uploaded to Utilhex or any third party, and it is discarded when you close or reload the page. Read the privacy policy for details.

Frequently asked questions

Is my text uploaded?

No. Everything happens in your browser as you type. The text isn't uploaded, stored, or logged, and the tool works offline once the page has loaded.

Can I combine this with other clean-ups?

Yes. All the Text Cleaner steps are on the same page. Turn on any others and they run together, in the order shown under the panes.