> ## Documentation Index
> Fetch the complete documentation index at: https://help.memoryplugin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Importing Your Chats

> Export and upload your chat history from supported platforms

export const ArticleInfo = ({author, lastUpdated}) => {
  const authorAvatar = author === 'asad' ? '/images/author-asad.jpeg' : null;
  const formatDate = dateInput => {
    if (!dateInput) return '';
    if (typeof dateInput === 'string' && !dateInput.match(/^\d{4}-\d{2}-\d{2}/)) {
      return dateInput;
    }
    try {
      const date = new Date(dateInput);
      const now = new Date();
      const diffTime = Math.abs(now - date);
      const diffDays = Math.floor(diffTime / (1000 * 60 * 60 * 24));
      if (diffDays === 0) return 'today';
      if (diffDays === 1) return '1 day ago';
      if (diffDays < 7) return `${diffDays} days ago`;
      if (diffDays < 30) return `${Math.ceil(diffDays / 7)} week${Math.ceil(diffDays / 7) > 1 ? 's' : ''} ago`;
      if (diffDays < 365) return `${Math.ceil(diffDays / 30)} month${Math.ceil(diffDays / 30) > 1 ? 's' : ''} ago`;
      return `${Math.ceil(diffDays / 365)} year${Math.ceil(diffDays / 365) > 1 ? 's' : ''} ago`;
    } catch {
      return dateInput;
    }
  };
  return <div style={{
    display: "flex",
    alignItems: "center",
    gap: "8px",
    marginBottom: "16px",
    padding: "8px 12px",
    backgroundColor: "var(--ifm-color-emphasis-100)",
    borderRadius: "6px",
    fontSize: "14px",
    color: "var(--ifm-color-content-secondary)",
    border: "1px solid var(--ifm-color-emphasis-200)",
    opacity: "0.8"
  }}>
      <div style={{
    width: "40px",
    height: "40px",
    borderRadius: "50%",
    background: authorAvatar || "linear-gradient(45deg, #4F46E5, #7C3AED)",
    display: "flex",
    alignItems: "center",
    justifyContent: "center",
    color: "white",
    fontWeight: "bold",
    fontSize: "18px"
  }}>
        {authorAvatar ? <img src={authorAvatar} alt={author} style={{
    width: "100%",
    height: "100%",
    borderRadius: "50%"
  }} /> : author?.[0]?.toUpperCase()}
      </div>
      <div>
        <div style={{
    fontWeight: "400",
    fontSize: "14px"
  }}>Written by <span style={{
    fontWeight: "600"
  }}>{author}</span></div>
        <div style={{
    fontSize: "14px"
  }}>Last updated <span style={{
    fontWeight: "600"
  }}>{formatDate(lastUpdated)}</span></div>
      </div>
    </div>;
};

<ArticleInfo author="asad" lastUpdated="2026-03-23" />

## Getting Your Chat History

You can add chat history to MemoryPlugin in two ways:

**Option 1: Upload Chat Exports** (ChatGPT, Claude, TypingMind, Grok) — **Recommended for initial import**

Export your chat history as JSON files and upload them. This is the fastest way to import your entire history.

**Option 2: Online Sync** (ChatGPT, Claude, Gemini, Grok, DeepSeek)

Sync conversations directly from your account without downloading files. Designed for keeping new and updated conversations in sync automatically after your initial import. This handles small incremental updates in the background, so you never have to manually export again. Can take longer for large initial imports (several days vs. a few hours), but works as a fallback if you're unable to export JSON files.

## How to Export Your Chats

