
CLI tool that renders Excel spreadsheets in the terminal with interactive TUI mode and export capabilities.
xleak is a command-line tool that displays Excel spreadsheets directly in the terminal without requiring Microsoft Excel. It supports multiple Excel formats including .xlsx, .xls, .xlsm, .xlsb, and .ods files, using the calamine parser for fast file processing.
The tool offers both non-interactive display mode for quick file previews and a full-featured interactive TUI mode built with ratatui. The TUI provides keyboard navigation, full-text search across all cells, clipboard support for copying cells or rows, and the ability to view Excel formulas. Users can navigate between multiple sheets using Tab/Shift+Tab and jump to specific cells with Ctrl+G commands like 'A100' or '10,5'.
xleak includes data export functionality to CSV, JSON, and plain text formats, plus specialized support for Excel Tables in .xlsx files. The tool handles large files through lazy loading for datasets with 1000+ rows and provides visual highlighting for the current row, column, and cell. Configuration options include customizable themes (Default, Dracula, Solarized, GitHub Dark, Nord) and keybinding profiles including a VIM mode for efficient navigation.
# via Homebrew
brew install bgreenwell/tap/xleak
# via Cargo
cargo install xleak
# via Scoop
scoop bucket add bgreenwell https://github.com/bgreenwell/scoop-bucket && scoop install xleak
