Monu Tools

Xóa dòng trùng lặp

Xóa các dòng trùng lặp khỏi danh sách hoặc văn bản, với tùy chọn bỏ qua hoa thường, cắt khoảng trắng và sắp xếp.

Cách dùng Xóa trùng lặp

  1. 01

    Dán các dòng hoặc danh sách của bạn.

  2. 02

    Chọn xem có bỏ qua hoa thường, cắt khoảng trắng, xóa dòng trống hay sắp xếp.

  3. 03

    Sao chép kết quả đã loại trùng.

What it does

This tool removes duplicate lines from any list or block of text. By default it keeps the first occurrence of each line in its original position and drops the later repeats, so the order you had is preserved.

It is the quick fix for messy lists: deduplicating an email or address list, cleaning an export, collapsing repeated log lines, or tidying a keyword list where the same term crept in several times.

The processing happens entirely in your browser, so even long lists are handled instantly and nothing you paste is uploaded.

How matching works

Matching is exact by default, comparing the whole line character for character. That makes it predictable: two lines count as duplicates only if they are truly identical, unless you loosen the rules with the options below.

Options you can combine

Trim ignores leading and trailing spaces, turning off case-sensitivity treats "Apple" and "apple" as the same line, and you can drop empty lines so blank rows do not survive.

You can also sort the result alphabetically if order does not matter and you would rather have a clean, sorted list than the original sequence.

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

Nó có giữ thứ tự ban đầu không?

Có. Lần xuất hiện đầu tiên của mỗi dòng được giữ ở vị trí ban đầu, trừ khi bạn bật sắp xếp.

Các bản trùng được khớp như thế nào?

Các dòng được so sánh chính xác theo mặc định. Bật cắt khoảng trắng để bỏ qua dấu cách đầu và cuối, và tắt phân biệt hoa thường để coi "Apple" và "apple" là như nhau.

Dữ liệu của tôi có riêng tư không?

Có. Việc xử lý diễn ra hoàn toàn trong trình duyệt của bạn; không gì được tải lên.

Nhúng công cụ này

Thêm công cụ này vào trang web của riêng bạn. Sao chép đoạn mã bên dưới; nó tự động cập nhật.

<iframe src="https://monu.tools/embed/vi/remove-duplicate-lines" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Công cụ liên quan