Skip to content
Docs menu

Convert to ZIP

ZIP Archive. The API converts 17 formats to ZIP. This target has no options.

curl https://api.switchfile.io/v1/convert \
  -H "Authorization: Bearer $SWITCHFILE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/input.7z","to":"zip"}'

From 17 formats

7z, bz2, cpio, gz, jar, lzma, rar, tar, tar.bz2, tar.gz, tar.xz, tar.zst, tbz2, tgz, txz, xz, zst

No options. The file is converted with the usual settings for ZIP.