Settings

Theme

Show HN: Export Claude Chats to Markdown, JSON, PNG

github.com

1 points by rschiang 2 years ago · 0 comments · 1 min read

Reader

Here's a simple browser script to export Anthropic Claude [1] chats to markdown, JSON, and images (.png).

I wrote this script because Claude does not currently support sharing or exporting.

It utilizes html2canvas for downloading images of the chat, and a simple DOM parser for exporting as markdown and JSON.

It runs entirely locally in your browser console, so you can just copy and paste the code to download the active chat in your browser.

Of course, feel free to explore and verify the repo, or clone and build the code yourself, because pasting random code into your browser console is never a smart idea.

Hope this small script is helpful to others.

[1] claude.ai

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection