bgreenwell/xleak sits at 1.5k stars on GitHub, written primarily in Rust. A fast terminal Excel viewer with an interactive TUI. Features full-text search, formula display, lazy loading for large files, clipboard support, and export to CSV/JSON. Built with Rust and ratatui.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Expose Excel files in your terminal - no Microsoft Excel required!
Inspired by doxx, xleak brings Excel spreadsheets to your command line with beautiful rendering, powerful export capabilities, and a feature-rich interactive TUI.
Features
Core Functionality
Beautiful terminal rendering with formatted tables
Interactive TUI mode - full keyboard navigation with ratatui
Smart data type handling - numbers right-aligned, text left-aligned, booleans centered
Multi-sheet support - seamlessly navigate between sheets (Tab/Shift+Tab)
Excel Table support - list and extract named tables (.xlsx only)
Multiple export formats - CSV, JSON, plain text with customizable delimiters
Color control - --color/--no-color flags for piped or forced output
No-header mode - --no-header to treat first row as data
Row/column IDs - sticky column-letter row and row-number column in interactive mode (--no-column-id/--no-row-id to hide)
Blazing fast - powered by calamine, the fastest Excel parser in Rust
Download platform-specific binaries from the latest release:
macOS: Universal binary (Apple Silicon + Intel)
Linux: x86_64 (glibc and musl)
Windows: x86_64 MSI installer or standalone .exe
Build from Source
git clone https://github.com/bgreenwell/xleak.git
cd xleak
cargo install --path .
Requirements: Rust 1.88 or later
Usage
Interactive TUI Mode (Recommended)
# Launch interactive viewer
xleak quarterly-report.xlsx -i
# Start on a specific sheet
xleak report.xlsx --sheet "Q3 Results" -i
# View formulas by default
xleak data.xlsx -i --formulas
# Enable horizontal scrolling for wide files (auto-size columns)
xleak wide-data.xlsx -i -H
TUI Keyboard Shortcuts:
↑ ↓ ← → - Navigate cells
Enter - View cell details (including formulas)
/ - Search across all cells
n / N - Jump to next/previous search result
Ctrl+G - Jump to specific row/cell (e.g., 100, A50, 10,5)
c - Copy current cell to clipboard (OSC 52 + system clipboard, works over SSH)
C - Copy entire row to clipboard (tab-separated)
Tab / Shift+Tab - Switch between sheets
? - Show help
q - Quit
Non-Interactive Mode
View a spreadsheet
xleak quarterly-report.xlsx
View CSV/TSV files
# CSV and TSV files work just like spreadsheets
xleak data.csv
xleak data.tsv -i
# Override the field delimiter (e.g. semicolon-separated)
xleak data.csv --csv-delimiter ";"
View a specific sheet
# By name
xleak report.xlsx --sheet "Q3 Results"
# By index (1-based)
xleak report.xlsx --sheet 2
Limit displayed rows
# Show only first 20 rows
xleak large-file.xlsx -n 20
# Show all rows
xleak file.xlsx -n 0
Export data
# Export to CSV
xleak data.xlsx --export csv > output.csv
# Export to JSON
xleak data.xlsx --export json > output.json
# Export as plain text (tab-separated)
xleak data.xlsx --export text > output.txt
# Custom delimiter for CSV/text export
xleak data.xlsx --export csv --delimiter ";" > output.csv
xleak data.xlsx --export text --delimiter "|" > output.txt
Control output formatting
# Disable colored output (useful for piping)
xleak data.xlsx --no-color
# Force colored output even when piped
xleak data.xlsx --color | less -R
# Treat first row as data (no headers)
xleak data.xlsx --no-header
# Generate column headers (A, B, C...) instead of using first row
xleak data.xlsx --no-header -n 5
# Hide the column-letter row or row-number column in interactive mode
xleak data.xlsx -i --no-column-id
xleak data.xlsx -i --no-row-id
Work with Excel Tables (.xlsx only)
# List all tables in a workbook
xleak workbook.xlsx --list-tables
# Extract a specific table as JSON (default)
xleak workbook.xlsx --table "Sales"
# Extract table as CSV
xleak workbook.xlsx --table "Sales" --export csv > sales.csv
# Extract table as plain text
xleak workbook.xlsx --table "Employees" --export text
Combine options
# Export specific sheet as CSV
xleak workbook.xlsx --sheet "Sales" --export csv > sales.csv
Examples
# Launch interactive viewer
xleak quarterly-report.xlsx -i
# Quick preview in non-interactive mode
xleak quarterly-report.xlsx
# See specific sheet with limited rows
xleak financial-data.xlsx --sheet "Summary" -n 10
# Interactive mode with formulas visible
xleak data.xlsx -i --formulas
# Export all data from a sheet
xleak survey-results.xlsx --sheet "Responses" --export csv -n 0
Configuration
xleak supports configuration via a TOML file for persistent settings like default theme and keybindings.
inherits copies another theme's palette before applying your overrides. Without it, a custom theme sharing a built-in's name inherits that built-in; a new name inherits Default.
foreground / background are broad-brush aliases — specific fields like string_fg override them.
Aliases exclude cursor, search, and row-highlight colors so they keep contrast from the parent theme.
Custom themes appear after built-ins in the t cycle.
deny_unknown_fields is on: a typo like forground will error rather than be silently ignored.
UI Settings
[ui]
# Default maximum rows to display in non-interactive mode (0 = all)
max_rows = 50
# Default maximum column width in characters
column_width = 30
Notes:
max_rows only affects non-interactive display mode (xleak file.xlsx)
Interactive TUI mode (-i) always shows all rows with lazy loading for large files
column_width applies to both modes and can be overridden with -w flag
Keybindings
xleak supports two built-in profiles plus custom keybindings:
VIM-style keybindings for efficient keyboard navigation:
Action
Key
Default Key
Description
VIM Navigation
Move left/down/up/right
hjkl
← ↓ ↑ →
VIM-style movement
Page up/down
Ctrl+uCtrl+d
PgUp PgDn
Half-page scrolling
Jump to top
gg
Ctrl+Home
Jump to first row
Jump to bottom
G (Shift+g)
Ctrl+End
Jump to last row
Jump to row start/end
0$
Home End
First/last column
VIM Actions
Yank cell
y
c
Copy cell (yank)
Yank row
Y (Shift+y)
C
Copy row (yank)
Standard
Quit
q
q
Same as default
Search
/
/
Same as default
Next/prev match
nN
nN
Same as default
All other keys
Same as default profile
Enable VIM mode:
[keybindings]
profile = "vim"
Custom Keybindings
Override individual keys while keeping the profile defaults:
[keybindings]
profile = "default"
[keybindings.custom]
# Use 'x' to quit instead of 'q'
quit = "x"
# Use '?' for search instead of '/'
search = "?"
# Use 'T' (Shift+t) to toggle theme
theme_toggle = "T"
# Use Ctrl+J to jump to cell
jump = "Ctrl+j"
No homepage URL was recorded for bgreenwell/xleak in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How active is development on bgreenwell/xleak?
The most recent commit recorded on bgreenwell/xleak was 11 days ago, based on the GitHub push timestamp. The repository has 69 forks — one of the better signals of community interest.
How many stars does bgreenwell/xleak have?
bgreenwell/xleak has 1.5k GitHub stars — refresh the page for the live number, or check github.com/bgreenwell/xleak. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What language is bgreenwell/xleak written in?
bgreenwell/xleak is written primarily in Rust. GitHub's language field is based on the largest share of bytes in the default branch.
What license does bgreenwell/xleak use?
bgreenwell/xleak is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is bgreenwell/xleak associated with?
GitHub's repository topics for bgreenwell/xleak: "cli", "excel", "ratatui", "rust", "rust-lang", "spreadsheet", "spreadsheets", "tui". TopGit's editorial category is Developer Tools.
Where do I read more about bgreenwell/xleak?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/bgreenwell/xleak is the definitive source.
Read full README in the tab above.
Is xleak worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of xleak.