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 other
MiroFish
Swarm intelligence engine for future prediction — simulates multi-agent interactions to deduce outcomes
paperclip
AI agent orchestration server for autonomous companies — manages teams of bots, goals, budgets, and governance
learn-claude-code
Agent harness engineering tutorial — build the environment and tools for real LLM agents, inspired by Claude Code
LightRAG
Lightweight RAG framework — builds simple, fast, and scalable retrieval-augmented generation systems for LLMs