Skip to content

Zip to Text Extractor

This API is a specialized tool for developers and AI engineers. It downloads a remote ZIP file, recursively extracts every file inside, and compiles them into a single, structured .txt file.

This can be useful for feeding an entire project codebase into Large Language Models (LLMs) like ChatGPT, Claude, DeepSeekz etc. for analysis without manually copying and pasting files.

POST /api/v1/unzip

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
urlstringYesDirect URL to the .zip file (e.g., a GitHub repository archive link).
includeBinarybooleanOptionalIf true, images/PDFs are converted to Base64. If false, they are skipped to save space. (Default: false).

Choose your preferred method to interact with the Unzip API:

Terminal window
curl -X POST https://heavstal.com.ng/api/v1/unzip \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"url": "https://github.com/HeavstalTech/api/archive/refs/heads/main.zip", "includeBinary": false}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"source": "https://github.com/...",
"result_file": "https://files.catbox.moe/codebase.txt",
"format": "txt",
"binary_included": false
}
}