See What Changed Between Two Text Files

TL;DR: Text Compare is a free online tool that shows the differences between two text or code files — side by side or unified, changed words highlighted — right in your browser, no signup, nothing uploaded or transferred.For code, configs, logs, or any two versions of the same file.

Start Comparing Text…
Screenshot of Text Compare
Christopher Atlan

Creato da Christopher Atlan presso Leitmotif GmbH. Costruisce strumenti di confronto file dal 2020, e software da oltre 18 anni. diff.tools è un'idea: uno strumento dedicato per ogni formato, con risultati che puoi passare da uno strumento all'altro.

A quick tour

  1. A diff you can actually read

    Side by side or unified, with syntax highlighting and the changed words marked inside changed lines. Unchanged sections collapse out of the way, and previous/next buttons walk you through the changes one by one.

    Two versions of a TypeScript file side by side: added lines green, removed lines red, changed words highlighted within lines
  2. It reads formats, not just characters

    Config files rarely differ where it matters — they differ in formatting, key order, and comments. JSON, JSONC, JSON5, YAML, TOML, and XML are normalized before comparing, and binary plists become readable text, so the diff below shows the one real change between a commented JSONC file and its minified export. A toggle brings back the files exactly as they are.

    A JSONC file and a minified JSON file compared as processed text: formatting and comments normalized away, only the real value change remains, with a Processed | Original toggle in the toolbar
  3. Share it, or hand it off

    A comparison survives a reload and can be shared as a link. And when a file turns out not to be text at all, one click hands the pair to Hex Compare for a byte-level look.

How to compare two text files?

  1. Open the free text comparison tool — it runs in any current browser, on your device, no signup.

  2. Click Choose Text A and pick the first file, then Choose Text B for the other one.

  3. Read the diff side by side or unified, and jump from change to change. If a file is a config format, it's normalized first so you only see real changes.

Frequently asked questions

  1. Does it work for code?

    Yes. Syntax highlighting, line numbers, and collapsible unchanged sections — the diff reads like your editor.

  2. Can it compare JSON, YAML, or plist files?

    Yes, and smarter than character by character: binary plists become readable text, and JSON, JSONC, JSON5, YAML, TOML, and XML are normalized (formatting, key order, comments) so the diff shows real changes, not noise. A toggle switches back to the files exactly as they are.

  3. Are my files uploaded?

    No. The comparison runs entirely in your browser; file contents never leave your device.

  4. Can it edit or merge the files?

    No — it shows differences, it doesn’t change files. Editing is on the roadmap.

  5. Which browsers are supported?

    Any current browser — Chrome, Edge, Firefox, and Safari all work.

Requirements

Any current browser.

Privacy e Trattamento dei Dati

La privacy e la sicurezza non sono solo qualcosa che dovresti sperare - sono qualcosa che dovresti pretendere. I browser moderni ci permettono di elaborare tutto direttamente sul tuo dispositivo, il che significa che non carichiamo, trasferiamo o condividiamo mai i tuoi file.

I tuoi file rimangono completamente privati. Tutti i confronti avvengono localmente nel tuo browser. I tuoi dati restano affar tuo.

LeitmotifChristopher Atlan
+2

Il team dietro lo strumento

Siamo Leitmotif, una piccola azienda delle Alpi: Carinzia (Austria) e Baviera (Germania). Il confronto di file è il nostro pane quotidiano: creiamo Kaleidoscope, l'app di diff per Mac, e diff.tools porta quell'esperienza nel browser.

Crediamo che gli strumenti professionali debbano essere belli da vedere e divertenti da usare, dandoti al tempo stesso tutta la potenza che ti serve per fare il tuo lavoro. E rispettiamo troppo i tuoi file per caricarli mai da qualche parte: qui tutto gira sulla tua macchina.

Feedback

We're constantly improving our free online text comparison to make it faster and more accurate. Share your feedback and help us understand what kind of files you compare.

Condividi questa pagina

FacebookLinkedInRedditLINETelegramWhatsApp