# Import Conversations (https://www.librechat.ai/docs/features/import_convos)

Conversations Import lets you bring conversations exported from other AI chat applications into LibreChat. Supported sources are [ChatGPT](https://chatgpt.com/), [Claude](https://claude.ai/), and [ChatbotUI v1](https://github.com/mckaywrigley/chatbot-ui/tree/b865b0555f53957e96727bc0bbb369c9eaecd83b?tab=readme-ov-file#legacy-code).

<Callout type="info" title="Where to find it">
Import lives under **Settings** → **Data Controls** in LibreChat.
</Callout>

## Export from the source application

First, export your data from the application you are migrating away from. The steps differ by source.

<Callout type="info" title="Looking to export out of LibreChat instead?">
See [Export from LibreChat](#export-from-librechat) at the bottom of this page.
</Callout>

<Tabs items={["ChatGPT", "Claude", "ChatbotUI v1"]}>
<Tabs.Tab>

<Steps>
<Step>

**Request your export.** Follow the [ChatGPT export instructions](https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history-and-data) to export your conversations.

</Step>
<Step>

**Download the archive.** You will receive an email with a download link. The archive is a zip file with a random name such as `d119d98bb3711aff7a2c73bcc7ea53d96c984650d8f7e033faef78386a9907-2024-01-01-10-30-00.zip`.

</Step>
<Step>

**Extract the archive** to access the `conversations.json` file inside.

</Step>
</Steps>

</Tabs.Tab>
<Tabs.Tab>

<Steps>
<Step>

**Request your export.** Follow the [Claude export instructions](https://support.claude.com/en/articles/9450526-how-can-i-export-my-claude-data) to export your conversations.

</Step>
<Step>

**Download the archive.** You will receive an email with a download link for your export archive.

</Step>
<Step>

**Extract the archive** to access the `conversations.json` file inside.

</Step>
</Steps>

</Tabs.Tab>
<Tabs.Tab>

Export your conversations from [ChatbotUI v1](https://github.com/mckaywrigley/chatbot-ui/tree/b865b0555f53957e96727bc0bbb369c9eaecd83b?tab=readme-ov-file#legacy-code), then import the resulting JSON file directly. No extraction step is required.

</Tabs.Tab>
</Tabs>

## Import into LibreChat

<Steps>
<Step>

**Open Data Controls.** In LibreChat, go to **Settings** → **Data Controls**.

</Step>
<Step>

**Select your file.** Click **Import** and choose the `conversations.json` file from your extracted archive (or the exported JSON file for ChatbotUI v1).

</Step>
<Step>

**Wait for confirmation.** A notification appears once the import finishes.

</Step>
</Steps>

## Export from LibreChat

Export is per conversation, and lives in the **Export and Share** menu in the chat header (under the overflow menu on mobile). Open the conversation you want, choose **Export**, pick a format, and confirm.

<OptionTable
  options={[
    ['markdown', '.md', 'Readable transcript. The default.', ''],
    ['text', '.txt', 'Plain-text transcript.', ''],
    ['json', '.json', 'Structured export that preserves the full message data.', 'Supports exporting all message branches'],
    ['csv', '.csv', 'Tabular export, one row per message.', 'Supports exporting all message branches'],
    ['screenshot', '.png', 'Image of the rendered conversation.', ''],
  ]}
/>

Two options in the dialog depend on the format you pick:

- **Export all message branches** applies to `json` and `csv` only. Other formats export just the visible branch.
- The remaining export options are unavailable for `csv` and `screenshot`.

<Callout type="info" title="Scope">

There is no built-in bulk export of every conversation at once, and a brand-new or search-results conversation has nothing to export, so the menu does not appear for those.

</Callout>
