Privvert - private browser-based file toolsPrivvert

Text diff

Compare two snippets line by line.

About this tool

Compare two pieces of text and highlight what changed line-by-line or word-by-word. Perfect for proof-reading edits, reviewing pull-request descriptions, comparing two versions of a contract, spotting copy-paste errors, or auditing config changes.

Privvert renders the diff side-by-side or inline, with green for additions and red for deletions. The whole comparison runs locally - your text never leaves your browser, which matters when comparing confidential drafts.

Features

  • Line-level diff
  • Word-level diff inside changed lines
  • Side-by-side or inline view
  • Ignore-whitespace option
  • Ignore-case option
  • Browser-only - your text never uploaded
  • Free and unlimited
  • Word-level highlighting inside changed lines, not just line-level

How to use it

  1. Paste the original text on the left.
  2. Paste the new version on the right.
  3. (Optional) toggle ignore-whitespace or ignore-case.
  4. Review the highlighted differences.
🔒 100% private

Everything happens inside your browser using JavaScript and WebAssembly. Your files are never uploaded to a server, never stored, and never seen by us.

Frequently asked questions

Is there a size limit?

Diffing very large files (over ~1 MB or ~10,000 lines) may slow your browser. For huge inputs, use a desktop diff tool like git diff or Beyond Compare.

Word vs line diff?

Line diff is faster and shows the structure of changes. Word diff highlights exactly which words changed inside a modified line - much easier to read for prose.

Will it handle Unicode and emoji?

Yes - the diff is fully Unicode-aware.

Can I export the diff as HTML?

Right-click and 'Save as' on the rendered diff, or take a screenshot. Direct export is on the roadmap.

Does it handle very large files?

Comfortably up to a few hundred KB per side on a modern machine. Past that the highlighter starts to slow down; for diffing huge files, use a desktop tool like Beyond Compare or git diff.

Is the diff sent anywhere?

No. Both inputs and the computed diff stay in your browser. You can paste sensitive code, contracts or configuration without exposing them to anyone.