File Compare (Diff)
The online alternative to WinMerge and other desktop comparers: paste two texts or drop two files and see the differences side by side, with lines aligned and the exact change highlighted inside each line. Step through differences, copy blocks from one side to the other until everything is resolved, and export the result — or the diff as a patch file. Nothing to install, and your files never reach any server.
Comparison workspace
Differences will appear aligned, line by line.
Original (left)
0 lines
Modified (right)
0 lines
The comparison happens in your browser — files never leave your device.
Fill in both sides to compare.
Side by side, with aligned lines
Both panes always show the same number of lines: where one side has something the other lacks, a visual gap is inserted — so matching parts stay at the same height and comparing becomes reading, not hunting. Removed lines show in red, added in green and modified in amber, with the exact changed fragment marked inside the line.
On the side, a minimap shows where every difference sits in the whole file — click anywhere on it to jump straight there, just like the good desktop comparers.
Merge: resolve differences without leaving the screen
Every difference block has arrows to copy that chunk to the left or to the right. Resolve block by block (with undo if you change your mind) until the tool reports both sides are identical. You can also copy everything to one side at once, or swap sides.
Real comparison options
Ignore case, whitespace (leading/trailing or all of it) and blank lines — essential when comparing reformatted code, system exports or configs that only changed indentation. Ignored differences show dimmed and stay out of the count.
Export the result or the patch
Download either side as a file, copy it to the clipboard, or generate a unified diff (.patch) — the same format used by version control tools, ready to attach to a ticket or review with your team.
Works where desktop tools can't
Because it runs in the browser, it works on any system — Windows, Mac, Linux and even your phone, where the unified view (single column, code-review style) keeps reading comfortable. And since processing is local, your files never leave your device: nothing is uploaded.
How to use
Paste text or drop a file on each side and click "Compare". Use the toolbar arrows (or Alt+↑/Alt+↓) to move between differences, and the small arrows between the panes to copy a block to the other side. Adjust the comparison options if you need to ignore whitespace or case. When done, export whichever side you want, or the patch with the changes.
Frequently asked questions
Are my files uploaded to any server?
No. The whole comparison happens in your browser — files never leave your device, and nothing is stored when you close the page.
Is this a WinMerge alternative?
Yes, for comparing and merging two text files — which is most people's daily use. The advantage is running on any system with nothing to install, including your phone. Folder comparison and three-way merge remain desktop-app territory.
What file types can I compare?
Any text file: source code, JSON, XML, CSV, logs, configs, SQL, lists. Binary files (images, .xlsx spreadsheets, PDFs) are not supported.
Is there a size limit?
No hard limit, but above ~20k lines rendering may get slow depending on your machine. For huge files, prefer comparing the relevant sections.
What is the patch format?
It is the standard diff format (unified diff) used by version control tools: removed lines prefixed with "-", added lines with "+", plus a few context lines. Useful to document changes or apply them elsewhere.
Can I ignore whitespace or indentation differences?
Yes. The options let you ignore leading/trailing whitespace, all whitespace, letter case and blank lines — the difference count only considers what remains.
Related tools
Task Kanban Board
Visual task board with per-ticket history and standup summary.
OpenJSON Formatter & Validator
Format, minify and validate large data payloads instantly.
OpenStrong Password Generator
Create secure and impenetrable random passwords in seconds.
OpenBase64 Converter (Encode/Decode)
Encode or decode texts and strings to Base64 format instantly.
Open