Text Diff
Runs in your browser — your data is never uploaded.
Paste two versions of a text and instantly see which lines were added, removed, or unchanged between them — the same line-diff approach used by version control tools. Runs entirely in your browser, so contracts, code, and drafts never leave your device.
0 characters · runs entirely in your browser
0 characters · runs entirely in your browser
How to use Text Diff
- 1
Paste the original text into the left box.
- 2
Paste the changed text into the right box.
- 3
Click “Compare” to see a line-by-line diff, then copy or download it.
Share
Embed this tool on your site
Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.
Please keep the attribution line — it's what keeps these tools free.
Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.
Frequently asked questions
How is the diff calculated?+
OkConverter compares the two texts line by line using a longest-common-subsequence algorithm — the same core approach used by tools like `diff` and Git — marking unchanged lines with a space, removed lines with “-”, and added lines with “+”.
Is there a size limit?+
Yes, each side is limited to 2,000 lines. Larger files should be split into chunks and diffed separately.
Is my text uploaded anywhere?+
No. The comparison runs entirely in your browser — nothing is sent to a server, which matters when comparing contracts or private code.