Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

The right method depends on what “download” means. To make a navigable offline copy of a conventional, link-connected site, use HTTrack. To save a file that appears only after JavaScript runs or a user clicks a control, use browser automation such as Playwright. HTTrack fetches and rewrites discoverable HTML and CSS, but it does not execute JavaScript; Playwright drives a real browser and can capture the resulting download.

Choose the outcome before choosing a tool

A website can mean a collection of pages and assets, one attachment, or a client-rendered application state. These are different jobs:

Goal Starting point What you get Important boundary
Browse linked pages offline HTTrack Recursive fetches, local link rewriting and a directory you can open locally Runtime-only URLs, API data and JavaScript behavior are not captured automatically
Save a file produced by a click or script Playwright download event The attachment emitted by the page, saved to a permanent path It does not create a complete offline copy of the application
Reproduce every authenticated or client-rendered state No universal recipe A custom browser workflow and application-specific data handling Server-side behavior, databases and access-controlled routes remain on the server

Do not promise yourself a “complete clone.” A local mirror is a set of downloaded responses; it is not the original server, database, authentication system or API.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Method 1: mirror a link-discoverable site with HTTrack

HTTrack’s official site reports release 3.50-4, dated September 25, 2026, with Windows and macOS/Linux/Unix/BSD availability and a command-line interface. Those are vendor statements, so verify compatibility on the operating system you plan to use.

#1 Best Overall
Lexar D40E 128GB Dual USB 3.2 Gen 1 Type-C Jump Drive, Champagne Silver
  • USB-C 2-in-1 storage OTG: The Lexar JumpDrive Dual Drive D40E features USB Type-A and Type-C connectors in a slim, portable form factor for easy device compatibility
  • Transfer speeds up to 100MB/s: Based on internal testing, performance may vary depending upon the host device, interface, and usage conditions. 1MB=1,000,000 bytes
  • Plug and Play: Widely compatible with USB Type-C smartphones, tablets, laptops, Macs, and traditional Type-A devices, no software installation required. The 360° swivel design allows for easy switching between connectors without the hassle of losing a cap
  • Durable & Compact: The Lexar D40E USB memory stick features a metal enclosure, withstands temperatures from 0° to 50° C (32°F to 122°F), and is lightweight at 26g with dimensions of 70.4 x 16.9 x 11.7mm
  • Security & Warranty: Securely protects files using an advanced security software solution with 256-bit AES encryption. Backed by a Lexar 3-year limited warranty

Install and run a basic mirror

Install HTTrack using the package or installer for your operating system, then run:

httrack https://example.com/ --path mydir

Use the final canonical address when possible. By default, HTTrack stays on the starting host, follows links it can discover, rewrites retained links for local browsing, and keeps logs and cache in the selected output directory. Open the generated local index after the crawl finishes.

Check what was actually downloaded

  1. Open hts-log.txt and hts-err.txt in the output directory.
  2. Look for refused, redirected or filtered URLs, not just a successful process exit.
  3. Open representative pages locally, including a deep page rather than only the home page.
  4. Inspect images, stylesheets, fonts and scripts in the browser’s developer tools to find missing resources.

A mirror can look complete while still omitting assets. The logs are the authoritative place to investigate those omissions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Redirects and host scope

The default same-host scope matters when an apex domain redirects to www, or HTTP redirects to HTTPS. The crawl can stop or exclude the destination because it is a different host. Start at the final address, or adjust the scope deliberately after checking the redirect chain. Widening scope indiscriminately can pull unrelated content.

Rank #2
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds
  • High-speed USB 3.0 performance of up to 150MB/s(1) [(1) Write to drive up to 15x faster than standard USB 2.0 drives (4MB/s); varies by drive capacity. Up to 150MB/s read speed. USB 3.0 port required. Based on internal testing; performance may be lower depending on host device, usage conditions, and other factors; 1MB=1,000,000 bytes]
  • Transfer a full-length movie in less than 30 seconds(2) [(2) Based on 1.2GB MPEG-4 video transfer with USB 3.0 host device. Results may vary based on host device, file attributes and other factors]
  • Transfer to drive up to 15 times faster than standard USB 2.0 drives(1)
  • Sleek, durable metal casing
  • Easy-to-use password protection for your private files(3) [(3)Password protection uses 128-bit AES encryption and is supported by Windows 7, Windows 8, Windows 10, and Mac OS X v10.9 plus; Software download required for Mac, visit the SanDisk SecureAccess support page]

