Mac OS X utility to un-archive .webarchive files (like when saving from Safari) Don't want to compile it yourself? You can purchase the app directly at therohans.com/webarchiveextractor/. This project was forked from Vitaly Davidenko's repo on sourceforge.
$ npx -y skills add robrohan/webarchiveextractor --agent claude-code
What's inside
Mac OS X utility to un-archive .webarchive files (like when saving from Safari)
Don't want to compile it yourself? You can purchase the app directly at therohans.com/webarchiveextractor/.
This project was forked from Vitaly Davidenko's repo on sourceforge.
You can use the utility graphically by launching WebArchiveExtractor.app directly. See interface here.
You can also run the same executable from from the command line:
./WebArchiveExtractor.app/Contents/MacOS/WebArchiveExtractor
Running with no arguments will just launch the GUI.
This repo includes a Claude Code skill that lets you extract .webarchive files by just asking Claude naturally (e.g. "extract this webarchive file").

Copy the skill into your Claude Code skills directory:
mkdir -p ~/.claude/skills/webarchive
cp skills/webarchive/SKILL.md ~/.claude/skills/webarchive/SKILL.md
Once installed, Claude Code will recognize requests to extract .webarchive files and use WebArchiveExtractor automatically. The skill requires the app to be installed at /Applications/WebArchiveExtractor.app (see Build below).
Note: Due to macOS app sandboxing, the only reliable output location when using the CLI via Claude Code is the user's
~/Downloadsfolder. If extraction to another directory fails or produces no output, use~/Downloadsas the destination.
Extract contents of website.webarchive to a directory named website relative to CWD:
WebArchiveExtractor website.webarchive
WebArchiveExtractor -i website.webarchive
Define explicit output directory:
WebArchiveExtractor website.webarchive -o out
You should be able to automatically build and sign a release for local execution by running this command in the root of the project, even if you are not an Apple developer (assuming you've got the Xcode CLI tools):
Update: You need to do two things first:
xcodebuild -runFirstLaunch in the Terminalxcodebuild -project WebArchiveExtractor.xcodeproj
If the command fails, you'll need to open the project in Xcode to investigate.
The resulting WebArchiveExtractor.app should be in build/Release. To install, you can just drag it to your Applications directory.
Keep in mind that the executable is inside the
.appbundle. To reference the command in your shell, you can do something like either of the following:
Add to PATH:
# Add this to your shell's rc file:
export PATH="$PATH:/Applications/WebArchiveExtractor.app/Contents/MacOS/"
Symlink to a location already in PATH:
ln -s /Applications/WebArchiveExtractor.app/Contents/MacOS/WebArchiveExtractor ~/.local/bin/WebArchiveExtractor
.github/
FUNDING.yml
workflows/
objective-c-xcode.lmy
.gitignore
ArchiveDropView.h
ArchiveDropView.m
Assets/
arrow-down.png
arrow-down.svg
drop_icon.pxm
extractor.pxm
folder.png
folder.svg
package.png
package.svg
WebArchiveExtractor.icns
WebArchiveExtractor.png
Base.lproj/
MainMenu.nib/
designable.nib
keyedobjects.nib
CHANGES.rtf
docs/
claude.png
en.lproj/
InfoPlist.strings
extract_archive.png
Extractor.h
Extractor.m
Info.plist
LICENSE.md
main.m
MenuDelegate.h
MenuDelegate.m
OutputType.h
OutputType.m
OutputTypeController.h
OutputTypeController.m
README.md
skills/
webarchive/
SKILL.md
WebArchive Extractor/
Images.xcassets/
AppIcon.appiconset/
Contents.json
extractor-1.png
extractor-2.png
extractor-3.png
extractor-4.png
extractor-5.png
extractor-6.png
extractor-7.png
extractor-8.png
extractor-9.png
extractor.png
Contents.json
WebArchiveController.h
WebArchiveController.m
WebArchiveExtractor_Prefix.pch
WebArchiveExtractor.entitlements
WebArchiveExtractor.sdef
WebArchiveExtractor.xcodeproj/
project.pbxproj
robrohan.mode1
robrohan.pbxuser
xcshareddata/
xcschemes/
WebArchiveExtractor.xcscheme
WebArchiveExtractorHelp.help/
extractor.png
index.html
Info.plist
Screen Shot 2018-07-14 at 4.05.59 PM.png
Screen Shot 2018-07-14 at 4.06.09 PM.png
Screen Shot 2018-07-14 at 4.06.26 PM.png
WebArchiveExtractorHelp.cshelpindex
WebArchiveExtractorHelp.helpindex
WebArchiveExtractorHelp.webarchiveFAQ
webarchiveextractor is a Claude Code plugin with 1 hand-picked skill for data work, indexed on Flowy. Install it with the command on its page. It includes webarchive. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.