<AccordionGroup>
  <Accordion title="Export from ChatGPT" icon="message">
    Follow the <a href="https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history-and-data" target="_blank" rel="noopener noreferrer">ChatGPT export guide</a> to export your data.

    Once you have the export, upload the **`conversations.json`** file to MemoryPlugin.
  </Accordion>

  <Accordion title="Export from Claude" icon="message">
    Follow the <a href="https://support.claude.com/en/articles/9450526-how-can-i-export-my-claude-data" target="_blank" rel="noopener noreferrer">Claude export guide</a> to export your data.

    Once you have the export, upload the **`conversations.json`** file to MemoryPlugin.
  </Accordion>

  <Accordion title="Export from TypingMind" icon="message">
    Follow the <a href="https://docs.typingmind.com/cloud-sync-and-backup/export-import-data" target="_blank" rel="noopener noreferrer">TypingMind export guide</a> to export your data.

    Once you have the export, upload the files from the **`chunks/`** folder: `chats_part_1.json`, `chats_part_2.json`, etc.

    <Note>
      TypingMind splits exports into multiple chunk files. Upload each chunk file separately.
    </Note>
  </Accordion>

  <Accordion title="Export from Grok" icon="message">
    Export your data from your <a href="https://x.ai/account" target="_blank" rel="noopener noreferrer">xAI account settings</a>.

    Once you have the export, upload the conversations JSON file to MemoryPlugin. Branching conversation threads are fully supported.
  </Accordion>

  <Accordion title="Sync from Gemini or DeepSeek" icon="rotate">
    Gemini and DeepSeek conversations are imported via **online sync** through the browser extension — no file export needed.

    Open the browser extension on Gemini or DeepSeek, go to the Sync panel, and start syncing your conversations.
  </Accordion>
</AccordionGroup>

## File Size Limits

* **Maximum file size**: 1 GB
* **Format**: JSON only
* You can upload multiple files at once for ChatGPT exports

<Info>
  Have a very large export? You can split it into multiple files and upload them separately. MemoryPlugin automatically deduplicates conversations across uploads.
</Info>

## Uploading Your File

<Steps>
  <Step title="Go to Dashboard">
    Navigate to your [Chat History dashboard](https://memoryplugin.com/dashboard/chat-history) and open the **Uploads** tab
  </Step>

  <Step title="Select Platform">
    Choose which platform you're importing from: ChatGPT, Claude, TypingMind, or Grok
  </Step>

  <Step title="Choose Import Limit (Optional)">
    Decide how many chats to import from the file:

    * **100, 200, 500, or 1,000 chats** - Quick preset options
    * **All chats** - Import everything (Pro users only)
    * **Custom amount** - Enter a specific number

    <Info>
      **Core plan**: You can import up to 500 searchable chats total. Choose a limit to stay within your quota.

      **Pro plan**: Unlimited chats. Import as many as you want.
    </Info>
  </Step>

  <Step title="Upload File">
    Drag and drop your JSON file or click **"Browse files"** to select it

    * Only JSON files are accepted
  </Step>

  <Step title="Monitor Progress">
    Processing starts automatically. You can monitor progress in the [Uploads tab](/features/chat-history/dashboard#uploads-tab):

    * See progress percentage
    * View number of messages processed
    * Close the tab—processing continues in the background
    * Large files can take several minutes to hours
  </Step>
</Steps>

<Info>
  **Don't worry about duplicates**: We automatically deduplicate chats during uploads. If you upload the same file again or import the same conversations through online import, they won't be duplicated in your chat history.
</Info>

## Managing Import Quota

<Info>
  **Core plan**: Up to 500 searchable chats total

  **Pro plan**: Unlimited chats
</Info>

### Why Use Import Limits?

<AccordionGroup>
  <Accordion title="Stay within your plan quota" icon="gauge">
    Core users have a limit of 500 searchable chats. Importing only recent conversations keeps you within quota.

    **For heavy AI users**: If you've had 5,000+ conversations over 3+ years (which many heavy AI users have), we strongly recommend the Pro plan for unlimited chats and the best value. Processing large chat histories is computationally expensive, which is why Pro plan pricing reflects that cost.

    You can always import more later or upgrade to Pro for unlimited.
  </Accordion>

  <Accordion title="Focus on recent conversations" icon="clock">
    If you only care about recent context, there's no need to process years of old chats. Import what matters most.
  </Accordion>

  <Accordion title="Get started quickly" icon="rocket">
    Start with 100 chats to see how Chat History Memory works, then import more once you're comfortable.
  </Accordion>
</AccordionGroup>

<Note>
  Once imported, you can manage your uploads and conversations in the [Dashboard](/features/chat-history/dashboard).
</Note>

## Next Steps

<CardGroup cols={2}>
  <Card title="View Dashboard" icon="table-columns" href="/features/chat-history/dashboard">
    Monitor your uploads, browse chats, search your history, and ask questions
  </Card>

  <Card title="Using Chat History" icon="sparkles" href="/features/chat-history/using">
    Set up auto-injection via Browser Extension or MCP Server
  </Card>
</CardGroup>
