
xleak
Excel file viewer and interactive TUI for terminal with multi-sheet support and export capabilities
xleak is a terminal-based Excel file viewer that renders spreadsheets without requiring Microsoft Excel. The tool supports multiple Excel formats (.xlsx, .xls, .xlsm, .xlsb) and LibreOffice Calc files (.ods), handling multi-sheet navigation and Excel tables extraction.
The interactive TUI mode provides full keyboard navigation with arrow keys, search functionality across all cells using '/', and clipboard integration for copying cells or entire rows. Users can view cell formulas by pressing Enter, jump to specific cells with Ctrl+G, and switch between sheets using Tab/Shift+Tab. The interface includes smart data alignment (numbers right-aligned, text left-aligned) and visual highlighting of the current row, column, and cell.
For non-interactive use, xleak supports exporting data to CSV, JSON, and plain text formats. It can extract named Excel tables from .xlsx files and display specific sheets by name or index. The tool includes lazy loading for large files with 1000+ rows and offers configurable themes and keybinding profiles (default and vim-style).
Built in Rust using the calamine parser, xleak targets developers, data analysts, and system administrators who need to inspect Excel files from the command line or incorporate spreadsheet viewing into terminal-based workflows.
Installation
# 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

Alternatives & related tools
hazelnut
Terminal-based automated file organizer that watches folders and applies rules to move, copy, rename, or delete files based on patterns
notox
CLI tool for renaming files to remove toxic or problematic characters from filenames
viu
Rust command-line image viewer for the terminal using the iTerm or Kitty graphics protocols, with a half-block fallback and animated GIF support.
ouch
CLI tool for compressing and decompressing files across 14+ formats with automatic format detection
xplr
Terminal-based file explorer with Lua scripting, keyboard controls, and plugin system for command-line integration
add a badge to your README
Maintain xleak? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/xleak?utm_source=badge)<a href="https://www.trmn.sh/tools/xleak?utm_source=badge"><img src="https://www.trmn.sh/badge/xleak.svg" alt="Featured on trmn" height="20"></a>