Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatToMD: AI Conversation Exporter

Export shared ChatGPT and Claude conversations to clean Markdown files. Paste a public share link, get a structured .md file. No extensions, no accounts required.

Live Demo  |  Report an Issue


ChatToMD UI


Overview

ChatGPT and Claude both support sharing conversations via public links, but neither provides a native way to export them as a portable file. Copy-pasting loses structure. Browser extensions require installation and permissions.

ChatToMD solves this: paste a share link, and the app fetches the conversation, parses it, and returns a clean .md file, ready to save, share, or reference.


Usage

  1. Open a conversation in ChatGPT or Claude
  2. Use the Share option to generate a public link
  3. Paste the link into ChatToMD and select the source
  4. Click Extract Conversation and download the .md file

⚠️ Only works with public share links. Only export conversations you own or have explicit permission to export.


How It Works

ChatToMD runs a headless browser in the background, loads the shared page, and intercepts the conversation data before it's rendered; no scraping, no fragile DOM parsing.

For a detailed technical breakdown, see ARCHITECTURE.md.


Self-Hosting

Prerequisites: Node.js v18+, Google Chrome

git clone https://github.com/Srijani-Das07/ChatToMD.git
cd ChatToMD
npm install
npm start

Open http://localhost:3000.


Known Limitations

  • Only public share links are supported
  • If ChatGPT or Claude changes their page or API structure, the parser may need an update

Technologies

Node.js · Express · Puppeteer · HTML/CSS/JS


Author

Srijani Das


License

Released under the MIT License.

About

Export shared ChatGPT and Claude conversations to Markdown. Paste a share link, get a clean .md file. No extensions required.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages