Character Compare
Precise character-by-character difference comparison
Loading...
Free online text difference comparison tool supporting character-by-character, line-by-line, and paragraph-by-paragraph comparison. Features difference highlighting, statistical analysis, side-by-side view and more. Completely free to use.
Precise character-by-character difference comparison
Compare text content differences line by line
Compare large text blocks paragraph by paragraph
Color highlight marking for added and deleted content
Detailed difference statistics and analysis reports
Display two text versions side by side
Support for fast comparison of large files
Enter text content to compare in the left and right text areas
Choose comparison mode and display options, set ignore conditions
View highlighted difference results and statistical analysis
使用 Myers diff 演算法,這是 Git、GNU diff 等工具採用的主流差異比較演算法,效能佳且結果直觀。
支援。工具可比較任何純文字,包含程式碼、HTML、JSON、Markdown 等。不過目前不支援語法高亮,純以文字行為單位比較差異。
綠色背景(+ 號)代表在第二個文字中新增的內容,紅色背景(- 號)代表被刪除的內容,無標記代表兩邊相同。
可以,但過長的文字(數萬行以上)可能造成瀏覽器執行較慢。建議對超長文件分段比較。