webarchive extractor
Extracts Safari .webarchive files into plain HTML and assets via the WebArchiveExtractor CLI.
UtilitiesBeginner★ 345⑂ 59AI score 8/10Last updated: Mar 20, 2026
What it does
- Converts
.webarchivefiles (the macOS binary-plist format from Safari's "Save As Web Archive") into plain HTML plus an assets folder. - Verifies the CLI binary inside
/Applications/WebArchiveExtractor.appexists first, and if not, points you to building it with Xcode, adding it toPATH, or symlinking it. - Resolves the input file, output directory, and optional URL prefix (
-p), runs the command, then summarises the output path, file count, and main HTML file. - Defaults output to
~/Downloads/<archive-name>because macOS sandboxing limits where the app can write, avoiding silent failures.
Who it's for
- macOS users who archived pages in Safari and want them back as browsable HTML.
- Researchers and archivists migrating legacy
.webarchivecollections to standard web files. - Developers who need asset URLs rewritten to serve the extracted site from a subdirectory.
Examples
- "Extract article.webarchive on my Desktop" → checks the binary, extracts to
~/Downloads/article, reports the results. - "Unarchive blog.webarchive into ~/sites/blog and prefix assets with /static" → runs with both
-oand-p. - After extraction, "open it in my browser" → uses
open index.html.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/robrohan/WebArchiveExtractor/HEAD/skills/webarchive/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/webarchive folder from the GitHub repo robrohan/WebArchiveExtractor into my ~/.claude/skills/webarchive/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/robrohan/WebArchiveExtractor.git && mkdir -p ~/.claude/skills && cp -r WebArchiveExtractor/skills/webarchive ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open Terminal (macOS required).
- Clone the repo:
git clone https://github.com/robrohan/WebArchiveExtractor.git - Install the skill:
mkdir -p ~/.claude/skills && cp -r WebArchiveExtractor/skills/webarchive ~/.claude/skills/ - Install the app itself: drag a release build into
/Applications, or build from source withxcodebuild -project WebArchiveExtractor.xcodeproj. - Verify:
test -x /Applications/WebArchiveExtractor.app/Contents/MacOS/WebArchiveExtractor && echo found - Restart Claude Code and ask something like "extract this .webarchive file" to trigger the skill.
View source on GitHub ↗License: NOASSERTION