---
title: "unzip · RUAL Documentation"
description: "Unzips the given file"
canonical: https://docs.rual.nl/block-types/zip/function_unzip
language: en
---

# unzip

This block is part of the [`zip`](https://docs.rual.nl/block-types/zip) group and was last modified in core [`v12.0.7`](https://docs.rual.nl/core-versions/120007).

Unzips the given file

- flow `flow`

- file required `file` The zip to be unpacked

- flow `flow`

- success `condition`

- error `value`

- file `file`

A typical wiring for [unzip](https://docs.rual.nl/block-types/zip/function_unzip): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [get file from assets](https://docs.rual.nl/block-types/files/file_from_assets) feeds the `file` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the unzip block: typical wiring for unzip.](https://docs.rual.nl/canvas-examples/function_unzip.png)

### Version history

Introduced in [`v12.0.7`](https://docs.rual.nl/core-versions/120007).
