> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline-5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline-5/components/transformations/file-splitter.md).

# File Splitter

The File Splitter component is designed to split one or more files based on specified conditions.

All component configurations are classified broadly into 3 section

* ​[​Basic Information​](/data-pipeline-5/components/component-base-configuration.md)​
* Meta Information
* [Resource Configuration​](/data-pipeline-5/components/resource-configuration.md)​

{% hint style="success" %}
*Follow the given steps in the demonstration to configure the File Splitter component.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FnskO0QAhfGC8DCLkiFQi%2Ffile%20splitter%20(online-video-cutter.com)%20(1).mp4?alt=media&token=50a0ed1d-f793-4f00-8f00-9b40d01f3fbd>" %}
Configuring the File Splitter component
{% endembed %}

## **Configuring Meta Information of File Splitter Component**

* **Split Type:** The condition based on which the files are splitted. We have 5 supported file split type:
  1. **By File Format**
  2. **By File Name**
  3. **By RegExp**
  4. **By Excel Sheet Name**
  5. **By Excel Sheet Number**
* **No. of Outputs:** Select the total number of output(1-5) &#x20;
* **Details:** Mapping of each output to out-event.
  * **Out Event:** Event/Topic selected automatically.&#x20;
  * **File Type:** Select the right file format for each of the file **(PDF,CSV,EXCEL,OTHERS).**

<figure><img src="https://2386645923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ZP8JhQPMmuTgMyLMcCU%2Fuploads%2FihN85CuSYXdAGLFlxMOd%2Fimage.png?alt=media&amp;token=2720c5b2-0eb2-4558-ac44-8e02265d758e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">**Please Note:**</mark> <mark style="color:red;">The user will not be able to copy and paste File Splitter component in the pipeline as the Copy option has been disabled for File Splitter.</mark>*
{% endhint %}
