Skip to main content

Claude Notes

Transform Claude Code transcript JSONL files into readable terminal and HTML formats.

Overview

Claude Notes is a command-line tool that converts Claude Code conversation transcripts (stored as JSONL files) into human-readable formats. It supports both terminal output with rich formatting and HTML export for web viewing.

uvx claude-notes show

https://github.com/user-attachments/assets/ca710fb3-558a-4ce5-9bf5-e42c80caf2bf

uvx claude-notes show --format html --output conversations.html

https://github.com/user-attachments/assets/e4cb9404-bdee-4a12-8e06-e1e2216b9165

Examples

See rendered HTML output examples:

The examples/ directory also contains a dark theme CSS you can use to customize the HTML output.

Features

  • Terminal display with syntax highlighting and rich formatting
  • HTML export with navigation, timestamps, and professional styling
  • Interactive pager for browsing long conversations
  • Project discovery - automatically finds Claude projects
  • Humanized timestamps - shows "2 hours ago" instead of raw timestamps
  • Tool result formatting - properly displays Bash, Read, Edit, MultiEdit, and Grep tool usage
  • Navigation links - jump to specific messages in HTML output

Acknowledge

This tool was heavily inspired by https://github.com/daaain/claude-code-log

Usage

HTML Output

# Export to HTML file
uvx claude-notes show --format html --output conversations.html

# Print HTML to stdout
uvx claude-notes show --format html

Terminal Output

# View conversations for current directory
uvx claude-notes show

# View conversations for specific project path
uvx claude-notes show /path/to/project

# Disable pager (show all at once)
uvx claude-notes show --no-pager

# Show raw JSON data
uvx claude-notes show --raw

HTML Features

The HTML output includes:

  • Message Navigation: Each message has a clickable heading with anchor links
  • Humanized Timestamps: Shows when each message was created (e.g., "2 hours ago")
  • Tool Result Formatting:
    • Bash commands with syntax highlighting
    • File operations (Read, Edit, MultiEdit)
    • Search results (Grep)
  • Responsive Design: Works well on desktop and mobile
  • Professional Styling: Clean, readable typography

How It Works

Claude Code stores conversation transcripts as JSONL files in ~/.claude/projects/. Each line represents a message, tool use, or tool result. Claude Notes:

  1. Discovers Claude projects by scanning the projects directory
  2. Parses JSONL transcript files
  3. Groups related messages by role continuity
  4. Formats tool usage and results appropriately
  5. Outputs in your chosen format (terminal or HTML)

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

See CONTRIBUTING.md for detailed guidelines.

License

MIT License - see LICENSE file for details.

Support

Metadata

Release files for claude-notes 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-notes 0.1.8
File Size Uploaded
claude_notes-0.1.8.tar.gz 318.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-notes 0.1.8
File Interpreter ABI Platform
claude_notes-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 359.9 kB

Release files / claude_notes-0.1.8.tar.gz

Download URL claude_notes-0.1.8.tar.gz
Size 318.8 kB
Tags Source
SHA-256 checksum
How to use checksums
60f2f9b34793ea0f97e4cd3dbe551699f9ee79130efa65f5f6108cedeff526b9
BLAKE2b-256 checksum
How to use checksums
59771ca7f74a43af9905ca98efe1830e548fb07effe7311e6d6096e3035349cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 13, 2026.

Transparency log

Release files / claude_notes-0.1.8-py3-none-any.whl

Download URL claude_notes-0.1.8-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f1eb680c81ab096cd3616421595ad138dd78f82acf7cbbe3ad050dc7ff853b7
BLAKE2b-256 checksum
How to use checksums
79a2c4d5e0baf7770296231d7613a665000b45780e9d8c2a6c7764290aa5d6be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page