Paste two versions of HTML and see exactly what changed. Side-by-side diff view helps you verify your HTML cleanup results.
Paste the original or 'before' version of your HTML into the left panel.
Paste the cleaned or 'after' version of your HTML into the right panel.
See exactly what changed — green for additions, red for removals. Copy or download the diff result.
When cleaning HTML from Google Docs, it's easy to accidentally remove something important. A diff viewer lets you verify exactly what was removed so nothing essential gets lost.
This is the actual before/after of one Google Docs paragraph run through the default cleanup preset. The diff viewer is the fastest way to confirm nothing important was removed:
Original HTML
<p class="c3"><span style="font-size:12pt;font-family:Arial;color:#000000;font-weight:700">Introduction</span></p> <p class="c3 c8"><span style="font-size:11pt;font-family:Arial;color:#000000">This is a paragraph with </span><span style="font-size:11pt;font-family:Arial;color:#000000;font-weight:700">bold text</span><span style="font-size:11pt;font-family:Arial;color:#000000"> and </span><span style="font-size:11pt;font-family:Arial;color:#000000;font-style:italic">italic text</span><span style="font-size:11pt;font-family:Arial;color:#000000">.</span></p> <p class="c3"> </p>
Changed HTML
<h2>Introduction</h2> <p>This is a paragraph with <strong>bold text</strong> and <em>italic text</em>.</p>
Paste the source HTML on the left and the cleaned output on the right. Anything that appears only in red was removed by the pipeline — check that none of it was content.
Export the same article from the old CMS and the new one, then diff the two. The interesting lines are usually the ones where a heading level or a list type changed, which is where migration silently loses structure.
Two colleagues pasting the same block into a rich text editor can produce different markup — one browser inserts a div, another a paragraph. Diffing the two outputs explains formatting that “looks the same but behaves differently”.
No. Everything runs in your browser. Your HTML never leaves your machine.
Yes. The diff handles documents of any length, but very large documents may take a moment to process.
Yes. Paste any HTML — from Google Docs, WordPress, or hand-written markup.
Yes, completely free with no signup required.
The comparison is line-based, so any difference inside a line marks that line as removed and re-added. Use the word-level highlighting to see which part of the line actually moved.
Yes, paste them as-is. Expect a large block of unchanged lines for the head, then the interesting changes in the body. If you only care about content, paste just the body fragment to keep the diff readable.
No. It compares the text exactly as pasted, so `<img src=x>` and `<img src="x">` are reported as different. Normalise both sides with the same cleaner first if you want a semantic comparison.
The diff uses a longest-common-subsequence table whose size is the product of both line counts. Splitting the document into sections and diffing them one at a time is much faster than one giant comparison.
Diffing a cleanup? Each guide below shows the exact before/after for that source or destination.
AI-powered title to URL slug
Space CJK & Latin text
Word count, reading time & more
Check HTML accessibility issues
Create social share images
HTML to Markdown and back
Table of contents from headings
Schema markup for SEO
Convert text to uppercase, lowercase, title case, and more
Extract URLs, emails, and phone numbers from text
Compare two texts and find differences
Analyze word frequency and keyword density
Preview your Google search snippet
Check Flesch-Kincaid, Gunning Fog, and more
Or start with the main HTML cleanup tool
Open Publish Helper