# Wayback-Archive

> Python CLI that downloads a whole archived site from the Wayback Machine and rebuilds it as an offline folder.

Source: https://osinttools.io/tools/wayback-archive/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** URL
- **Category:** Data capturing
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI
- **Website:** https://github.com/GeiserX/Wayback-Archive
- **Docs:** https://geiserx.github.io/Wayback-Archive/
- **GitHub:** GeiserX/Wayback-Archive, 52 stars · Python · GPL-3.0 · last commit 2026-11-24
- **Listed:** Nov 26
- **Last verified by an editor:** Nov 26, 2026

## What it does

Wayback-Archive takes a Wayback Machine snapshot URL and fetches every page and asset it can reach from it (HTML, CSS, JavaScript, images and fonts), then rewrites the links so the copy opens offline without the Wayback toolbar. When a file is missing from that snapshot it tries nearby timestamps, and it replaces archived error or challenge pages with the nearest good capture.

Investigators use it to preserve a full copy of a site that is gone from the live web, so it can be browsed, searched and kept as evidence. Analytics and ads are stripped by default.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- Whole-site download from a snapshot
- Link rewriting for offline browsing
- Fallback to nearby timestamps
- Skips archived error and challenge pages
- Local copies of Google Fonts
- Optional minification
- Options as environment variables

## Pros

- Produces a browsable offline copy
- Handles many common Wayback gaps
- Actively maintained with documentation
- Free and open source (GPL-3.0)

## Cons

- Only as complete as the archive's captures
- Large sites take a long time and need a file limit
- Older versions had a security flaw, so use 1.5.0 or later

## When to use it

- Use it when a site relevant to your case has gone offline and you want a working local copy from the Wayback Machine.
- Use it when you need to search across all pages of an archived site at once.

## Quick start

Install with pipx:

```
pipx install wayback-archive
wayback-archive "https://web.archive.org/web/20051231235226/http://www.python.org/" --max-files 50
```

## Alternatives

- [Altia OSINT Investigator](https://osinttools.io/tools/altia-osint-investigator/): Commercial capture tool for police and corporate investigators that saves web content with hashing and an audit trail into case files. (Paid · URL · passive)
- [Archive Page](https://osinttools.io/tools/archive-page/): Open-source extension that sends the current page or a link to archive.today to be saved or looked up, from the toolbar or context menu. (Open source · URL · passive · 186 GitHub stars)
- [Archive-It](https://osinttools.io/tools/archive-it/): Internet Archive's subscription web archiving service; its curated collections from libraries and institutions are publicly searchable. (Freemium · URL · passive)
- [ArchiveBox](https://osinttools.io/tools/archivebox/): Open-source, self-hosted web archiver that saves pages as HTML, PDF, screenshots, WARC and media, with full-text search. (Open source · URL · active · 29,109 GitHub stars)
- [ArchiveWeb.page](https://osinttools.io/tools/archiveweb-page/): Webrecorder's open-source extension that records the pages you browse into high-fidelity web archives you can export as WARC or WACZ. (Open source · URL · passive · 1,635 GitHub stars)
- [Auto Archiver](https://osinttools.io/tools/auto-archiver/): Bellingcat's open-source Python tool that archives batches of URLs, media and metadata from a spreadsheet, CSV or the command line. (Open source · URL · active · 1,161 GitHub stars)

All alternatives to Wayback-Archive in one table: https://osinttools.io/tools/wayback-archive/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
