A diff (difference) checker compares two versions of text and highlights additions, deletions, and changes. It is the same comparison operation used by Git, code review tools, and file merge utilities — but accessible directly in the browser without any setup, for any text content: code, documents, configuration files, or prose.
Line diff shows which entire lines were added, removed, or changed — the standard Git diff view. Word diff highlights individual changed words within each line, making it easier to spot edits in prose. Character diff highlights individual character changes — useful for catching small typos or formatting differences. This tool supports all three modes.
A standard text diff format with context lines and change markers: lines starting with + were added, lines starting with - were removed, and unmarked lines are context (unchanged). This format is read by patch utilities and code review systems.
No — this tool compares text files (string content). Binary files should be compared with binary diff tools like xxd or hex editors.
Yes — enable "Normalise line endings" to strip carriage returns before comparing. This prevents Windows CRLF files from appearing entirely changed when compared to Unix LF files.
Yes, but minified single-line files will show the entire line as changed if anything differs. Use the CSS Prettifier or a JS formatter on both files first, then compare the formatted versions for a readable diff.
See also the HTML Formatter, JSON Formatter, and CSS Prettifier for reformatting before comparing.