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.
🤖Google Gemini
- Click Here: Go to Google AI Studio API Keys.
- Sign in with your Google account.
- Click the blue "Create API key" button.
- Select an existing project or create a new one.
- 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)
- Click Here: Go to xAI Console.
- Sign in or create an account.
- Navigate to API Keys section.
- Click "Create API Key".
- 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)
- Click Here: Go to Anthropic Console.
- Sign in or create an account.
- Navigate to Settings → API Keys.
- Click "Create Key". Name it "The Algorithm".
- Copy the key (starts with
sk-ant-) and paste it in.
Note: Requires $5 minimum billing credits.
🟢OpenAI (GPT-4o)
- Click Here: Go to OpenAI API Keys.
- Sign in or create a developer account.
- Click "Create new secret key".
- Copy the key (starts with
sk-) immediately. - 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.