Creative Workflow Helpers
DOM Diff Viewer
Paste a before and after HTML fragment and get a structural diff: what was added, removed, or changed at the element, attribute and text level. Runs entirely in your browser — your markup never leaves the page.
Before
HTML fragmentThe original markup.
After
HTML fragmentThe updated markup.
Structural diff
liveHow it works
Both fragments are parsed into a lightweight node tree in memory and compared node by node, so moving whitespace or reordering attributes does not show up as noise. Matching siblings are aligned with a longest-common-subsequence pass, which keeps additions and removals from cascading into false changes. Switch to Raw text when you want an ordinary line-by-line diff instead. Nothing is ever inserted into this page, so pasted scripts and event handlers cannot run.