File Diff

This page takes two files as they are without asking what kind they are meant to be, and compares their text — which is the case you need when an upload is rejected and nothing looks different on screen. Read the result side by side, or as one unified list of changed lines when you intend to paste it somewhere.

File A
Lines: 0
Type: None

Drop file here or click to upload

Supports text files up to 1024MB

File B
Lines: 0
Type: None

Drop file here or click to upload

Supports text files up to 1024MB

Os arquivos não saem do seu dispositivo. Privacidade e limites
Embed tool Add this tool to your website Get embed code

Add this comparison tool to a related page with a visible FileCompare source link.

Perguntas frequentes sobre calculadoras online

Can I compare binary files?

No. The comparison reads text, so a ZIP, an image or a compiled file has no line structure worth diffing and its result carries no meaning. Two files that share a text format is what this is for.

Why choose unified over side by side?

Side by side is easier to read while both files hold a lot of context; unified is shorter and pastes cleanly into a ticket or a review comment because each change is one block.

Will my original file be changed?

The result is downloaded as a separate file. Keep your original until you have checked the Side-by-side or unified file diff.

What should I check before using the result?

Open the Side-by-side or unified file diff in the application that consumes it and spot-check the parts that matter to you; the original file stays untouched if you need to re-run with different options.

Is File Diff free?

Yes. This tool is free with no trial limit, subscription, or watermark. Use it for personal and commercial projects without an account.

Are my files uploaded to your servers?

Comparison runs locally in your browser for supported formats. Your files and text stay on your device and are not stored on FileCompare servers.