claude-code-transcripts is a command-line utility that takes session files exported from Claude Code (in JSON or JSONL format) and turns them into clean, navigable HTML transcripts that can be viewed in any modern web browser. It is designed to make the often dense and verbose outputs from AI coding sessions easier to read, share, and archive by breaking conversations into paginated, annotated pages with navigable timelines of prompts and responses. Users can run this tool locally or fetch sessions from the Claude API, giving flexibility for individual workflows or team documentation practices. The generated HTML includes interactive navigation and can optionally be published to GitHub Gists for sharing with collaborators or embedding in other documentation. It also supports including the raw session JSON alongside the transcript for forensic or archival purposes.
Features
- Convert Claude Code session JSON/JSONL to multi-page HTML
- Command-line interface with local and Web session support
- Interactive browser-friendly transcripts with navigation
- Option to publish output to GitHub Gist
- Includes raw session data alongside formatted output
- Works with any Claude Code project archive