RevealTheme logo

Comparatore di testo (diff)

Confronta due blocchi di testo riga per riga. Visualizza aggiunte, eliminazioni e righe invariate con codici colore.

Come usare questo strumento

  1. 1

    Paste or type the original version into the left textarea labeled Original.

  2. 2

    Paste or type the changed version into the right textarea labeled Modified.

  3. 3

    Read the result panel below: lines prefixed with a minus and shown in red were removed, lines prefixed with a plus and shown in green were added, and lines prefixed with an equals sign are unchanged.

  4. 4

    Edit either box to refine your input; the diff recomputes instantly as you type.

Che cos'è il comparatore di testo (diff)?

Gli strumenti di confronto (diff) confrontano due versioni di un testo ed evidenziano ciò che è cambiato. Sono utili per confrontare file di configurazione, contratti, revisioni di codice o due versioni qualsiasi di un documento. Questo strumento viene eseguito interamente nel suo browser: nessun dato viene caricato.

Casi d'uso comuni

  • Spot which keys changed between two versions of a .env or config file pasted side by side.

  • Compare two revisions of a short paragraph or email draft before sending the edited version.

  • Check what a teammate altered in a snippet they pasted into chat versus your local copy.

  • Verify that a find-and-replace did exactly what you intended across a block of text.

  • Review line-level differences between two SQL queries or log excerpts of similar length.

  • Confirm two lists (allowlists, redirect rules, CSV rows) are identical or see exactly where they diverge.

Domande frequenti

Confronto a livello di parola?
Questo confronto è a livello di riga. Per l'evidenziazione a livello di parola, usi uno strumento dedicato come Meld o VS Code.

Strumenti correlati