Skip to content
← All Guides
🔒 No Upload Required ✅ Free Forever 🌐 Browser-Based
Tutorial

How to Compare Two Websites: Step-by-Step Tutorial

By Bill Crawford  ·  March 2026  ·  5 min read  ·  Last updated March 02, 2026

Connect on LinkedIn →

🚀 Follow along — open the tool in another tab to try each step as you read.

Open Tool →

Steps

  1. Prepare Your Zip Files
  2. Upload Both Versions
  3. Run the Comparison
  4. Review the Summary
  5. Inspect Changed Files
  6. Take Action

This tutorial walks you through comparing two versions of a website using the HTML Site Comparator. By the end, you will know how to prepare your files, run a comparison, read the results, and use the line-by-line diff viewer to understand exactly what changed.

1 Prepare Your Zip Files

You need two zip files — one for each version of the website. Each zip should contain the website's files (HTML, CSS, JS, images, etc.) starting from the root directory.

Example: If your site lives in a folder called my-site/, zip the entire folder:

# macOS / Linux
zip -r site-v1.zip my-site/

# Windows (right-click the folder → Send to → Compressed)

Do the same for the updated version, producing site-v2.zip.

💡 Tip: Both zips should have the same folder structure. If one uses dist/ as the root and the other uses build/, rename them to match before zipping — otherwise the tool will treat every file as added or deleted.

2 Upload Both Versions

Open the HTML Site Comparator. You will see two drop zones side by side:

Once each zip is loaded, the drop zone turns green and shows the file name and size. Both zones must have a file before you can proceed.

3 Run the Comparison

Click the Compare Sites button. The tool will:

  1. Extract both zip files in your browser (no server upload)
  2. Strip any common root folder prefix
  3. Match file paths between the two archives
  4. Compare content for every file that exists in both

For a typical website with a few hundred files, this takes one to three seconds.

4 Review the Summary

After comparison, four stat cards appear at the top:

CategoryMeaningWhat to Look For
UnchangedSame path, identical contentShould be the majority for a small update
AddedExists in Site B onlyNew pages, new assets, expected additions
DeletedExists in Site A onlyCheck that nothing was removed accidentally
ChangedSame path, different contentThe most important category — click to inspect

Below the stats, files are grouped by category. Changed files appear first and are clickable — these are the files you want to review.

5 Inspect Changed Files

Click any changed file to open the diff viewer. The viewer shows:

The diff header also shows the total count of additions and deletions for that file. Use the close button (✕) to dismiss the diff and inspect another file.

💡 Pro tip: If a file shows hundreds of changes that look like whitespace or formatting differences, consider running both versions through the HTML Formatter first, then re-zipping and comparing. This normalises indentation and produces a much cleaner diff.

6 Take Action

Based on your review:

Common Pitfalls

🚀 Ready? Compare your websites now.

Open Tool →

Related Tools & Guides

BC
Bill Crawford
Founder, Data Conversion Center

Bill builds browser-based developer tools that prioritise privacy and simplicity. Every tool on this site runs entirely in your browser — no server-side processing, no data collection.

View all guides by Bill →