USE CASE · IN YOUR BROWSER
How to get the HTML code from a website and save it
List the pages and AIVane fetches each one, saves its HTML source as a text file (page-1.txt, page-2.txt and so on) and writes a CSV index with the address, the file name, the size in characters and a status. A page that cannot be fetched is marked in the index and the others continue. We tested it on two pages of quotes.toscrape.com.
How it works
- Copy Save the HTML of web pages. Choose Try it in your browser. The automation reads your address list, fetches and saves each page, then saves the index.
- List the pages. Enter one address per line, each starting with http:// or https://. Name the index file; the text files go into a folder next to it with the same name plus -pages.
- Open the files. Download the text files and the index from Run history. Rename a file to .html if you want to open it in a browser; links to images and styles may not load from your computer.
Try it on the practice site
- 01
Open Save the HTML of web pages
After you sign in from the Try it link, the automation is in My automations. Step 2 fetches each page, saves its HTML source as page-1.txt, page-2.txt and so on, and notes its size; a page that cannot be fetched is marked in the status column.

- 02
Enter the addresses
Choose Run. Web page addresses takes one address per line; the screenshot shows https://quotes.toscrape.com/, a site made for scraping practice. Output file save-html.csv is the index. Choose Confirm and run.

- 03
Download the HTML files and the index
Our run took 17 seconds and listed three outputs: page-1.txt (11 KB), page-2.txt (13.7 KB) and save-html.csv. The steps fetch the pages directly, so no browser screenshot is saved for them.

How other methods compare
- View source in the browser
- Ctrl+U (or Cmd+Option+U on a Mac) shows the HTML of the page you are on. It is the quickest way for one page; AIVane saves many pages in one run.
- Save page as
- The browser's Save as saves one page with its images and styles. It is a manual step for each page and does not record sizes or failures.
- Command-line tools
- curl or wget fetch HTML in a single command if you are comfortable in a terminal. AIVane gives the same raw HTML without installing anything, plus an index file.
Frequently asked questions
Is it the same HTML I see in the browser's inspector?
Not always. The automation saves the HTML the server sends, before any JavaScript runs. Pages that build their content with JavaScript may look emptier than in the inspector.
Why are the files .txt and not .html?
AIVane Cloud run outputs are limited to text formats such as csv, txt, json, md and xlsx. The content is the page's HTML; rename the file to .html after downloading if you need to.
What does the index file contain?
One row per address with the URL, the saved file name, the size in characters and a status. A page that could not be fetched shows its status there, and the other pages are still saved.
Can I download a whole website as HTML?
This automation saves the pages you list. It does not follow links by itself, so list the pages you need or ask the AI assistant to add a step that collects the links first.
Is this HTML downloader free?
Free includes 3 saved automations, local runs of up to 15 minutes each and a one-time 10-minute AIVane Cloud trial. Our two-page run used 23 seconds of cloud time.
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).