> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Text

<CardGroup cols={2}>
  <Card title="Path, Text" href="#path-text" />

  <Card title="Path, Text" href="#path-text" />
</CardGroup>

***

## About this Block

**What it does:**
Exports text to a file. The text input can come from Concatenate Text, Text from Scalar, Validate, or Text Variable blocks. Files can be exported as either Text File (TXT) or Comma-Separated Value file (CSV).

**Common uses:**

* Exporting text files for use in alternative software.

**Tips:**

* Can export a list of text to a single file
* Scalar results can be converted to text using Text from Scalar, and text blocks can be combined using Concatenate Text, allowing for comma-separated tables of data to be exported to a text file
* List processing can be used to export multiple text objects to multiple files. Just be sure to specify different file paths for each text object (using a File Path List) so the files don’t get overwritten.
* Can be used for the analysis of lattice beam angles
* For information on all import/export file types: ([https://support.ntopology.com/hc/articles/360048249514](https://support.ntopology.com/hc/articles/360048249514))

***

<h2 id="path-text">
  Path, Text
</h2>

Export list of text objects to a file.

### Inputs

| Name | Type                                                    | Description                       |
| ---- | ------------------------------------------------------- | --------------------------------- |
| Path | [Path](../../../../block-documentation/types/path)      | Path to export the text to.       |
| Text | [Text List](../../../../block-documentation/types/text) | The text list to write to a file. |

### Outputs

| Type                                                         |
| ------------------------------------------------------------ |
| [Text File](../../../../block-documentation/types/text-file) |

***

<h2 id="path-text">
  Path, Text
</h2>

Export text to a file.

### Inputs

| Name | Type                                               | Description                 |
| ---- | -------------------------------------------------- | --------------------------- |
| Path | [Path](../../../../block-documentation/types/path) | Path to export the text to. |
| Text | [Text](../../../../block-documentation/types/text) | Text to write to a file.    |

### Outputs

| Type                                                         |
| ------------------------------------------------------------ |
| [Text File](../../../../block-documentation/types/text-file) |
