Code compare

Paste two versions of a file to see exactly which lines and words changed.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

Differences

Paste code in both boxes to see the differences.

How it works

  1. Paste both versions

    Paste the original on the left and the changed version on the right, or open two files from your device.

  2. Read the differences

    Added, removed and changed lines are marked with their line numbers, and the exact words that changed are highlighted.

  3. Share the result

    Copy or download the changes as a unified diff, the format used by Git and code review tools.

Frequently asked questions

Is my code uploaded to compare it?

No. The comparison runs in your browser, so source code, configuration files and credentials they might contain stay on your device.

What does “Ignore whitespace” do?

It treats lines as equal when they only differ in spaces, tabs or indentation. It’s useful after reformatting code, when only the indentation changed.

What is a unified diff?

It’s the standard text format for changes: removed lines start with -, added lines with +, and each group of changes shows a few lines of context. Git, patch and most code review tools can read it.

Can I compare any language?

Yes. The comparison works line by line on plain text, so it works for any programming language, JSON, YAML, CSV, SQL or configuration file.

How large can the files be?

Files with tens of thousands of lines compare in a moment. Long unchanged sections are folded, and you can expand them whenever you need the full context.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.