./prontouso.com
VĂN BẢN & VIẾT LÁCH

So Sánh Hai Danh Sách

So sánh hai danh sách văn bản để tìm các mục xuất hiện ở cả hai danh sách (phần giao), các mục chỉ có ở danh sách A hoặc chỉ có ở danh sách B (phần bù) và loại bỏ trùng lặp.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

In both lists (2)

Only in A (1)

Only in B (1)

Comparison is line by line. Empty lines are ignored.

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

So Sánh Hai Danh Sách là gì?

Paste two lists, one item per line, to see what's common to both and what's unique to each.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How to compare two lists

How comparison works

Each list is treated as a set: item order and repeated lines don't affect the result. Empty lines are ignored.

Common uses

  • Compare two exported lists of usernames, emails, or IDs.
  • Check what changed between two versions of a list.

Limitations

Comparison is exact, item by item — it won't catch near-matches like extra whitespace inside an item or minor typos between otherwise-similar entries.

Calculation notes

All comparison runs in your browser; the lists you paste are never sent anywhere.

Các Câu Hỏi Thường Gặp (FAQ)

Does it care about uppercase and lowercase?

By default, yes — "Apple" and "apple" are treated as different items. Turn on case-insensitive comparison to treat them as the same.

What happens to duplicate lines within one list?

They're treated as a single item, since each list is compared as a set.

Can I compare more than two lists at once?

Not directly — compare two at a time, or run the tool again using one list's "only in A"/"only in B" output as a new input.

Does it preserve original casing?

Yes. Even in case-insensitive mode, the output uses the first original line seen in each list.

Công Cụ Liên Quan