Compare two texts side by side
Paste or drop two blocks of text and every inserted, deleted and rewritten word is highlighted. Pick a language for syntax colouring, or let VS detect it from the file name.
Features & FAQ
- Word-level highlighting, with counts of modified versus purely added or removed lines
- Syntax highlighting for code, JSON, Markdown and more
- Comparisons are saved to history in your browser, not on a server
- Drop two files onto the editor, or paste straight into it
Frequently asked questions
- Is my text sent anywhere?
- No. The diff is computed in your browser and there is no upload step, no account and no server-side copy.
- Is there a size limit?
- Only your browser’s memory. Inputs beyond 200,000 characters per side are truncated to keep the tab responsive.
- Can I compare whole files instead of pasted text?
- Yes — drop two files onto the editor. For Word, Excel, PDF or PowerPoint, use the matching tab so the documents are compared as rendered pages instead of raw bytes.