ForHosting KIT · Data & Files

Create a ZIP from text entries

Bundle up to 50 pasted text entries into one standard ZIP, with safe subfolders such as docs/readme.txt kept, ready to send or archive. Content is packed as it is, not shrunk, so any common system opens it. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon

Create a downloadable ZIP from text you paste into up to 50 named entries. The browser tool keeps safe relative folder paths and runs locally; PDF, image, and other binary upload is not available here yet.

One download instead of a pile of text files

Settings files, logs, pieces of a CSV, notes and generated text often belong together in a single download. Here you add one row per entry, give it a name or a safe relative path, paste its text and download one standard ZIP that common operating systems can open without extra software. A path such as docs/readme.txt places the entry inside a docs folder, so the archive arrives already organised. You can add up to 50 entries, with up to 32 MB of text in total, and the archive is built locally in your browser. Typical uses are handing over a finished project with its readme, licence and settings in their subfolders, or packing a batch of generated reports into one file.

Bundling, not compressing, and what is not accepted yet

The archive uses the store method: it packs the bytes exactly as they are, without trying to make them smaller. That keeps the output identical every time and readable by practically any tool, but it also means the ZIP is about the same size as the texts you put in. If your goal is a lighter file, this is not the step that achieves it. The most common surprise is expecting a big reduction from a folder of logs. The other limit is the kind of content: entries are text in UTF-8, so PDFs, images and other binary files cannot be added here until that kind of upload is supported.

The small task that's easy to skip and expensive to skip badly

Configuration files, logs, CSV snippets, source notes, and generated text often belong in one download. Add one row per entry, give it a safe relative path, paste its text, and download one standard ZIP.

What goes in and what comes out

Each entry has a file name or relative path plus UTF-8 text content. The create zip file api preserves safe subfolders such as docs/readme.txt and returns a standard ZIP that common operating systems can open.

A format older than most of the software that uses it

The archive uses ZIP's store method: it packages bytes without trying to reduce their size. That keeps output deterministic and widely compatible, but it is bundling rather than size compression.

Where it fits into a pipeline

Use it after generating a group of text artifacts such as logs, configuration, CSV, or documentation. Binary source files need a different upload-aware workflow until that input is added here.

Delivering a finished project

A developer packages README, license, and configuration text under safe subfolders.

Log archiving

An automated job bundles the previous day's text logs into one archive.

Batch report packaging

A reporting service packages up to 50 generated CSV or text reports into one archive.

Can I preserve a folder structure inside the ZIP?

Yes, folder paths provided with the files are preserved in the resulting archive, so the ZIP opens with the same structure you specified.

What archive format does it produce?

It produces a standard ZIP archive, openable with the built-in tools on every major operating system and any ZIP-compatible library.

Where is the content processed?

The free form builds the ZIP locally in your browser.

Will the ZIP be smaller than the original texts?

No. The archive uses the store method, which packages the content without trying to reduce its size. That keeps the result predictable and opens everywhere, but it is bundling rather than compression.

Can I add PDFs or images to the archive?

Not yet. Each entry is a name or folder path plus text that you paste, so PDFs, images and other binary files cannot be added here; they need a different workflow that accepts uploads.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/data/zip

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/data/zip \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"files":[{"name":"a.txt","content":"hola"}]}'
{
  "files": [
    {
      "name": "a.txt",
      "content": "hola"
    }
  ]
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "data.zip",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_mb25
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

How the request and pricing work

POST up to 50 {name, content} text entries to /data/zip. The call returns a task_id and the finished archive is delivered through your signed webhook or result link. Pricing is $0.002 per request, and a failed task is never billed.

Bundled data export

A SaaS platform bundles a CSV export, a JSON manifest, and a text summary into one download.

How do I create a ZIP file with an API?

POST up to 50 objects with name and text content to /data/zip. The API returns a task_id and delivers the ZIP through the normal task result flow.

Is this API free to use?

The tool above runs free in your browser. The API is paid — each call draws from your prepaid ForHosting KIT balance: top up from $10.00 (it never expires), pay each request's published price, and a call with no balance returns HTTP 402. No subscription, no tokens, and a failed task is never charged.

Does the price change based on how many files I include?

No. The price is $0.002 per request, with a maximum of 50 text entries.

Can I upload PDF, image, or other binary files here?

Not yet. This browser form and the current API contract accept up to 50 UTF-8 text entries. Binary file upload needs an upload-aware capability.

Is the ZIP API live now?

Yes, this endpoint is live today at the published price of $0.002 per request.

Read the full KIT documentation →