So sánh khác biệt
So sánh hai file văn bản cạnh nhau và tô sáng sự khác biệt
Diff Checker — Compare Two Texts Online
Paste two pieces of text to instantly see what changed — added lines, removed lines, and modifications are highlighted side by side. Useful for comparing code versions, documents, and config files.
FAQ
What is a diff?
A diff (from 'difference') is a comparison between two versions of text that shows exactly what was added, removed, or changed.
How is diff different from text compare?
They're the same thing. 'Diff' is the technical term (from the Unix diff command) while 'text compare' is the plain-English description.
Can I compare code files?
Yes — paste any code, config, JSON, or plain text. The tool highlights differences at the line level.
Tiếp tục khám phá
Công cụ Công cụ Developer khác bạn có thể thích…
Định dạng JSON
Định dạng, kiểm tra và nén JSON với tô sáng cú pháp và phát hiện lỗi
Mã hóa/Giải mã Base64
Mã hóa văn bản hoặc file sang Base64 và giải mã chuỗi Base64 thành văn bản
Mã hóa/Giải mã URL
Mã hóa và giải mã thành phần URL và tham số query string
Tạo UUID
Tạo UUID ngẫu nhiên (v1, v4) hoặc tạo hàng loạt nhiều UUID cùng lúc
Tạo Hash
Tạo hash MD5, SHA-1, SHA-256, SHA-512 từ văn bản hoặc file
Kiểm tra Regex
Kiểm tra biểu thức chính quy với tô sáng khớp thời gian thực và trích xuất nhóm
Giải mã JWT
Giải mã và kiểm tra JSON Web Token — xem header, payload và xác minh chữ ký
Định dạng HTML
Định dạng và làm đẹp mã HTML với thụt lề đúng và tô sáng cú pháp