USE CASE · IN YOUR BROWSER
Compare the HTML of two pages
Give AIVane two addresses, a before and an after, and it fetches both HTML sources, compares them line by line and writes each changed region with before and after excerpts to a CSV file. Use it to check a staging page against production, or a page before and after a release. Our test compared the books.toscrape.com home page with its page 2 and listed 50 changed regions.
How it works
- Copy the HTML diff checker. Choose Try it in your browser. The automation fetches both pages directly and compares their source.
- Enter the two pages. Before URL is the original, After URL the updated version. Maximum changed regions limits the report.
- Review the excerpts. Each row shows the change type and the before and after lines. Rows with both excerpts empty are whitespace-only changes.
Try it on the practice site
- 01
Open the HTML diff checker
After you sign in from the Try it link, the automation is in My automations with four steps: fetch both HTML sources, prepare the HTML for comparison, find changed regions and save the comparison.

- 02
Enter the two pages and run it
Choose Run. Before URL is https://books.toscrape.com/, After URL is https://books.toscrape.com/catalogue/page-2.html, Maximum changed regions is 50 and Output file is html-diff.csv. Choose Confirm and run.

- 03
Download html-diff.csv
Our run took 3 minutes 15 seconds and wrote 50 regions: 48 changed, 1 added and 1 removed. Four rows had empty excerpts on both sides because only whitespace differed.

How other methods compare
- Text diff tools
- Paste two sources into a diff tool for a detailed view. The checker fetches both pages itself and saves the regions as a table.
- Visual comparison tools
- They compare screenshots, which shows layout changes. The checker compares the HTML source, which shows markup and text changes.
- Version control
- If both versions are in your repository, a git diff is the most precise. The checker works on live pages.
Frequently asked questions
Does it compare the rendered page?
No. It compares the HTML the server sends, before JavaScript runs.
How much of a page is compared?
Up to 120,000 characters and 1,800 line segments from each page, which covers most pages. Very large pages are compared only up to that point.
Why does a big page take minutes?
Each line is compared in the cloud step by step; our two catalogue pages took just over three minutes.
Is the HTML diff checker free?
Free includes 3 saved automations, local runs of up to 15 minutes each and a one-time 10-minute AIVane Cloud trial. Our run used 3 minutes 22 seconds of cloud time, which is a large part of the trial.
Want a hand with this?
Our first users can ask for hands-on help: one website task, one sheet, and a week of watching it run.
Get help automating this taskLast verified 2026-11-28 with the AIVane web workspace at app.aivane.net (production server of 2026-11-28).