# claude-code-log

> A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML and Markdown

Source: https://talira.ai/catalog/claude-code-log-fvq2sstj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / ai coding / session history](https://talira.ai/categories/developer-tools/ai-coding/session-history), [developer tools / ai coding / claude code](https://talira.ai/categories/developer-tools/ai-coding/claude-code)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- Creator: Daniel Demmel

claude-code-log turns the transcripts [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md) stores under `~/.claude/projects/` into readable HTML pages and Markdown: an index of every project, a combined page per project and a page per session, with token usage, tool calls, thinking and images, filters to show or hide message types, a zoomable timeline and natural-language date ranges ("last week"). It also has a terminal UI for browsing sessions, exporting them and resuming one with `claude -r`, a `serve` command that serves the archive locally with full-text search across every project, and a `watch` mode that keeps a page or Markdown file current while a session runs. Its `--depth` and `--compact` options write condensed Markdown meant for feeding a past session back to a model. Exports of single [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md) CLI and Antigravity CLI sessions are experimental.

## Links

- Website: https://daaain.github.io/claude-code-log/
- GitHub: https://github.com/daaain/claude-code-log
- Docs: https://daaain.github.io/claude-code-log/

## Problems it solves

- review all my Claude Code conversations in a readable format
- what did I work on with Claude yesterday or last week
- search my entire Claude Code history for a past conversation
- how many tokens are my Claude Code sessions using
- share a Claude Code conversation with someone as a single web page
- feed a past agent session back to an LLM as compact Markdown
- see which tools Claude used in a project and what they returned
- keep a Markdown copy of each Claude Code session in my Obsidian vault as it runs
- browse and resume old Claude Code sessions from a terminal UI
- archive Claude Code transcripts before they're cleaned up and restore them later
- convert raw JSONL transcript files into HTML I can actually read

## Features

- converts all of ~/.claude/projects into an index, combined project pages and per-session pages
- HTML and Markdown output, plus JSON for tooling
- interactive terminal UI to browse, export, archive, delete, restore and resume sessions
- serve command with full-text search across every project and session
- watch mode that re-renders a session as it is written
- per-message and per-session token usage
- runtime filters to show or hide message types
- zoomable interactive timeline
- natural-language date range filters such as yesterday or last week
- --depth and --compact options for LLM-friendly Markdown
- classic and minimal themes, with sub-agents and rewind forks as foldable branches
- links commit SHAs in transcripts to GitHub, GitLab, Bitbucket or a self-hosted forge
- experimental single-session exports from Codex CLI and Antigravity CLI

## Limitations

- Doesn't export whole Codex CLI or Antigravity CLI archives: support for them is experimental and converts one session at a time[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Daniel Demmel

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Claude Code Trace](https://talira.ai/catalog/claude-code-trace-fsyaps89.md): Claude Code session log viewer for JSONL files in ~/.claude/projects: browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI
- [Claude Code Viewer](https://talira.ai/catalog/claude-code-viewer-csjfs2q1.md): A full-featured web-based Claude Code client that provides complete interactive functionality for managing Claude Code projects
- [claude-code-transcripts](https://talira.ai/catalog/claude-code-transcripts-e28k4q43.md): Tools for publishing transcripts for Claude Code sessions
- [cc-viewer](https://talira.ai/catalog/cc-viewer-t1qyar0z.md): A request monitoring system for Claude Code that captures and visualizes all API requests and responses in real time
- [cass (coding-agent-search)](https://talira.ai/catalog/cass-coding-agent-search-ybdpj19n.md): Index and search your local coding agent session history across 30+ agents in one timeline

## Sources

[^1]: https://github.com/daaain/claude-code-log/blob/main/README.md (checked 23 Nov 2026)
[^2]: https://github.com/daaain/claude-code-log/blob/main/LICENSE (checked 23 Nov 2026)
