# ZIP Tools

> Create ZIP archives and extract them, entirely in your browser.

Free ZIP creator and extractor with no uploads. Drop files to bundle them into a ZIP, or drop a ZIP to list and download its contents one by one. Path traversal is blocked and everything runs on this device.

- Page: https://benchline.fabwaseem.com/t/zip-tools
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: Files to archive, or a ZIP archive to extract.
- Output: A downloadable ZIP file, or the archive's file list with per-file downloads.
- Keywords: zip files online, create zip, unzip online, extract zip, zip archive
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Create a ZIP.** Switch to Create ZIP, drop up to 200 files, then download the archive.
2. **Extract a ZIP.** Switch to Extract, drop a .zip file, and browse its contents.
3. **Download what you need.** Each extracted file has its own download button — take one file or all of them.

## Use it from an AI agent

MCP tool name: `zip_files`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/zip-tools with the input as the JSON body
This call fetches a public URL on the server. Private addresses are refused.

Create a ZIP archive from files or list and extract the contents of a ZIP archive. Everything is handled in memory; no files are stored.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "mode": {
      "default": "zip",
      "type": "string",
      "enum": [
        "zip",
        "unzip"
      ]
    },
    "files": {
      "description": "Files to zip (zip mode).",
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "data": {
            "type": "string",
            "description": "Base64 file bytes."
          }
        },
        "required": [
          "name",
          "data"
        ],
        "additionalProperties": false
      }
    },
    "archive": {
      "description": "Archive to extract (unzip mode).",
      "type": "object",
      "properties": {
        "data": {
          "type": "string",
          "description": "Base64 ZIP bytes."
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "data"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "mode"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "zip_files",
    "arguments": {
      "mode": "zip"
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### Are my files uploaded?

No. Files are read into the page and zipped or unzipped with fflate right here in the browser. Nothing leaves your device.

### Is there a size limit?

Yes: 200 files and 100 MB total per archive, in either direction. That keeps the tab responsive.

### Is it safe to open an untrusted ZIP?

Entry names are sanitized — absolute paths and .. segments are rejected — and extraction happens in memory, never touching your filesystem beyond the files you choose to download.

### Can I unzip password-protected archives?

No. Encrypted ZIPs are not supported; the tool will tell you the archive is invalid.

## Related tools

- [Merge PDF](https://benchline.fabwaseem.com/t/pdf-merge): Combine PDFs in the browser. Reorder them, keep a page range from each file, and download one document.
- [Image compressor](https://benchline.fabwaseem.com/t/image-compress): Shrink JPEG, PNG, WebP, and AVIF in the browser, with the real before and after size.
- [Base64 codec](https://benchline.fabwaseem.com/t/base64-codec): Encode and decode Base64 for text or a file, including the URL-safe alphabet.
