> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