Sitemaps and off-host requisites

HTTrack documents a --sitemap option that checks sitemap declarations in robots.txt and falls back to /sitemap.xml. This can reveal URLs that are not linked from the pages you start with. The --near option can fetch page requisites hosted elsewhere, but it may download a large amount from an external host; a narrower host filter is safer when you know which asset domain is required.

The JavaScript limitation

HTTrack parses HTML and CSS; it does not run JavaScript. A lazy-loaded image, route, or API URL assembled only at runtime is invisible to the crawler and will be missing from the mirror. Client-side navigation, infinite scroll and data fetched after load therefore need a browser-based workflow or a separate export from the application.

Method 2: save a JavaScript-triggered file with Playwright

Use Playwright when the page creates an attachment after JavaScript executes or after a user action. Register the download listener before clicking, wait for the event, and save the temporary file before the browser context closes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com/report', { waitUntil: 'networkidle' });

  const downloadPromise = page.waitForEvent('download');
  await page.getByText('Download file').click();
  const download = await downloadPromise;
  await download.saveAs('/path/to/save/' + download.suggestedFilename());

  await browser.close();
})();

Why the order matters

If you click first and only then wait for a download, the event may already have fired and your script can hang. The browser context owns temporary download files; close it only after saveAs succeeds. The saved path should be writable and should include a filename that is safe for your operating system.

Rank #3
2 Pack 64GB USB Flash Drive USB 2.0 Thumb Drives Jump Drive Fold Storage Memory Stick Swivel Design - Black
  • What You Get - 2 pack 64GB genuine USB 2.0 flash drives, 12-month warranty and lifetime friendly customer service
  • Great for All Ages and Purposes – the thumb drives are suitable for storing digital data for school, business or daily usage. Apply to data storage of music, photos, movies and other files
  • Easy to Use - Plug and play USB memory stick, no need to install any software. Support Windows 7 / 8 / 10 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, compatible with USB 2.0 and 1.1 ports
  • Convenient Design - 360°metal swivel cap with matt surface and ring designed zip drive can protect USB connector, avoid to leave your fingerprint and easily attach to your key chain to avoid from losing and for easy carrying
  • Brand Yourself - Brand the flash drive with your company's name and provide company's overview, policies, etc. to the newly joined employees or your customers

When a click is not a download

Some controls fetch JSON, open a new tab, or render content rather than emit an attachment. In those cases, inspect the network request and application behavior, then save the response or rendered output using a workflow designed for that result. The download-event pattern is specifically for a page attachment.

Handling redirects, authentication and dynamic pages

Redirects

For HTTrack, begin with the post-redirect canonical host or configure scope to include the destination. For Playwright, wait for the page state you actually need after navigation and complete any permitted sign-in steps before triggering the download. Do not embed credentials in source code or commit cookies to a repository.

Authentication and access controls

Neither tool bypasses authorization. Use an account and permissions that allow the copy, follow the site’s terms, and avoid collecting other users’ private data. A downloaded response may still depend on server-side authorization when opened later.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Lazy loading and infinite scroll

Static crawlers cannot discover resources that appear only after scrolling or script execution. A browser automation script can scroll, wait for a selector or network activity, and then capture a particular state, but the exact sequence is application-specific. There is no evidence-based single command that exports every client-rendered route.

Rank #4
SIMMAX 32GB Memory Stick USB 2.0 Flash Drives Swivel Thumb Drive Pen Drive (32GB Purple)
  • GOOD VALUE PACKAGE - 1 Pack 32GB Memory Stick USB 2.0 Flash Drives with great cost performance and high quality.
  • BIG CAPACITY - The available capacity: 29.10GB-29.8GB, You can save the data of movies, music, photos, designs, programs, manuals, handouts in a high speed.Good performance in digital data storing, transferring and sharing with families, friends, workmates, clients and machines.
  • EASY TO USE & PLUG AND WORK - Support windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS, Compatible with USB2.0 and below.
  • TWISTTURN DESIGN & EASY CARRY - The metal clip rotates 360° round the ABS plastic body which with rubber oil skin feeling finish. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
  • WARRANTY & SUPPORT - SIMMAX logo is laser printed on the USB connector surface, our products are of good quality and we promise that any problem about the product within one year since you buy.

