xlcat is a lightweight, command-line tool that allows you to quickly browse and preview Excel files (.xlsx, .xlsm) directly from your terminal.
- List all sheets in an Excel file with row and column counts
- Preview a specified number of rows from any sheet
- Automatically detect and list Excel files in directories
- Support for multiple Excel file extensions (
.xlsx,.xlsm,.xltx,.xltm)
git clone https://github.com/artemdorozhkin/xlcat.git
cd xlcatgo buildxlcat <file.xlsx> [options]
| Option | Short | Description | Default |
|---|---|---|---|
--rows |
-r |
Number of rows to preview | 5 |
--sheet |
-s |
Sheet name to preview | (none) |
--help |
-h |
Show help information |
Preview the first 10 rows of a specific sheet:
xlcat sales.xlsx --sheet "Q4" --rows 10List all sheets in a file with their dimensions:
xlcat data.xlsxList Excel files in a directory:
xlcat ./reports- excelize — Excel file handling
- tablewriter — Terminal tables
Made with ❤️ by artemdorozhkin.