XLEAK(1)
π XLEAK β the manual, but make it cute β¨
okay so bestie, gather round, because xleak is genuinely one of those tools that makes you go "wait, we can do that?" It's a terminal Excel viewer with a whole interactive TUI, it lives in the General Commands Manual section, and it's about to become your new main character. π
β¨ NAME β¨
xleak β terminal Excel viewer with interactive TUI π¦
πΈ SYNOPSIS πΈ
xleak [-i] [-H] [-s sheet] [-n rows] [-w cols] [--wrap] [--formulas]
[--export format] [--list-tables] [-t table] [--config path] file
like. look at her. so many little flags to play with π
π DESCRIPTION π
xleak is a command-line tool for viewing Excel spreadsheets directly in the terminal, no Microsoft Excel required, no cap. It supports .xlsx, .xls, .xlsm, .xlsb, and .ods files. the range?? iconic. π₯
When you invoke it without -i, xleak prints a formatted table of the spreadsheet to standard output. Plain and simple, no drama. β¨
With -i tho? it launches a full interactive TUI β keyboard navigation, search, multi-sheet browsing, and clipboard support. it's giving "spreadsheet but make it a vibe." π
π OPTIONS π
π Viewing Options
-s,--sheetsheet β which sheet to display, by name or by 1-based index. defaults to the first sheet, obviously.-n,--max-rowsrows β the max number of rows to display. set it to0to show literally all of them. Default:50-w,--max-widthcols β maximum column width in characters. Default:30--wrapβ wrap long text instead of truncating it. no more mysterious...bestie π«Ά-f,--formulasβ show the raw formulas instead of the computed values. peek behind the curtain fr fr
πΉοΈ Interactive Mode
-i,--interactiveβ launch the interactive TUI mode. this is the one. the moment. π-H,--horizontal-scrollβ enable horizontal scrolling with auto-sized columns in TUI mode
π€ Export Options
-e,--exportformat β export the sheet to stdout in whatever format you name. possible values:csvβ Comma-separated valuesjsonβ JSON array of row objectstextβ Tab-separated plain text
ποΈ Table Options
--list-tablesβ list all named Excel tables in the workbook. Output format:Sheet<tab>Table. Only supported for.xlsxfiles.-t,--tabletable β extract and display a specific named Excel table. Can be combined with--export. Only supported for.xlsxfiles.
βοΈ General Options
--configpath β path to a custom configuration file. Default:$XDG_CONFIG_HOME/xleak/config.toml.-h,--helpβ print help information.-V,--versionβ print version information.
β¨οΈ INTERACTIVE CONTROLS β¨οΈ
these keyboard shortcuts are available in TUI mode. learn them, live them, slay them. π
π§ Navigation
Up,kβ Move cursor up one rowDown,jβ Move cursor down one rowLeft,hβ Move cursor left one columnRight,lβ Move cursor right one columnPageUp, Ctrl+u β Scroll up one pagePageDown, Ctrl+d β Scroll down one pageHomeβ Jump to start of current rowEndβ Jump to end of current row- Ctrl+Home,
gβ Jump to first row - Ctrl+End,
Gβ Jump to last row Tabβ Switch to next sheetShift+Tabβ Switch to previous sheet
π Search
/β Enter search mode (type query, thenEnterto confirm)nβ Jump to next search matchNβ Jump to previous search matchEscβ Clear active searchBackspaceβ Delete last character in search query
π¬ Actions
Enterβ Show full cell content in a detail viewcβ Copy current cell value to clipboardCβ Copy current row to clipboardtβ Toggle colour theme- Ctrl+g β Open cell jump dialog (enter a cell reference such as
B5) ?β Show keyboard shortcut help overlayqβ Quit
π ENVIRONMENT π
XDG_CONFIG_HOMEβ Base directory for user configuration files. If unset, defaults to~/.config
π¦ FILES π¦
$XDG_CONFIG_HOME/xleak/config.tomlβ Configuration file for theme, UI options, and custom keybindings. Created automatically on first run if absent. nah because it just appears for you, that's so thoughtful π
β EXAMPLES β
View the first sheet of a workbook:
$ xleak report.xlsx
View a specific sheet by name:
$ xleak report.xlsx --sheet Q1 Results
View a specific sheet by index:
$ xleak report.xlsx --sheet 2
Open in interactive TUI mode:
$ xleak report.xlsx -i
Show all rows without truncation:
$ xleak report.xlsx -n 0
Show raw formulas instead of values:
$ xleak report.xlsx --formulas
Export a sheet to CSV:
$ xleak report.xlsx --export csv > output.csv
Export a sheet to JSON:
$ xleak report.xlsx --export json > output.json
List all named tables in a workbook:
$ xleak report.xlsx --list-tables
Extract a named table as CSV:
$ xleak report.xlsx --table SalesData --export csv
Use a custom config file:
$ xleak report.xlsx -i --config ~/my-xleak.toml
π SEE ALSO π
go read those too bestie, they're the extended universe π«Ά
π AUTHORS π
xleak was written by Brandon Greenwell <greenwell.brandon@gmail.com>
This manual page was written by Nadzeya Hutsko <nadzya.info@gmail.com>
and that's the whole manual, no notes, 10/10, would read again π β¨
so this lovely thing shipped from Debian, dated May 2, 2026, and it's page XLEAK(1) of the manual β that's the whole vibe check, periodt. πππ
π¦ where this page comes from
- ubuntu stonking: xleak 0.2.6+dfsg-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms