Ask Brave Chat Exporter
A browser userscript that exports Ask Brave AI conversations to Markdown and HTML formats with professional styling and enhanced features.
Screenshots
Usage
Basic Export
- Open any Brave Ask conversation (or start a new one)
- Click the Export button (bottom-right corner)
- Edit the title (optional)
- Select export format(s):
- Markdown
- HTML
- Both (default)
- Click Download
Export Formats
Markdown (.md)
---
**Title:** Your Conversation Title
**Exported:** Monday 30-12-2025 , 01:55 PM
---
◤━━━━━━ Q1 ━━━━━◥
What are the most known coffee types?
◣━━━━━━ Q1 ━━━━━◢
The most known coffee types...
---
HTML (.html)
- Standalone file with embedded CSS and JavaScript
- Mobile-friendly and print-optimized
- Dark mode automatically activates based on system preference
Technical Details
Dependencies
- marked.js: Markdown to HTML conversion
- Inter font: UI typography
- JetBrains Mono: Code block typography
## Features
Core Functionality
- Dual Format Export: Export conversations to both Markdown (.md) and HTML (.html) formats.
- Custom Titles: Edit your conversation title before export.
- Smart Formatting: Preserves questions, answers, code blocks, and formatting.
Markdown Export
- Emoji dividers for visual question separation (
◤━━━━━━ Q# ━━━━━◥)
- Horizontal rules between Q&A pairs.
- Metadata header with title and export date.
HTML Export
How does it work?
- The script clicks copy answer buttons in chat for user prompts and AI answers, then collect them into one Markdown file with some custom formatting, then uses Marked library to convert Markdown to HTML, then formatting the HTML with custom theme.
🛑 Notes
- If you found something off, please open an issue on GitHub.
- When reporting bugs, please include:
- Browser name.
- Example conversation share URL (if possible).
- Console error messages if applicable (F12 → Console).
Roadmap
⚠️ The script now is in Phase 1, and I'm not sure if I'm going to add more features or make it better, but here's what I think the script will look like:
Phase 2
- Share URL Integration: Include Brave Ask conversation share URL in exports by scraping or user input them manually in export menu.
- Editable HTML Metadata: Allow editing title and URL directly in exported HTML files.
- PDF Export: Optimized print-friendly PDF generation (sidebar removed, clean layout).
Phase 3
- Resources Section: Append source (web results, videos, news, citations) at end of exported files.
- Bulk Export: Export multiple conversations in one operation.
- Configurable Export Options: Toggle what to include (TOC, metadata, resources, etc.)
- Standalone Converter: Pre-built binary to convert any chat Markdown to HTML using this theme:
- Works with any markdown file (not just Brave exports).
- Offline operation, no dependencies.
- Apply custom styling to existing markdown files.
Contributing, Suggestions or want to say hello
Feel free to submit issues or pull requests on GitHub