Comparateur de textes
Visualisez les différences entre deux versions d'un texte.
Recensioni e valutazioni
Scrivi una recensione
La tua valutazione *
Scopri come FileSwiftly raccoglie, utilizza e protegge i tuoi dati personali e file. Conforme al GDPR.
0/500 characters
Sii il primo a lasciare una recensione!
Strumenti correlati
Continua con questi strumenti complementari
Free Text Diff Checker Online — Compare Two Texts Side by Side
Find every difference between two versions of a text: added lines (green), deleted lines (red), changed lines. Uses the same diff algorithm as Git. Free, instant, no account.
How the diff algorithm works
Our tool uses the LCS (Longest Common Subsequence) algorithm — the same foundation used by Unix diff, Git, Subversion and GitHub's Pull Request view. LCS identifies the minimum number of additions and deletions needed to transform text A into text B. This produces the most readable, intuitive diff output: large unchanged blocks remain intact and only the actual differences are highlighted, rather than showing every line as changed when only a word differs.
Practical use cases for text comparison
Document versioning: compare a contract draft v1 with v2 to see exactly which clauses changed. Code review: compare two versions of a configuration file or script. Proofreading: compare a document before and after an editor's changes to see all modifications at once. Plagiarism detection: compare two essays or articles to identify matching passages. Translation verification: compare a source text with a back-translation to find semantic drift. Data validation: compare two CSV exports to identify changed records.
FAQ
Is comparison case-sensitive?
By default yes. Toggle "ignore case" for case-insensitive comparison where "Apple" and "apple" are treated as identical.
Can I ignore whitespace differences?
Yes. Enable "ignore whitespace" to treat multiple spaces as single spaces and ignore leading/trailing whitespace — useful when comparing code with different indentation.
What is the maximum text length I can compare?
Up to 50,000 characters per text block (100,000 characters total comparison).
Can I compare files (not just text)?
Paste the contents of any text-based file: code files (.py, .js, .php), configuration files (.json, .yaml), documentation (.md) or plain text documents. Binary files are not supported.
Does it show inline word-level differences?
Yes. Within changed lines, individual word-level differences are highlighted in addition to the line-level changes, making it easier to spot small edits within a large block of text.
Can I export the diff result?
Copy the diff as HTML (preserving color coding) or as plain text (with +/- prefix notation). PDF export is planned for a future update.