Easily convert your exported ChatGPT conversations (from conversations.json
) into clean, well-formatted Markdown notes.
- 📁 One Markdown file per conversation
- 🧑💻 Supports code blocks, text, and multi-part messages
- 🏷️ Obsidian-friendly formatting and safe filenames
- 🚫 Skips empty/system messages
- 📅 Uses chat title and timestamp for file naming
- 💥 Fast and robust for thousands of chats
- 📝 Human-readable, easily customizable Python source
-
Clone or Download this repo:
git clone https://github.com/csrobb/ChatGPTtoMD.git cd ChatGPTtoMD
-
Place your ChatGPT
conversations.json
export in the same directory.- Get this file via ChatGPT: Settings → Data Controls → Export Data.
python chatgpt_json_to_md.py