Compare Text
Put two texts side by side and see exactly which lines were added, removed or changed.
Giới thiệu Compare Text
Paste the old text on the left and the new one on the right, and every line that changed is marked: green where something was added, red where it was taken away, with line numbers from both sides so you can find it in the real file. It works out the longest run of lines the two have in common, which is what tells a line that moved from a line that was rewritten, so a small edit in a long document shows as a small edit. You can ignore extra spaces, and ignore upper and lower case, which is usually what you want when comparing writing rather than code. It runs inside your browser, so nothing is uploaded and nothing is stored.
Công cụ này chạy ngay trong trình duyệt của bạn, nên tệp không bao giờ rời khỏi thiết bị.
Cách dùng Compare Text
- Paste the first text on the left.
- Paste the second on the right.
- Read the marked lines: green was added, red was removed.
Câu hỏi
How do I compare two texts?
Paste one into each box. The comparison appears below as you type, with the changed lines marked.
Can I compare two files?
Open each file, copy what is in it and paste it in. Anything that is text works: writing, code, a list, a configuration file.
Does it compare word by word?
It compares line by line, which is how a changed line is found. For a paragraph written as one long line, put a line break at each sentence first and the comparison becomes much easier to read.
Is there a size limit?
Very large texts are handled, though a comparison of two enormous files with nothing in common falls back to showing one as removed and the other as added.
Is anything uploaded?
No. The tool runs inside your browser, so what you paste or add stays on your device.
Công cụ liên quan
- Delimiter Tool – Turn a column of lines into one delimited line, with quotes and brackets if you want.
- Slugify – Turn a title into a clean URL slug. Accents, symbols and spaces are all handled.
- CSS Minifier – Make a CSS file smaller by removing comments and spaces, without breaking it.
- Image to Text Ratio Checker – See how much of a page is real text, how many pictures it has, and which have no alt text.
- Định dạng & kiểm tra JSON – Làm đẹp, rút gọn và kiểm tra JSON. Chỉ ra chính xác dòng và cột của mọi lỗi.
- Đếm từ & ký tự – Đếm từ, ký tự, câu và đoạn văn, kèm thời gian đọc và các từ khóa nổi bật.
- Đổi kiểu chữ hoa thường – Đổi văn bản sang CHỮ HOA, chữ thường, Viết Hoa Mỗi Từ, Viết hoa đầu câu, camelCase, snake_case và nhiều kiểu khác.
- Tạo mật khẩu – Tạo mật khẩu ngẫu nhiên mạnh. Chọn độ dài và ký tự, và xem mật khẩu mạnh đến đâu.