Performance, reliability and responsible use

  • Start small: test one section and a few asset types before launching a large crawl.
  • Use logs: refused, redirected and filtered URLs explain apparent gaps.
  • Resume carefully: HTTrack can resume interrupted mirrors and update an existing mirror; retain the output directory and cache.
  • Control scope: broad off-host fetching can create unexpected volume.
  • Respect robots.txt and terms: HTTrack identifies as HTTrack and obeys robots.txt by default. You remain responsible for having permission to copy content.
  • Do not infer completeness from speed: no reliable performance or completeness percentage is established here; results depend on site size, network conditions and application behavior.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting common failures

The local page is blank or unstyled

Check hts-err.txt for rejected CSS, scripts or fonts, then verify that the local HTML points to files inside the mirror. If the page is rendered entirely by JavaScript, HTTrack cannot reproduce it; use Playwright or an application export.

Images or routes are missing

Determine whether the URL exists in the original HTML/CSS. Runtime-generated and lazy-loaded URLs will not be found by HTTrack. Review host scope, redirects and filters; consider --sitemap for unlinked pages and a narrowly scoped --near for required external assets.

The crawl stops at another hostname

Follow the redirect manually, restart at the final canonical URL, or add only the necessary destination host to scope. Avoid an unrestricted multi-domain crawl.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Playwright waits forever

Confirm that the clicked control really emits a download, register waitForEvent('download') before the click, and verify the selector matches the current page. Add an explicit timeout and capture console/network diagnostics when the application reports an error.

Best Value
Sale
IMEASON Swivel Design 16GB USB Flash Drive with Keychain, USB 2.0 Portable Thumb Drive Memory Stick, FAT32 Format Flashdrive for Data Storage, Photos, Music, Files (Black, 16 GB)
  • 【16GB Flash Drive】USB flash drives with 16GB capacity, meet your needs of daily use on work, school, home and travelling for photos, music, videos, files storage and transfer. IMEASON thumb drives can be used to store different files, easy to data backup.
  • 【Metal Swivel Cap Design】USB thumb drive is metal swivel cover provides extra protection for the usb thumbdrive connector, no usb drive cap to lose; keychain design makes it easier to carry without worrying lose it.
  • 【Wide Compatibility】USB drive supports Windows 7/8/10/11 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, also Supports USB 2.0 and 1.1 ports. USB Stick support TV, desktop, notebook computer, car, audio and other device. The USB Memory Stick is your great data storage and transfer companion with traveling and working.
  • 【Easy to use】usb memory stick is plug and play without any software installation. Just simply plug the Flashdrive into the port of your USB-compatible devices such as computer, laptop to start data storage or transmission.
  • 【What You Get】16 GB USB Flash Drive Thumb Drive, The default format of the usb storage flash drive is FAT32.

The downloaded file disappears

Call download.saveAs(...) before closing the browser context. Playwright’s temporary download is removed with that context.

Or skip the browser setup

ScreenshotNeo provides a single-request screenshot API when you need a visual capture rather than an offline, clickable site. It accepts a URL and returns PNG, JPEG, WebP or PDF. Before capture it accepts cookie/consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets; each cleanup step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page verdict and billing status in X-Page-Verdict and X-Billed headers. Its MCP server exposes take_screenshot, get_page_info and capture_pdf for Claude, Cursor and other MCP clients.

See the ScreenshotNeo API documentation for all options. A direct cURL request is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo also supports full-page captures with lazy images loaded, CSS-selector element shots, dark mode, device presets and custom viewports, retina scale, PDF paper and page-range settings, custom CSS and JavaScript, clicks, selector or network-idle waits, ad/tracker/request blocking, headers, cookies, user agents, authorization, timezone, geolocation, transparency, resizing, chosen TTL caching, signed image links, asynchronous webhooks, bulk capture of up to 100 URLs per call, usage reporting and an OpenAPI specification. Parameter names used by other screenshot APIs also work.

Plans include 1,000 screenshots per month free with no card; paid plans start at $5 for 3,000 screenshots. Create a free ScreenshotNeo account to start.

FAQ

Can HTTrack download a React or Vue application?

It can fetch any static resources discoverable in the responses it reads, but it does not execute the application’s JavaScript. Runtime routes and API data may therefore be absent.

Does Playwright make an offline website?

No. The documented download flow saves one attachment emitted by a page. Building an offline application requires a separate, application-specific capture and data strategy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I download a site I do not own?

Permission, copyright, privacy, terms of service and access controls still apply. A technical ability to fetch a URL is not permission to reproduce its content.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.