Skip to main content
Z

Deduplicate Lines — Remove Duplicate Lines & Keep Unique Text

Remove duplicate lines from a list. Case-sensitive toggle, trim before compare, keep first or last, optional sort.

Miễn phí Không cần đăng ký Chạy trên trình duyệt Tôn trọng riêng tư Updated

Cách dùng

  1. 1 Paste a list with one item per line.
  2. 2 Tune the comparison: case-sensitive, trim whitespace before compare, keep first or last duplicate.
  3. 3 Optional: sort output alphabetically.
  4. 4 Copy the deduped list.

Vì sao dùng công cụ này

  • Original order preserved by default — no surprise sort.
  • Case-insensitive option folds Apple, apple, APPLE into one entry.
  • Trim option ignores leading and trailing whitespace differences.
  • Counter shows exactly how many lines were removed.

Câu hỏi thường gặp

Are blank lines treated as duplicates?

Yes — multiple empty lines collapse to one. If trim is on, lines that are just whitespace also fold together.

What does Keep last do?

Default Keep first drops every duplicate after the initial occurrence. Keep last drops earlier occurrences and keeps the final position — useful when later entries have more recent data.

How is the comparison done with case-insensitive?

Lines are lowercased only for the lookup key; the output preserves the original casing of the kept line.

Related tools?

Use Sort Lines to also sort the result by length or numeric value, or Filter Lines to keep only lines matching a pattern.

Deduplicate Lines là gì?

A Deduplicate Lines is a tool that removes duplicate lines from a list of text. It runs in the browser and offers a case-sensitivity toggle, an option to trim each line before comparing, a choice to keep the first or last occurrence of each duplicate, and optional sorting of the result.

Tóm tắt

Deduplicate Lines là công cụ sáng tạo miễn phí của Zerethon Tools. Remove duplicate lines from a list. Case-sensitive toggle, trim before compare, keep first or last, optional sort. Chạy hoàn toàn trong trình duyệt — không đăng ký, không tải lên.

Danh mục
Sáng tạo
Giá
Miễn phí
Quyền riêng tư
Chạy trên trình duyệt
Đăng ký
Không cần

Quyền riêng tư

Dữ liệu của bạn không bao giờ rời khỏi trình duyệt trừ khi được nêu rõ. Deduplicate Lines chạy hoàn toàn phía client — không tải lên máy chủ, không ghi log, không theo dõi dữ liệu bạn nhập.

Công cụ liên quan

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Sign up free