± Text Diff Checker
Compare two blocks of text side by side and see differences highlighted. Line-by-line and word-level diff view. Free online text diff tool — no signup, works in browser.
How to Use
1
Paste your texts
Paste the original text in the left box and the modified text in the right box.
2
Click Compare
Press Compare to instantly highlight all additions, deletions, and unchanged lines.
3
Read the results
Green lines are additions, red lines are deletions, grey lines are unchanged.
Frequently Asked Questions
How does the diff checker work?
The tool compares your two texts line by line. Lines only in the first text are shown in red (removed), lines only in the second text are shown in green (added), and matching lines are shown in grey (unchanged).
Can I compare code files?
Yes. Paste any code, configuration files, JSON, SQL, or plain text. The tool highlights exactly which lines changed.
What does "ignore whitespace" do?
When enabled, lines that differ only in leading/trailing spaces or tabs are treated as equal. Useful when comparing code that was reformatted.
Is there a size limit?
There is no hard limit, but very large texts (100,000+ lines) may be slow since all processing happens in your browser.
Is my text sent to a server?
No. The entire comparison is done in JavaScript in your browser. Your text never leaves your device.
Guía: Comparador de Texto
¿Qué es?
Compara dos versiones de cualquier texto plano línea por línea. Útil para comparar borradores de documentos, verificar migraciones de datos, y entender cambios en configs entre entornos.
Cómo usar
- Pega el texto original en el panel izquierdo.
- Pega el texto modificado en el panel derecho.
- Elige granularidad: por línea, palabra o carácter.
Consejos
- Diff por palabras para prosa; diff por líneas para código.
- Normaliza los saltos de línea (CRLF vs LF) para evitar falsos positivos.
- Para PDFs, extrae primero el texto y luego usa el diff.