cclogviewer
Claude Code log viewer — converts .jsonl session files into interactive HTML for review
This utility provides a web-based interface for reviewing Claude Code session logs, transforming raw .jsonl files into structured, interactive HTML. Developers can easily visualize conversation flow, tool calls, and token usage from their Claude Code interactions. It offers a convenient way to debug and understand agent behavior outside of the Claude Code environment.
- Hierarchical conversation display with role indicators
- Expandable tool calls and their results
- Nested Task tool conversation visualization
- Token usage tracking for each interaction
- Syntax-highlighted code blocks within logs
README
View on GitHub ↗Claude Code Log Viewer
Converts Claude Code JSONL log files into interactive HTML.

Installation
Requires Go 1.21 or later. Install Go from https://go.dev/
git clone https://github.com/brads3290/cclogviewer
cd cclogviewer
make build
Or install directly:
go install github.com/brads3290/cclogviewer/cmd/cclogviewer@latest
Usage
# Quick view (auto-opens in browser)
cclogviewer -input session.jsonl
# Save to file
cclogviewer -input session.jsonl -output conversation.html
# Save and open
cclogviewer -input session.jsonl -output conversation.html -open
Arguments
-input: JSONL log file path (required)-output: HTML output path (optional, auto-generates temp file if omitted)-open: Open in browser (automatic without -output)-debug: Enable debug logging
Features
- Hierarchical conversation display
- Expandable tool calls and results
- Nested Task tool conversations
- Token usage tracking
- Syntax-highlighted code blocks
- Timestamps and role indicators
Building from Source
make build # Build binary
make test # Run tests
make install # Install to /usr/local/bin
See Makefile for all available commands.
Similar ide integrations
cline
Claude agent for VS Code — automates coding, debugging, and deployment, builds custom MCP tools
happy
Mobile client for Claude Code — remotely control and monitor your AI coding agent sessions
claude-devtools
DevTools for Claude Code — visually inspect session logs, tool calls, token usage, and subagent activity
clawd-on-desk
Desktop pet utility for AI coding agents — visualizes Claude Code activity, subagent juggling, and permission requests