Compare Text
Put two texts side by side and see exactly which lines were added, removed or changed.
À propos de Compare Text
Paste the old text on the left and the new one on the right, and every line that changed is marked: green where something was added, red where it was taken away, with line numbers from both sides so you can find it in the real file. It works out the longest run of lines the two have in common, which is what tells a line that moved from a line that was rewritten, so a small edit in a long document shows as a small edit. You can ignore extra spaces, and ignore upper and lower case, which is usually what you want when comparing writing rather than code. It runs inside your browser, so nothing is uploaded and nothing is stored.
Cet outil fonctionne dans votre navigateur : vos fichiers ne quittent jamais votre appareil.
Comment utiliser Compare Text
- Paste the first text on the left.
- Paste the second on the right.
- Read the marked lines: green was added, red was removed.
Questions
How do I compare two texts?
Paste one into each box. The comparison appears below as you type, with the changed lines marked.
Can I compare two files?
Open each file, copy what is in it and paste it in. Anything that is text works: writing, code, a list, a configuration file.
Does it compare word by word?
It compares line by line, which is how a changed line is found. For a paragraph written as one long line, put a line break at each sentence first and the comparison becomes much easier to read.
Is there a size limit?
Very large texts are handled, though a comparison of two enormous files with nothing in common falls back to showing one as removed and the other as added.
Is anything uploaded?
No. The tool runs inside your browser, so what you paste or add stays on your device.
Outils associés
- Delimiter Tool – Turn a column of lines into one delimited line, with quotes and brackets if you want.
- Slugify – Turn a title into a clean URL slug. Accents, symbols and spaces are all handled.
- CSS Minifier – Make a CSS file smaller by removing comments and spaces, without breaking it.
- Image to Text Ratio Checker – See how much of a page is real text, how many pictures it has, and which have no alt text.
- Formateur et validateur JSON – Mettez en forme, minifiez et validez du JSON. Indique la ligne et la colonne exactes de chaque erreur.
- Compteur de mots et de caractères – Comptez les mots, caractères, phrases et paragraphes, avec temps de lecture et mots-clés principaux.
- Convertisseur de casse – Passez un texte en MAJUSCULES, minuscules, Casse De Titre, casse de phrase, camelCase, snake_case et plus.
- Générateur de mots de passe – Créez des mots de passe aléatoires et robustes. Choisissez la longueur et les caractères, et voyez leur solidité.