Export and Copy AI answers with multiple formats. Applied for ChatGPT, Gemini, Aistudio, Notebooklm, Grok, Claude, Mistral, Deepseek, Kimi, Perplexity, Liner, Scienceos, Evidencehunt, Spacefrontiers. Added tab title for Gemini, Evidencehunt.
AI Chat to Docx, Md, Html, Pdf, Json, Txt is a powerful tool designed to help you save and organize your conversations with various AI assistants. Instead of manually copying and pasting, this script adds convenient buttons directly into the chat interface for instant downloading and copying.
Multi-Format Exporting: Save any AI response as a professional document in one click.
"Export All" Capability: Found at the end of your chat, this allows you to download the entire conversation (both your questions and the AI's answers) into a single file.
Smart Copying: \
Clean Layouts: The script automatically removes "copy" buttons and other UI clutter from your chat before saving, ensuring your files look clean and professional.
Smart Filenaming: Files are automatically named using the Site Name + Chat Title + Timestamp, making it easy to find your work later.
Dynamic Tab Titles: Automatically updates your browser tab title to match the chat name (currently for Gemini and EvidenceHunt).
| Format | Best For... |
| Word (.docx) | Formal reports and easy editing in Office. |
| Markdown (.md) | Documentation, GitHub, and personal notes. |
| PDF (.pdf) | Sharing non-editable, professional-looking documents. |
| HTML (.html) | Viewing the chat exactly as it appears in a web browser. |
| JSON (.json) | Data backup and use in other software applications. |
| Text (.txt) | Simple, lightweight plain text storage. |
This script works seamlessly across almost all major AI services:
Google: Gemini, AI Studio, NotebookLM
OpenAI: ChatGPT
Anthropic: Claude
Search & Research: Perplexity, ScienceOS, EvidenceHunt, SpaceFrontiers
Others: Grok (xAI), Deepseek, Kimi, Mistral
Install the script via Tampermonkey or Greasemonkey.
Open any supported AI chat (like ChatGPT or Gemini).
Look for the "Export" and "Copy" buttons that appear at the bottom of every AI response.
To save the whole thread, scroll to the most recent response and use the "Export All" menu.