explaingit

kallunwillock/chibiarc

Analysis updated 2026-05-18

13VBAAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A VBA module for Office apps like Excel and Word that lets macros create, read, and extract ZIP, 7-Zip, TAR, and ISO archives with optional AES encryption.

Mindmap

mindmap
  root((ChibiArc))
    What it does
      Create archives
      Extract archives
      Mount ISOs
    Formats
      ZIP and 7-Zip
      TAR variants
      ISO read-only
    Encryption
      AES 128 192 256
      ZipCrypto compat
    Tech
      VBA
      libarchive DLL
      Win32 API
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Zip up a folder of generated Excel reports from a macro and save or email the archive automatically.

USE CASE 2

Extract files from a ZIP or 7-Zip archive as part of an automated Office data import pipeline.

USE CASE 3

Create an AES-256 encrypted ZIP of sensitive documents directly from a Word or Excel macro.

USE CASE 4

Mount an ISO image as a virtual drive from within an Office macro to access its contents.

What is it built with?

VBAlibarchiveWin32 APIarchiveint.dll

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires archiveint.dll to be placed on the Windows machine running Office alongside the VBA project.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

ChibiArc is a single-file module for Microsoft Office applications like Excel or Word that lets you create and extract compressed archive files from within VBA code. VBA is the scripting language built into Office programs. If you have ever wanted to zip up files or unzip an archive as part of an automated spreadsheet macro or Word script, ChibiArc handles that. The module supports a range of archive formats. ZIP, 7-Zip, and most TAR variants can be both created and extracted. ISO files can be mounted as virtual drives and then removed. CAB and RAR files can be extracted but not created. Encryption is included. You can protect ZIP archives with AES-128, AES-192, or AES-256 encryption, or with the older ZipCrypto standard. The README explains the tradeoff clearly: ZipCrypto works with Windows Explorer natively, which is convenient for sending files to someone without special software, but it is considered weak by modern security standards. AES is more secure but requires software like 7-Zip or ChibiArc itself to open the result. Setup requires placing the VBA class file into your Office project and having the companion DLL file (archiveint.dll) available on the Windows machine. All compression and decompression work is handled by that DLL, which wraps a well-known library called libarchive. The module handles full Unicode filenames, including Chinese and Japanese characters. The module works only on Windows and requires 64-bit Office. It was written by Kallun Willock, with AES encryption adapted from open-source VBA work by WQWeto. The license is MIT.

Copy-paste prompts

Prompt 1
Using KallunWillock/ChibiArc in Excel VBA, write a macro that zips all .xlsx files in a folder and saves the archive to a specified path.
Prompt 2
Show me how to create an AES-256 encrypted ZIP file using ChibiArc in VBA with a password.
Prompt 3
Write a VBA macro using ChibiArc that opens a ZIP archive, lists all .pdf files, and extracts them to a temp folder.
Prompt 4
How do I use ChibiArc to mount an ISO image as a virtual drive and read its contents from an Excel macro?
Prompt 5
In ChibiArc VBA, how do I set ConflictMode to rename duplicate files when extracting an archive?

Frequently asked questions

What is chibiarc?

A VBA module for Office apps like Excel and Word that lets macros create, read, and extract ZIP, 7-Zip, TAR, and ISO archives with optional AES encryption.

What language is chibiarc written in?

Mainly VBA. The stack also includes VBA, libarchive, Win32 API.

What license does chibiarc use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is chibiarc to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is chibiarc for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub kallunwillock on gitmyhub

Verify against the repo before relying on details.