# 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​](https://docs.bdb.ai/data-pipeline-3/components/component-base-configuration)​
* Meta Information
* [Resource Configuration​](https://docs.bdb.ai/data-pipeline-3/components/resource-configuration)​

{% 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://content.gitbook.com/content/c39ZvXI46qjXzpN3rYAg/blobs/0kUhIhO9ixdEw8BO3KPD/image.png" alt=""><figcaption></figcaption></figure>
