




The Text Diff widget lets you compare two pieces of text and instantly see what changed. Additions are highlighted in green, deletions in red, and unchanged lines stay as-is. Switch between inline and side-by-side views, upload files directly, and control how much context is shown around changes.
Type or paste text into the Original and Modified fields. The diff appears automatically below, showing every addition, deletion, and unchanged line. A summary at the bottom tells you the total number of additions, deletions, and unchanged lines.
You can also load text from files - click the upload button next to either field, or drag and drop a file directly onto it. The widget supports over 60 file types including code, config, markup, and plain text files (up to 1 MB each).
The default view. All changes are shown in a single column with line numbers. Added lines are marked with a + and highlighted in green. Removed lines are marked with a - and highlighted in red.
The original text appears on the left and the modified text on the right, separated by a vertical divider. Each side has its own line numbers. Removed lines show on the left in red, added lines show on the right in green, and matching changes are aligned so you can compare them easily.
Switch between views using the Inline and Side by Side buttons in the toolbar.