luckynick/claude-chat-to-md
12 stars · Last commit 2026-03-27
Convert Claude Code chat sessions to clean Markdown — including subagent conversations
README preview
# claude-chat-to-md Convert [Claude Code](https://docs.anthropic.com/en/docs/claude-code) chat sessions to clean, readable Markdown — including subagent conversations. Claude Code persists full chat history as JSONL files under `~/.claude/projects/`. This tool reads those files and produces well-formatted Markdown with proper headings, code blocks, and collapsible sections for tool results and subagent conversations. ## Install ```bash pipx install claude-chat-to-md ``` Or with pip: ```bash pip install claude-chat-to-md ``` Or run directly from source: