Open-source self-hosted web archiving
open sourceMITself-hostablefreeMCP
ArchiveBox is a self-hosted app that saves copies of web pages and the content inside them in durable, open formats: original HTML, SingleFile HTML, screenshots, PDF, WARC, article text, media downloaded with yt-dlp, git clones of code repositories, and an SQLite index. You feed it URLs one at a time or on a schedule from bookmarks, browser history, RSS, Pocket, Pinboard, wallabag and other services, through a web UI, a CLI, a browser extension, iOS and macOS apps, a REST API, webhooks or an MCP server. It uses standard tools such as Chrome, wget and yt-dlp, stores everything in ordinary files and folders readable without ArchiveBox, and can also submit each page to archive.org. It is a Python app, MIT-licensed, run with Docker or installed with uv, pip, apt or brew, and maintained by Nick Sweeting as a US 501(c)(3) fiscally sponsored nonprofit project.
Ways to install
On your own server
Hosted for you
Problems it solves
- save a full copy of every page I bookmark before it disappears or changes
- self-hosted Wayback Machine for my own bookmarks and research
- preserve web pages as evidence for a legal case with screenshots, PDF and WARC
- archive my browser history automatically every night
- back up the YouTube videos and SoundCloud tracks I've saved in case they get deleted
- keep offline copies of the articles in my Pocket and Pinboard accounts
- our newsroom needs to capture web pages as they looked when we cited them
- archive pages that are behind a login or paywall I have access to
- save research papers and Google Docs linked from my notes as PDF and DOCX
- store web archives in standard formats that will still open in twenty years without special software
- archive every link posted in an RSS feed on a schedule
- a browser button that saves the current page to my own archive server
- save web pages from my iPhone's share sheet to my home server
- let an AI agent add URLs to my web archive and search it
- a library wants to preserve local news sites and community web pages
- clone the GitHub repositories I link to so I keep the code if they vanish
- web archiving tool with a REST API and webhooks for our pipeline
- make a public archive of pages that guests can browse, with removal contacts
- keep my archive on a NAS, S3 or network share instead of a laptop
Features
- saves original HTML, SingleFile HTML, screenshots, PDF, WARC, article text, headers and favicons
- downloads media with yt-dlp (MP4, MP3, subtitles, thumbnails) and clones git repositories
- imports from bookmarks, browser history, RSS and JSON, CSV, HTML or Markdown files
- imports from Pocket, Pinboard, Instapaper, Shaarli, Reddit Saved, Wallabag, OneTab and Firefox Sync
- scheduled imports and crawls with archivebox schedule
- archives content behind logins, paywalls and cookies through browser personas
- runs JavaScript while archiving to block ads, scroll infinite pages and expand threads
- submits pages to archive.org too, which can be turned off
- multiple snapshots of the same URL over time
- tags, folders and smart folders
View 6 more
- public or private archives, with optional guest submissions
- web UI, CLI, Python API, REST API, webhooks and an MCP server
- browser extension for Chrome, Firefox, Edge, Safari and Brave
- iOS app and a macOS desktop app, plus desktop apps for Linux and Windows that use Docker Desktop
- plugin library
- storage on local disk, NFS, SMB, S3, B2 or Google Drive
Limitations
- Many large sites block archiving: Reddit, Twitter and Cloudflare-protected sites often block bots, so you may need cookies or a logged-in browser profile9
- Windows isn't officially supported without Docker or WSL: the maker can't answer Windows support tickets9
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what ArchiveBox does.
- Linkwarden Bookmarks, Evolved
- Karakeep The Bookmark Everything App
- Nogon Your own search engine
- Shiori Simple bookmark manager built with Go
- Wayback Archive web pages to the Internet Archive, archive.today and IPFS from chat
