---
updatedAt: 2026-09-30T13:47:12.000Z
agentTools:
  projectIndex: https://developers.localizejs.com/llms.txt
---

# Import / Export for Web - for Developers

For backup, sending to translation agencies, using offline tools, etc.

From the Localize dashboard, you can import and export phrases and website translations in various file formats.

You can also import/export [Glossary](https://help.localizejs.com/docs/glossary) terms.

To import or export simply go to the [File Import / Export](https://app.localizejs.com/files/import) page in your dashboard.

Below you will find basic instructions for importing/exporting any of the supported file types for Web projects.

## Supported File Formats

For details on the requirements for the various file formats supported in web projects, select a project type and a file format below to view our developer docs for that format.

### Website / Web App: Javascript Projects

* [CSV](https://developers.localizejs.com/docs/csv-import-export-for-web)
* [JSON](https://developers.localizejs.com/docs/json-import-export-for-web)
* [PO](https://developers.localizejs.com/docs/po-import-export)
* [RESX](https://developers.localizejs.com/docs/resx-import-export)
* [XLIFF](https://developers.localizejs.com/docs/xliff-import-export)
* [XML](https://developers.localizejs.com/docs/xml-import-export)

> 🚧 UTF-8 Character Encoding
>
> Be sure that you are using the UTF-8 character encoding when working with the external files you are creating for importing purposes, so that special characters like accents are encoded properly.

## Importing Files

Importing your source language phrases into the Localize platform and translation workflow allows you to invite your translators to add/edit translations or to order professional translations from one of our third-party providers directly through our platform. You can also import phrases and translations that were done outside of Localize.

Before importing, ensure your file adheres to the file requirements for the file type you are importing. You can find these requirements on the page for that file format.

Navigate to the [File Import / Export: Import](https://app.localizejs.com/files/import) tab in your dashboard.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/cf06207-Import_Phrases.png",
        "",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

> 📘 Sample Files
>
> You can download a sample file of the format of choice by clicking on its icon and then clicking the **Download Sample** button. Use this as a guide for creating your import files.

1. Drag-and-drop a file to import into the box, or select a file to import (or use Google Drive).
   1. If you have multiple files to import, repeat.
   2. You can also import a ZIP file that contains multiple import files.
2. The file type will be auto-detected and displayed.
   1. If it's incorrect, select the appropriate format from the drop-down.
   2. Repeat this for each file you are importing.
3. The language will be auto-detected and displayed.

   1. If it's incorrect, select the appropriate language.

   2. Repeat this for each file you are importing.

[block:image]{"images":[{"image":["https://files.readme.io/6213fb5a1aa0f7d8f2a36f6aded4c1db55ea00b6f0f99f2986c485bd7193e87c-Import_with_1_File_Selected_v3.png","",""],"align":"center","border":true}]}[/block]

4. Select the **Respect Phrase State** checkbox if you want existing phrases to retain their current state in the dashboard (e.g., existing phrases in the **Blocked** bin won't be moved to the **Published** bin).
5. You can add any **Labels** to the phrase by selecting one or more from the list or creating a new one by clicking the plus button.
6. Select the **Replace labels on duplicate imported phrases** checkbox if you want new labels to replace the old ones on an existing phrase.
7. 1. When not checked, the new labels are added to any existing ones.
8. Specify the import type: **Phrases** or **Glossary terms**
9. Select the **Mark all phrases as human** checkbox if a human has reviewed all phrases.
10. Click the **Submit** button.
11. Wait for the file(s) to be uploaded.
12. Success! View the file details to see how many phrases were created, updated, etc.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/4c22992-Multi-file_Import_Success.png",
        "Success.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

If there are any errors during the import process you will be notified with a message describing the error.

All phrases in the import file will be categorized as follows:

* **Created**
  * A new phrase was created.
* **Updated**
  * An existing phrase was updated.
* **Unchanged**
  * The source phrase and translation matched the existing content so no action was taken.
* **Ignored**
  * Not applicable in an import for a web project.

> 🚧 Results of Importing Translations
>
> When you import translations, your Localize dashboard gets updated:
>
> * existing translations will be overwritten
> * new translations will be added from the file that you upload
> * by default, phrases will have the **Import** tag applied
>   * If you opt to select the **Mark all phrases as human reviewed.** checkbox, then the phrases will be marked with your name, indicating that those phrases were marked as human.
>
> **Destination After Import**
>
> * If you are using the Translation QA Workflow, then your imported phrases will be automatically moved to one of the Translation QA bins, either **Needs Review** or **Needs Translation**.
> * If you are NOT using the Translation QA Workflow, then your imported phrases will be automatically moved to the **Published** bin, whether they have translations or not.

### Import with Pluralized Phrases

Note, if a phrase is pluralized, then it will have multiple translations for a single source phrase. Unless otherwise noted in a specific file format, all translations will be imported together, separated by 4 vertical bars ||||.

Source phrase:\
`Your trial ends in <var count=""></var> days`

Translation:\
`Su prueba termina en <var count=""></var> día||||Su prueba termina en <var count=""></var> días`

## Import History

After your import has been completed, you can view the status under [Import History](https://app.localizejs.com/files/past-imports).

* If your import is successful, you can click **View** to see:
  * How many phrases were created/updated/unchanged/ignored
  * Language
  * File format
* If your import fails, click **Review Error** to see details about the error.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/6346f1b-Import_History_listing_with_errors_v2.png",
        "Import History listing with errors.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

***

## Exporting Files

You can export your translations for backup purposes, send them to your translators (who can translate your content using a third-party tool), or delegate the translation process to a translation service of your choice.

Navigate to the [File Import / Export: Export](https://app.localizejs.com/files/export) tab in your dashboard.

1. Specify the export type: **Phrases** or **Glossary terms**
2. Select the desired file type under **File Format**.
3. Select a filter that will determine which phrases get exported:
   1. If using the [Translation QA Workflow](https://help.localizejs.com/docs/translation-qa):\
      a. Published translations\
      b. AI translations\
      c. Human translations\
      d. No translations\
      e. Needs human translations\
      f. Translations that need review\
      g. Phrases that need translations\
      h. Phrases with rejected translations
   2. If *not* using the Translation QA Workflow:\
      a. Published translations\
      b. AI translations\
      c. Human translations\
      d. No translations\
      e. Needs human translations
4. Select the language(s) you are exporting.
   1. If you select multiple languages, a separate file will be downloaded for each selected language.
   2. See the note below: **Exporting Multiple Files Simultaneously**
5. Select the destination drive to which you would like to export your file(s).
   1. Desktop
   2. Google Drive
6. Click the **Export** button.
7. Wait for your download to complete, then close the popup dialog.
8. If you selected **Google Drive** as your destination above:
   1. If this is your first time using Google Drive in your Localize dashboard you'll be asked to connect with your Google Drive account.
   2. Otherwise, you'll be asked if you want to save the file(s) in your main drive or in a specific folder.

<br />

> 🚧 Exporting Multiple Files Simultaneously
>
> If you choose to export multiple files in a single export, a separate file will be downloaded for each chosen language. For security purposes, some browsers will not allow this and will only download 1 file. To enable multi-file downloads, follow these instructions:
>
> **Google Chrome:**
>
> 1. Bring up **Settings** in the browser.
> 2. Select **Privacy and security**.
> 3. In the **Content** section select **Pop-ups and redirects**.
> 4. In the **Allowed to send pop-ups and use redirects** section click **Add**.
> 5. Enter [app.localizejs.com](https://app.localizejs.com/) and click **Add**.
>
> **Microsoft Edge:**
>
> 1. Bring up **Settings** in the browser.
> 2. Select **Cookies and site permissions**.
> 3. Select **Pop-ups and redirects**.
> 4. In the **Allow** section click the **Add** button.
> 5. Enter [app.localizejs.com](https://app.localizejs.com/) and click **Add**.

### Export with Pluralized Phrases

Note, if a phrase is pluralized, then it will have multiple translations for a single source phrase. Unless otherwise noted in a specific file format, all translations will be exported together, separated by 4 vertical bars ||||.

Translators working in the exported file will need to be made aware of, and maintain these separating bars.

Source phrase:\
`Your trial ends in <var count=""></var> days`

Translation:\
`Su prueba termina en <var count=""></var> día||||Su prueba termina en <var count=""></var> días`

## Exporting Selected Phrases

Alternatively, you can filter exactly which phrases you want to export on the [Manage Phrases page](https://app.localizejs.com/phrases?page=1\&state=active). [Find out how...](https://help.localizejs.com/docs/exporting-selected-phrases).

## Text Import

Localize will automatically import content on your website in a web-based project. However, manually importing phrases can be useful for translating content before it's live on your website.

To manually import phrases in text or HTML format, navigate to [Phrases > File Import / Export > Text Import](https://app.localizejs.com/files/text-import). You will see the following screen.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/bd3f4f5-Text_Import_screen_3.png",
        "Text_Import_screen 2.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

> ❗️ Security Warning
>
> Do not copy and paste text from an untrusted source into the box below. Malicious Javascript contained in your submission may compromise the security of your account. Do not proceed if you do not accept and understand this security advisory.

You can import plain text phrases separated by line breaks, or raw HTML.

1. Select the **Text** or **HTML** choice.\
   a. If pasting text: phrases should be separated by line break (inline HTML allowed)\
   b. If pasting HTML: phrases will be extracted from the HTML
2. Paste in the text or HTML
3. Select **Add Phrases**
4. A pop-up dialog will be seen showing whether the import was successful or not.\
   a. Note: this type of import will not show up on the Import History page.
5. To view the imported phrases, go to your
   1. [Pending bin](https://app.localizejs.com/phrases?page=1\&state=pending) for a web-based project.
   2. [Needs Review bin](https://app.localizejs.com/phrases?page=1\&state=active\&inProgressState=review) if using the Translation QA workflow.

> 📘 Supported Browsers for Text Import
>
> The Text Import feature has been verified to work in the latest versions following browsers:
>
> * Windows: Chrome, Firefox
> * Macintosh: Chrome, Firefox, Safari
>
> It does **NOT** work in the following browsers:
>
> * Windows: Internet Explorer, Edge