Zip
FileTools
Description
Create ZIP archives from files and directories with professional compression! The Zip tool packs individual files, entire folders, or complex directory structures into compressed archives - perfect for backups, distribution, and storage space optimization.
With optional base directory inclusion, you keep control over the internal archive structure. Create clean, portable archives for any application.
Why This Tool Stands Out
- Compression saves storage space
- Multiple Files in one archive
- Directory Structure is preserved
- Backup Creation automated
Perfect for:
System administrators who create backups; developers who build release packages; support teams who send log collections; and anyone who needs to compress and archive files. Ideal for regular backups and file distribution.
Workflow support; time savings depend on the task
Instead of selecting files manually, dragging them into a ZIP program, and adjusting settings, create archives with a single API call - including the correct directory structure and optimal compression.
JSON Parameters
- sourcePath REQUIRED (String)The path of the file or directory to archive. Example: "C:\\Documents\\Project"
- zipFilePath REQUIRED (String)The path of the ZIP archive to create. Example: "D:\\Backup\\projekt.zip"
- includeBase OPTIONAL (Boolean)If true, the source directory itself is included in the archive. If false, only its contents. Default: true
Example Call
{
"tool": "Zip",
"params": {
"sourcePath": "C:\\Projects\\MyApp",
"zipFilePath": "D:\\Backups\\myapp_2024.zip",
"includeBase": true
}
}
Example Usage
- "Create a backup ZIP of my project folder with today's date"
Return Values
The tool returns an object with the following properties:
- success (Boolean)
True if the archive was created successfully - zipFilePath (String)
The full path of the created archive - filesAdded (Integer)
Number of files added to the archive - originalSize (Integer)
Original total size in bytes - compressedSize (Integer)
Compressed size of the archive in bytes - error (String, optional)
Error message if the creation failed
Related Tools
Download for Free
Get started with FileTools today - free and secure for Windows
Download Now