# string_split

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

---
title: string_split
latest-operator-version: v26.2.5
latest-console-tag: v3.14.0
latest-connect-version: 4.117.0
latest-redpanda-tag: v26.2.6
docname: connect/components/processors/string_split
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/processors/string_split.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/processors/string_split.adoc
description: Splits a string by a delimiter into an array. Generally, using bloblang's split method is preferred. In some high performance use cases this processor can be faster than the equivalent bloblang if there is no additional logic.
page-git-created-date: "2026-04-08"
page-git-modified-date: "2026-10-19"
page-generated-sources:
  - include: connect:components:partial$descriptions/processors/string_split.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/processors/string_split.md -->

Splits a string by a delimiter into an array. Generally, using bloblang’s `split` method is preferred. In some high performance use cases this processor can be faster than the equivalent bloblang if there is no additional logic.

#### Common

```yml
processor:
  label: ""
  string_split:
    delimiter: |+

    empty_as_null: false
```

#### Advanced

```yml
processor:
  label: ""
  string_split:
    delimiter: |+

    emit_bytes: false
    empty_as_null: false
```

## [](#fields)Fields

### [](#delimiter)`delimiter`

The delimiter to split the string by.

**Type**: `string`

**Default**: `"\n"`

### [](#emit_bytes)`emit_bytes`

When true, the output will be bloblang bytes instead of strings.

**Type**: `bool`

**Default**: `false`

### [](#empty_as_null)`empty_as_null`

When true, empty strings resulting from the split are converted to null.

**Type**: `bool`

**Default**: `false`