---
title: decompress
latest-connect-version: 4.118.0
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-redpanda-tag: v26.2.7
docname: scanners/decompress
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: scanners/decompress.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/scanners/decompress.adoc
description: Decompress the stream of bytes according to an algorithm, before feeding it into a child scanner.
page-context-switcher:
  - name: Scanner
    to: /connect/components/scanners/decompress/
  - name: Processor
    to: /connect/components/processors/decompress/
page-cloud-available: "true"
page-cloud-available-url: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/scanners/decompress/
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-10-29"
page-generated-sources:
  - include: connect:components:partial$descriptions/scanners/decompress.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$availability/scanners/decompress.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$fields/scanners/decompress.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

# decompress

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

<!-- Source: https://docs.redpanda.com/connect/components/scanners/decompress.md -->

Decompress the stream of bytes according to an algorithm, before feeding it into a child scanner.

#### Common

```yml
scanner:
  decompress:
    algorithm: "" # No default (required)
    into:
      to_the_end: {}
```

#### Advanced

```yml
scanner:
  decompress:
    algorithm: "" # No default (required)
    into:
      to_the_end: {}
```

## Fields

### `algorithm`

One of `gzip`, `pgzip`, `zlib`, `bzip2`, `flate`, `snappy`, `lz4`, `zstd`.

**Type**: `string`

### `into`

The child scanner to feed the decompressed stream into.

**Type**: `scanner`

**Default**:

```yaml
to_the_end: {}
```