File Diff
Free Local ProcessingFree online file diff tool that compares two text files line by line using the longest common subsequence (LCS) algorithm, clearly marking added and deleted lines. Supports ignore-case and ignore leading/trailing whitespace. All processing happens in your browser, files never uploaded, privacy-safe.
Drag files here, or
Up to 2, max each 100.0 MB
Options
How to Use
- 1 Select two text files to compare (supports txt/md/json/js/ts/css/html)
- 2 Optional: check "Ignore case" or "Ignore leading/trailing whitespace" to focus on real changes
- 3 Click "Start Compare" button to view the diff report
FAQ
Q: Are files uploaded to the server?
No. Both files are compared in your browser. Files never leave your device.
Q: Which file types are supported?
Supports plain text files like txt, md, json, js, ts, css, html. Binary files (images, PDFs) are not supported.
Related Guides
- File Diff
Compare two text files or pastes line by line to see exactly what changed.
Next Useful Tools
Related Tools
Text Diff
Compare two pieces of text and mark added and deleted lines
File Hash Checker
Compute file hashes online (SHA-1/SHA-256/SHA-384/SHA-512)
File to Base64
Convert files to Base64 encoding or Data URL online
ZIP Extract
Extract ZIP files online and download all files
Need batch processing or AI enhancement?
Try DocsAll Document OS — upload documents, AI summarize + Workflow automation.