Back to catalog
Compare texts
Compare two texts by line or word and highlight the differences.
ActiveDocumentsFree
Loading tool...
Embeddable code: coming soon
Coming soon: this section will be available when the tool moves to its next phase.
API: coming soon
An endpoint to use this tool from your backend; not available yet. Meanwhile, the Embeddable code runs in your browser with no server.
Compare texts shows what changed between two texts at the line or word level, with counts of added, removed and unchanged.
How to use
- Paste text A and text B.
- Pick comparison by lines or by words.
- Optional: ignore case or extra whitespace.
- Review the summary and highlighted diff.
Use cases
- Detect changes between two versions of a text.
- Compare configs, lists or edited paragraphs.
- Verify that fixes have been applied before publishing.
Limits
- Up to 100,000 characters per text.
- Simple textual comparison based on LCS (longest common subsequence).
- Doesn't detect block moves; those show up as remove + add.
Privacy
Processing happens in your browser — we don't upload the texts.
Common errors
- Very long texts can be slow: complexity is O(n × m).
- Subtle whitespace or case differences look like real changes if those options are off.
Technical notes
- Diff via dynamic programming using LCS.
- Tokens by line or by word; original values are preserved in the output.
Related tools
Technical details
- ID
- compare-texts
- Slug
- /en/tools/compare-texts
- Backend
- Not required
- AI
- Not required
- API
- Planned