Diff Checker — Comparer Deux Textes en Ligne
Comparez deux textes côte à côte et trouvez les différences instantanément. Diff par ligne, mot, caractère. 100% navigateur, gratuit.
Fonctionnalités
100% Browser-Based
All comparison runs locally in your browser. Your text never leaves your device.
Free & No Sign Up
No registration, no limits, no hidden fees. Just paste and compare.
Instant Results
See differences highlighted in real time as soon as you click Compare.
Line / Word / Character Diff
Switch between line, word and character-level granularity to find the exact change.
Split & Unified Views
Side-by-side for wide screens, Git-style unified diff for narrow screens or sharing.
JSON-Aware Mode
Auto-format both sides as JSON before diffing — no more noise from minified payloads.
How to use the Diff Checker
- Paste your original text into the left panel.
- Paste the modified text into the right panel.
- Choose granularity: Lines, Words, or Chars (and toggle JSON mode if comparing JSON).
- Click Compare — additions and deletions are highlighted instantly.
- Switch between Split and Unified view, or use Swap / Copy / Clear as needed.
Common Use Cases
Code Review
Quickly review changes before committing — see exactly which identifiers, literals or operators were touched.
Config Drift
Compare environment configs (JSON / YAML / .env) between staging and production to spot drift.
Document Editing
Compare two versions of a contract, blog draft or email to see exactly what was rewritten.
Log Investigation
Diff two log snapshots to isolate what changed between a working run and a broken one.
API Regression
Compare two JSON API responses to confirm whether a code change broke the expected payload.
Merge Conflict Help
Paste two branches of a conflicted file to visualise differences before resolving by hand.
Pro Tips
- ✓ Use Lines for code, Words for prose, Chars for hunting single-character typos.
- ✓ Turn on "Ignore whitespace" when comparing code that may have been re-indented.
- ✓ Turn on "Ignore case" for case-insensitive prose comparison.
- ✓ Switch to Unified view before pasting a diff into an issue or email — it travels better than a screenshot.
- ✓ Enable JSON mode to compare minified vs. pretty payloads without noise.
- ✓ Use Swap to flip the two sides if you accidentally pasted them in the wrong order.
Questions fréquentes
How do I compare two texts online?
What is the difference between split and unified view?
When should I use line, word, or character diff?
Can I compare JSON or minified code?
Is my data sent to any server?
How big a text can I compare?
Plus d'outils
Regex Tester — Tester et déboguer les expressions régulières en ligne
Testez et déboguez les expressions régulières avec mise en é...
Formateur, Validateur et Convertisseur JSON
Formatez, validez et convertissez JSON en XML ou YAML instan...
Convertisseur de Casse
Convertissez du texte entre majuscules, minuscules, title ca...
Compteur de Mots et Caractères
Comptez instantanément mots, caractères, phrases et paragrap...
Encodage et Décodage Base64
Encodez et décodez des chaînes Base64 instantanément dans vo...