Project overview
Tokendiet converts PDFs, HTML pages, URLs, or images into lean Markdown and reports estimated token and cost savings. It includes OCR support, reproducible benchmarks, and warnings about visual loss, but charts, diagrams, complex layouts, and other visually important content are better read natively rather than reduced to text.
Repository facts
- Primary language
- Python
- License
- MIT
- Repository updated
- Jun 23, 2026
- Default branch
- main
Resource types
CLI appGeneral skill
Use cases
Document productivity
Platforms
Claude Code
Runtime
Command line