# Import/Export (CSV)

You can import and export your localized text assets with [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) files easily.

### Exporting to CSV File

Follow these steps to export your text assets as [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) file:

```
Window -> GameToolkit -> Localization -> Export .csv
```

It will create a [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) file to path you selected.&#x20;

{% hint style="info" %}
Languages that are included in [localization settings](/gametoolkit-localization/getting-started.md#3-localization-settings) can be exported only.
{% endhint %}

![Example CSV File](/files/-M2jscFFa5jW3mHbZ6BL)

### Importing from CSV File

Follow these steps to import a [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) file to your project:

```
Window -> GameToolkit -> Localization -> Import .csv
```

It will create text assets which does not exist before, and updates ones that are exist before. There are few rules for importing a [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) file successfully:

* The first record must be a "header", which contains column names in each of the fields
  * The first column of the first record is the asset name (Key).
  * Following columns are the languages that are used in the project.
    * Language column must have [ISO-639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). If the column has any other data like language name or something like that, it must be separated by whitespace from the language code.
* Following records contains localized text values regarding to the corresponding language.
  * The first column must have the asset name (Key) that must be unique.

You can specify import location for newly created localized text assets from [localization settings](/gametoolkit-localization/getting-started.md#3-localization-settings).


---

# Agent Instructions: 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:

```
GET https://hibrahimpenekli.gitbook.io/gametoolkit-localization/import-export-csv.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
