South Star

ZIP Builder JSON to ZIP Text Base64 Files API

Free tier included · Tools
Turn a JSON payload into a real ZIP archive in one call — text files, base64 binary files, nested folders, UTF-8 names. Nothing stored.

Every stack eventually needs a ZIP: export bundles, generated reports, invoice packs, data deliveries, asset dumps. Doing it server-side normally means pulling in a zip library, wiring a temp directory, cleaning up files, and getting the fiddly parts right — folder entries, the UTF-8 name flag, `Content-Disposition` for non-ASCII download names, and path-traversal defence. ZIP Builder removes all of that: you POST JSON, you get `application/zip` back.

The request body holds a `files` array. Each entry has a `name` plus either `text` (written as UTF-8) or `content_base64` (decoded and written as raw bytes), so the same call can bundle CSV, JSON and HTML text alongside PNGs, PDFs or any other binary you already hold. Names may include relative paths — `docs/a.txt` creates the `docs` folder inside the archive — while absolute paths, `..`, `.`/empty segments, drive letters, backslashes, control characters and duplicate names are rejected up front. Non-ASCII names get the ZIP UTF-8 flag, and `archive_name` is returned through an RFC 6266 / 5987 `Content-Disposition` with an ASCII fallback.

Who it is for: backend teams generating on-demand export bundles, serverless functions without disk or writable temp storage, automation/no-code flows that must emit a downloadable archive, and QA pipelines that need fixture archives built deterministically.

Honest limits: max 50 files per archive, 10 MB per file, 50 MB total, and the whole archive is assembled in memory — so it is not the tool for multi-gigabyte archives. Processing is stateless: nothing is written to disk and no archive is retained after the response.

Endpoints

MethodPathWhat it does
POST/buildBuild a ZIP archive from a JSON body of files (each with name and either text or content_base64) and return it as application/zip. Optional archive_name sets the download filename.

Quick start

curl -X POST "https://zipbuilder.p.rapidapi.com/build" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: zipbuilder.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "archive_name": "report.zip",
    "files": [
      {"name": "docs/readme.txt", "text": "Generated by ZIP Builder"},
      {"name": "data/report.csv", "text": "id,total\n1,42\n2,99\n"},
      {"name": "assets/logo.png", "content_base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8DwHwAFAAH/q842iQAAAABJRU5ErkJggg=="}
    ]
  }' \
  -o report.zip -D -

FAQ

How big can one archive be?

Up to 50 files, 10 MB per file and 50 MB total per request. The archive is built in memory, so keep requests within those limits — for larger jobs, split the content across several archives.

Do you store my files or the archive you return?

No. The service is stateless: entries are decoded into memory, zipped, returned, and dropped. Nothing is written to disk, no archive is retained and no cross-request state exists.

How do I include binary files like PNGs or PDFs?

Base64-encode them and send the string as `content_base64`. Text entries use `text` instead. Both kinds can be mixed freely in the same `files` array, and each entry needs exactly one of the two.

Can I create folders inside the archive?

Yes — use relative paths such as `docs/2026/report.csv`. Absolute paths, `..` traversal, backslashes, drive letters, control characters and duplicate names are rejected, so the archive is safe to extract anywhere.

Try ZIP Builder JSON to ZIP Text Base64 Files free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs