How to Export a Google AI Studio Chat
Google AI Studio is where developers prototype prompts: system instructions, temperature experiments, model comparisons, and code that half-works. The natural end of a good prototyping session is documentation — and AI Studio doesn’t offer a real one. Chats live in your Drive-linked history in a format built for the tool, not for sharing. This guide shows how to export an AI Studio conversation to PDF, Markdown, or JSON in one click, with everything that makes the session reproducible kept intact.
Why export AI Studio sessions
- Prompt documentation — the system prompt and the responses that proved it works belong in your notes or the repo wiki
- Model comparisons — side-by-side outputs from different models or settings are evidence, and evidence should be filed
- Handoffs — a PDF of the session tells a teammate what you tried without a screen-share
- Cross-platform archives — AI Studio threads next to your Claude Code sessions and ChatGPT history in one searchable place
Export an AI Studio chat in three steps
Step 1 — Install the extension. Add the free XWX AI Chat Exporter from the Chrome Web Store — no account needed.

Open the conversation and choose a format
Step 2 — Open the chat on aistudio.google.com. The extension detects AI Studio automatically.
Step 3 — Click the floating button and pick a format. Markdown for notes and repos (free, unlimited), PDF for sharing, JSON if you want to process the conversation programmatically. Code blocks, tables, and images survive the export.

Why JSON is worth a look here
AI Studio users skew technical, and JSON exports are built for that audience: a clean per-conversation file with the message structure preserved — not the account-dump JSON that other platforms’ official exports give you. Parse it with a script, diff two sessions, or feed it into your own tooling. Markdown with YAML frontmatter (platform, model, timestamps) covers the human-readable half of the same need.
Honest limitations
- The export captures the conversation as displayed — run results and code outputs render as they appear on screen
- System instructions are included when they’re part of the visible conversation page
- Very long sessions take longer to export; refresh once before exporting so streamed output is fully rendered
- Google’s AI Studio UI changes frequently — if the floating button doesn’t appear after an update, check the troubleshooting guide
Frequently Asked Questions
Can you export Google AI Studio chats?+
Not natively — AI Studio has no document-style export for conversations. The free XWX extension adds one: open the chat on aistudio.google.com, click the floating button, and save it as PDF, Markdown, Word, TXT, or JSON.
Is it free to export AI Studio conversations?+
Markdown, TXT, JSON, and clipboard exports are free with no limits. PDF and Word exports include a free daily quota.
Does the export include the system prompt?+
The export captures the conversation as displayed on the page — content that’s visible in the session (including system instructions shown in the conversation area) comes along.
Can I export all my AI Studio history at once?+
Yes — Google AI Studio is among the platforms the XWX Backup desktop app supports for batch export: one file per conversation into a local folder, with scheduled export available.
How is this different from saving from my Google Drive?+
AI Studio’s Drive-linked history stores the session in the app’s own format — fine for reopening in AI Studio, not for reading, sharing, or archiving anywhere else. An export produces a portable document or data file you control.