AI Chat to Obsidian — Direct Vault Transfer
Send conversations from ChatGPT, Claude, Gemini and 14 other AI platforms straight into your Obsidian vault as clean Markdown notes. One click, no API keys, no copy-paste.
Why Export AI Conversations to Obsidian?
Obsidian is the most popular personal knowledge management tool for researchers, developers, and writers. It gives you full control over your notes with local Markdown files, bidirectional linking, and a powerful plugin ecosystem. But Obsidian only works as well as the content you put into it.
Every day you have valuable conversations with AI assistants—code reviews, research summaries, brainstorming sessions, technical explanations, creative drafts. Without a way to capture these, they sit trapped inside web interfaces where they cannot be linked, searched alongside your other notes, or referenced months later.
AI Chat Exporter bridges this gap by converting AI conversations into well-formatted Markdown and sending them directly to your Obsidian vault using Obsidian's native obsidian://new URI scheme. No manual copy-paste. No file management. No third-party sync services.
How the Obsidian Integration Works
The extension uses Obsidian's built-in URI protocol to create notes instantly. Here is what happens behind the scenes when you click the Obsidian transfer button:
Parse the Conversation
AI Chat Exporter reads the active conversation from the AI platform's page. It identifies message boundaries, extracts content, preserves code blocks with syntax highlighting, and captures LaTeX math expressions.
Convert to Obsidian-Ready Markdown
The conversation is converted to clean Markdown with proper heading hierarchy, fenced code blocks with language tags, and KaTeX-compatible math delimiters. Platform-specific content like Claude Artifacts or ChatGPT Canvas outputs become organized sections.
Sanitize the Filename
The conversation title is sanitized for use as an Obsidian filename. Special characters are stripped, and the title is truncated to 245 characters to stay within filesystem limits. The result is a clean, readable filename like ChatGPT - Refactoring Python Auth - 2026-03-15.md.
Open Obsidian via URI
The extension constructs an obsidian://new URI with the filename, vault name, and formatted content. Obsidian opens automatically and creates the note in your configured vault. The note appears in your vault instantly, ready to link and tag.
What Gets Transferred
AI Chat Exporter preserves the structure and formatting of your conversations so nothing is lost in transit:
Full Message History
Every user message and AI response is transferred in order. Role labels distinguish who said what. Timestamps are preserved where the platform provides them.
Code Blocks with Languages
Fenced code blocks retain their language tags. Python, JavaScript, TypeScript, Rust, and dozens of other languages display with proper syntax highlighting in Obsidian's reading view.
LaTeX Math Equations
Block math ($$...$$) and inline math ($...$) are preserved with correct delimiters. Equations render natively in Obsidian when you have the MathJax or KaTeX plugin enabled.
Thinking and Reasoning Sections
When Claude or ChatGPT shows its thinking process, the extension captures it and formats it as a collapsible blockquote in the Markdown output. You keep the reasoning trail without cluttering the main response.
Artifacts and Canvas Content
Claude Artifacts and ChatGPT Canvas outputs are represented within the conversation flow. Code artifacts use fenced code blocks; document artifacts use inline Markdown. Canvas documents appear as clearly labeled placeholders (e.g. [Canvas: title]) so you know a Canvas document was part of the exchange.
Tables and Structured Data
Markdown tables generated by AI responses are transferred with their original column alignment and structure intact.
Platform-Specific Behavior
| Platform | Special Handling | Notes |
|---|---|---|
| ChatGPT | Artifacts become labeled sections, Canvas captured as labeled placeholder, thinking process captured | Group conversations with multiple models are preserved with model attribution |
| Claude | Artifacts with version history, thinking blocks as collapsible callouts, tool use steps | Extended thinking is formatted as blockquotes for clean separation |
| Gemini | Code execution outputs, multi-modal responses, Google Workspace integrations | Large context windows mean long exports work well |
| DeepSeek | DeepThink reasoning sections, code generation with full context | Math-heavy conversations transfer with equations intact |
| Perplexity | Citations preserved as footnotes, source links maintained | Research threads become well-documented notes |
| Other Platforms | Copilot, Qwen, Mistral, Meta AI, NotebookLM, Google AI Studio, and 8 more | Core message structure preserved across all 17 supported platforms |
Why This Beats Manual Copy-Paste
Manually copying a conversation into Obsidian sounds simple until you try it. You have to select the entire conversation, paste it into a new note, then fix the formatting—code blocks that lost their language tags, math that renders as raw text, tables that collapsed, images that did not transfer. For long conversations, this process can take 15-20 minutes per note.
AI Chat Exporter reduces this to a single click. The extension handles all formatting, creates proper Markdown structure, sanitizes the filename, and opens Obsidian with the note ready to save. A conversation that takes 20 minutes to format manually is exported and filed in under 5 seconds.
Comparison with Obsidian Plugins
Several community plugins attempt to bridge AI platforms and Obsidian. Here is how they compare to AI Chat Exporter's approach:
| Feature | Community Plugins | AI Chat Exporter |
|---|---|---|
| API key required | Usually yes (OpenAI API key, Anthropic API key) | No — works through the browser extension |
| Platforms supported | Typically 1-2 (the API provider) | 17 platforms through DOM extraction |
| Captures full conversation | Only what the API returns | Full conversation as displayed in the browser |
| Artifacts / Canvas | Not supported | Artifacts represented as labeled sections; Canvas captured as labeled placeholder |
| Selective export | Entire conversation only | Choose specific messages or turns |
| Cost | API usage charges apply | Completely free |
| Other formats | Markdown only (in most cases) | Markdown, PDF, JSON, HTML, Word, PNG |
Setting Up the Obsidian URI Scheme
The obsidian:// URI scheme is a built-in feature of Obsidian. To use it with AI Chat Exporter, ensure the following:
- Obsidian is installed on the same machine where you run the browser extension.
- The URI scheme is registered. On Windows and macOS, this happens automatically when Obsidian is installed. On Linux, you may need to register it manually via your desktop environment.
- Enter your vault name in the extension options. The vault name must match exactly, including capitalization and spaces. If your vault is called "My Knowledge Base", enter exactly that.
When you click the Obsidian transfer button, the extension builds a URI like obsidian://new?vault=My%20Vault&name=Note%20Title&content=... and navigates to it. Obsidian intercepts the URI, creates the note with the given name and content, and opens it in the editor.
Worked Example: ChatGPT to Obsidian
Here is a concrete walkthrough of exporting a ChatGPT conversation about Python async programming to an Obsidian vault called "Dev Notes":
- Open the ChatGPT conversation in Chrome or Firefox.
- Click the AI Chat Exporter extension icon. The side panel opens showing the parsed conversation.
- Click the Obsidian icon in the export toolbar.
- The extension converts the conversation to Markdown. Code blocks retain their Python language tags. Inline code and function names are preserved.
- A new tab opens with
obsidian://new?vault=Dev%20Notes&name=ChatGPT%20-%20Python%20Async%20Programming%20-%202026-09-08. - Obsidian creates the note in your "Dev Notes" vault. The note appears in your file explorer with all code blocks, headers, and formatted content intact.
The entire process takes less than 5 seconds. You can now link to this note from other notes, add tags like #python and #async, and search for it alongside all your other knowledge base content.
Organizing Monthly and Weekly Exports in Obsidian
While each export is a single conversation, you can use the filename template settings to give every export a consistent, sortable name. Setting the template to {platform} - {title} - {datetime} produces flat filenames like ChatGPT - React Hooks Debugging - 2026-09-09_14-30.md, letting you build a searchable archive one export at a time without manual renaming.
Because Obsidian indexes files on disk, saved exports land directly in your vault and become immediately searchable and linkable. This turns every exported conversation into a permanent headnote that connects to the rest of your knowledge base.
Frequently Asked Questions
Open the AI Chat Exporter extension options page (right-click the extension icon and select "Options"). Find the "Obsidian Vault Name" field and enter the exact name of your target vault. The name must match what appears in Obsidian's vault switcher, including capitalization and spaces. If you have multiple vaults, you can switch the vault name before each transfer.
The basic Obsidian transfer creates notes at the root level of your vault. To keep exports organized, configure the filename template to include the platform name and timestamp (e.g. {platform} - {title} - {datetime}), so every note has a unique, sortable name.
AI Chat Exporter embeds images as data URIs or base64-encoded content within the Markdown file. Obsidian supports embedded images in notes, so inline images from conversations will display correctly. External image URLs that require network access may not render if Obsidian is configured for strict CSP mode.
Claude Artifacts are represented as labeled sections within the conversation note. Code artifacts use fenced code blocks with the appropriate language tag. Document artifacts are converted to Markdown inline. ChatGPT Canvas outputs appear as labeled placeholders (e.g. [Canvas: title]) within the conversation flow. The artifacts are part of the conversation flow rather than separate files.
Yes. AI Chat Exporter supports five personal knowledge management apps through URI schemes: Obsidian, Logseq, Bear, NotePlan, and Drafts. Each app has its own URI protocol. The extension lets you configure which app to target in the options page. Export to Markdown also works with any app that reads .md files.
Ensure Obsidian is installed on your machine (not just running in a browser). On Linux, the URI scheme may need manual registration. On Windows and macOS, it registers automatically during Obsidian installation. If the URI still fails, fall back to the Markdown export and manually place the file in your vault folder.