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 resulting key (looks like
AIzaSy...) and paste it into the analyzer's settings modal. - Note: Gemini offers a very generous free tier (15 RPM) perfect for analyzing heavy chats at $0 cost.
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 something like "The Algorithm".
- Copy the key (starts with
sk-ant-) and paste it into the analyzer settings. - Note: To use Claude, you must add a minimum of $5 in billing credits to your Anthropic account.
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-orsk-proj-) immediately (you can't view it again). - Paste the key into the analyzer settings modal.
- 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.