How to Export Your Chat

Follow these quick steps to export your conversation history. It only takes a minute.

The Algorithm requires your own API Key (BYOK) for 100% privacy and zero middleman servers.

Recommended / Best Free Tier

🤖Google Gemini

  1. Click Here: Go to Google AI Studio API Keys.
  2. Sign in with your Google account.
  3. Click the blue "Create API key" button.
  4. Select an existing project or create a new one.
  5. Copy the key (looks like AIzaSy...) and paste into the settings modal.

Note: Gemini offers a very generous free tier (15 RPM), perfect for heavy chats at $0 cost.

✖️xAI (Grok)

  1. Click Here: Go to xAI Console.
  2. Sign in or create an account.
  3. Navigate to API Keys section.
  4. Click "Create API Key".
  5. Copy the key and paste into the settings modal.

Note: xAI recently introduced a free tier for Grok; check their console for availability.

🧠Anthropic (Claude 3.5)

  1. Click Here: Go to Anthropic Console.
  2. Sign in or create an account.
  3. Navigate to Settings → API Keys.
  4. Click "Create Key". Name it "The Algorithm".
  5. Copy the key (starts with sk-ant-) and paste it in.

Note: Requires $5 minimum billing credits.

🟢OpenAI (GPT-4o)

  1. Click Here: Go to OpenAI API Keys.
  2. Sign in or create a developer account.
  3. Click "Create new secret key".
  4. Copy the key (starts with sk-) immediately.
  5. Paste it into the settings modal.

Note: Requires $5 minimum prepaid credits via Billing.

Open the Chat

Navigate to the individual or group chat you want to analyze.

Tap Three-dots

Tap the icon in the top-right.

More → Export Chat

Choose More, then Export chat.

Without Media

Select Without media to get your .txt file.

Open Chat Menu

Open the chat and click the menu in the top-right.

Export Chat History

Select Export chat history from the dropdown.

Set Format to HTML

Uncheck photos/videos and ensure format is HTML.

Go to Accounts Center

Settings → Accounts Center → Your information and permissions.

Download Your Information

Select Download your information and tap 'Download or transfer'.

Select Messages Only

Choose Specific information and check only Messages.

Format: JSON (Critical)

Set the format to JSON. The Algorithm cannot parse HTML/PDF for Instagram.

Download and Extract

Find the message_1.json in your inbox folder.

Recommended: DiscordChatExporter

The native export takes 30 days. Use the open-source DiscordChatExporter for instant results.

Export as JSON

Open the tool, select your DM, and export as JSON format.

Native Method (Slow)

User Settings → Privacy & Safety → Request all of my data. Takes days to arrive.

Upload the JSON

Upload the .json file here for analysis.

💡Tips for Best Results

More history = better analysis.3+ months of data gives the most accurate patterns.

Always export without media.Photos and videos can't be analyzed.

Multiple files? No problem.Upload multiple .txt, .html, or .json files. They're merged automatically.

Your privacy is safe.Chat text is erased immediately after analysis. Nothing stored.