Comparaison de texte
Texte d'origine A
Texte modifié B
Différences
Saisissez du texte dans les deux volets — la comparaison se met à jour en direct

Comparateur de Diff de Texte en ligne

Paste the two versions into the left and right panes and the page computes a line-level diff as you type, colour-coding added, removed and modified content. It suits two configs, two revisions of a file, two log excerpts, or a change someone sent you.

The comparison runs entirely in your browser; the text is never uploaded.

Features

How to use

  1. Paste the original text into "Original text A" on the left.
  2. Paste the updated text into "Compared text B" on the right.
  3. Choose unified view or side-by-side view above.
  4. Toggle "Case sensitive" and "Ignore whitespace" to suit the comparison.

FAQ

What do the colours in the result mean?

A green background marks added lines, a red background marks removed ones, and uncoloured lines are identical on both sides. Changed words within a line are highlighted more strongly so you can find them inside long lines.

Can it compare binary files?

No. This is a line-level text comparison; binary data needs a dedicated hexadecimal diff tool.

Will very large texts be slow?

The algorithm scales with the number of lines, and anything up to a few thousand lines is effectively instant. With tens of thousands of lines and very large differences the browser may briefly stutter, so it is worth trimming to the section you actually need to check.

Are the two texts I compare saved or uploaded?

No. The comparison runs entirely in your browser; the page contains no code that sends your text anywhere and writes no logs. It keeps working offline (the first load needs the network for page resources).

Related tools & reading

Commentaires

Ce site est uniquement frontal : pas de backend ni de compte. Les commentaires vont sur GitHub Issues, Discussions ou par e-mail.

Collez ceci dans l'issue ou l'e-mail pour m'aider à localiser le problème ; cela n'inclut rien de ce que vous avez saisi

Aussi :Voir les commentaires existants · Commentaires par e-mail (sans compte GitHub) :278975598@qq.com