Free online tools to generate, calculate,
convert, format, encode, and play.
 

Text Diff Viewer

Paste two texts and see a side-by-side or inline diff, with additions, deletions, and changes highlighted; everything runs locally in your browser.


Compare Texts


How It Works

This tool compares two blocks of text and highlights exactly what changed between them. It is powered by jsdiff, a widely used JavaScript implementation of the Myers diff algorithm.

  • Granularity — choose whether differences are computed line by line, word by word, or character by character. Line mode is best for documents and code; word and character modes pinpoint small edits inside a paragraph.
  • Side-by-side view — the original and changed texts are shown in two aligned columns. Removed lines are marked in red on the left, added lines in green on the right.
  • Inline view — a single flowing result where additions are green and deletions are red, useful for prose and short snippets.
  • Ignore case and Ignore whitespace — skip differences that only involve letter casing or spacing, so you focus on meaningful changes.

All processing happens entirely in your browser. Your text is never uploaded or stored on any server.


Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with