> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/data-export/data-exports/csv-excel.md).

# CSV / Excel

The Comma Separated Value file format is a standard text based format that can be imported in almost any modern reporting tool like Excel.

The CSV export offers a wide range of properties to format your CSV file as needed.

## 🔅 CSV export properties

* **`CSV output`** defines how the question and answers will be layout in the CSV columns. You can choose to layout each answer as an [individual column](/form-management/data-export/data-exports/csv-excel/csv-individual-answers.md), pivot all the questions using [questions as rows ](/form-management/data-export/data-exports/csv-excel/questions-as-rows.md)or to [separate the selection answers and fields](/form-management/data-export/data-exports/csv-excel/csv-separated-selection-fields.md) in columns.
* **`Column header template`** formats the CSV header column as we need. {0} will be replaced by the answer text or id or display order and {1} will be replaced by the question text or id or display order. You may also omit those tags and use any custom string.
* **`Column header output`** defines what values to use to replace the {0} / {1} inside the header template column.
* **`Columns filter`** allows you to choose which questions / answers will be part of the export.&#x20;
* **`Field delimiter`** is the char that will act as a delimiter between the exported answers columns inside a CSV.
* **`Text delimiter`** is the char that will act as a delimiter between the text entries inside a CSV.
* **`Replace CR`** is the char that will replace "new line" character. Some tools like Excel or Access might encounter problems with "new line" characters inside a row. We suggest replacing it with a custom char before replacing it again after having imported the data inside the target tool.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/form-management/data-export/data-exports/csv-excel.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
