The Algorithm

The Algorithm

Back to Analyzer

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 resulting key (looks like AIzaSy...) and paste it into the analyzer's settings modal.
  6. Note: Gemini offers a very generous free tier (15 RPM) perfect for analyzing heavy chats at $0 cost.

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 something like "The Algorithm".
  5. Copy the key (starts with sk-ant-) and paste it into the analyzer settings.
  6. Note: To use Claude, you must add a minimum of $5 in billing credits to your Anthropic account.

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- or sk-proj-) immediately (you can't view it again).
  5. Paste the key into the analyzer settings modal.
  6. Note: Requires prepaid credits via Billing. Minimum $5 balance needed.

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 three-dot 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

Once your file is ready, download and extract it. 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. This takes days to arrive via email.

Upload the JSON

Once you have the .json file, upload it here for analysis.

Tips for Best Results

More history = better analysis. The Algorithm works best with 3+ months of chat data. More data means more accurate pattern detection.

Always export without media. Photos, videos, and voice notes can't be analyzed, and they make the file unnecessarily large.

Multiple files? No problem. You can upload multiple .txt, .html, or .json files at once — they'll be merged automatically.

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