A Firefox extension to export chats from Claude.ai (and Open WebUI) as formatted HTML or PDF.
- HTML Export – Downloads a fully formatted
.htmlfile, ready to import into OneNote or save as archive - PDF / Print – Opens a print-optimized view with correct multi-page layout
- Syntax Highlighting – Code blocks retain their colors from Claude.ai
- Chat Layout – User messages appear as bubbles (right-aligned), Claude responses on the left
- Decorative Dividers – Classic letterhead-style ornament dividers between messages ( ✦ ✦ ✦ )
- Message Timestamps – Each user message shows the full date and time (incl. seconds) it was sent
- Usage Bars – Live display of Claude session (5h) and weekly (7d) usage limits directly in the popup
- Works on Claude.ai and localhost (Open WebUI support in progress)
Download the signed .xpi from the releases section here and open it in Firefox.
- Clone or download this repository
- Open Firefox and go to
about:debugging - Click "This Firefox" → "Load Temporary Add-on"
- Select
manifest.jsonfrom the extension folder
Note: Temporary add-ons are removed on every Firefox restart.
- Open a chat on Claude.ai
- Click the Chat Exporter icon in the Firefox toolbar
- Choose:
- Print / PDF – opens a print dialog (multi-page, clean layout)
- Export as HTML – downloads a
.htmlfile named20260405_20-46_Claude_Chat_<title>.html
- Import the HTML file into OneNote or open it in any browser
FFClaudeExportExt/
manifest.json <- Extension metadata (Manifest V2)
content.js <- DOM reader for Claude.ai + Open WebUI
popup.html <- Toolbar popup UI
popup.js <- Button logic, communicates with content.js
icons/
icon48.png
icon96.png
- Claude.ai DOM selectors may break if Claude.ai updates their CSS classes. If nothing is exported, check the browser console and update the selectors in
extractClaude()incontent.js. - Timestamps – Full date and time (incl. seconds) are retrieved directly from the Claude.ai API.
- Open WebUI support is not yet fully tested – selectors may need adjustment for your version.
- DOCX export is planned for Phase 2.
If the export shows "No chat messages found":
- Open Firefox DevTools (
F12) on Claude.ai - Go to the Console tab
- Run:
document.querySelectorAll("div.group div.contents").length - If the result is
0, Claude.ai changed their DOM structure – open an issue with a screenshot of the inspector.
- HTML export
- PDF / Print support
- Syntax highlighting
- Mozilla signed release
- Usage bars (5h session + 7d weekly limit)
- Message timestamps (full date + time incl. seconds)
- Open WebUI selectors
- DOCX export (Phase 2)
- Dark mode export theme
IschNehmDirGleichDemTabletWeg Built with Claude (Sonnet 4.6) in one evening session. 😄
MIT – do whatever you want with it.