View Excel files in the terminal

Run tte "report.xlsx" to read an Excel workbook without opening Excel or converting it to CSV. TTE shows cell values and worksheets in a read-only terminal view on macOS, Linux, and Windows.

Use it to check a report beside your shell commands, inspect a workbook on a remote server, or copy a cell into your notes. The original workbook stays unchanged.

Install TTEOpen your first workbook →

In this guide

1. Open an XLSX workbook

Install TTE, then run this in an interactive terminal:

tte "quarterly report.xlsx"

Quote paths containing spaces. You can also provide a full path:

tte "/path/to/quarterly report.xlsx"

Or run tte . to browse the current directory, then open the workbook from the file explorer. XLSX files open directly in Spreadsheet view, with the workbook's saved active sheet selected first. No Excel or LibreOffice installation is required.

Over SSH, install TTE on the remote machine and open a workbook stored there. This is an interactive viewer; it does not print a workbook to standard output for shell pipelines.

3. Read saved values, dates, and formulas

TTE displays text, numbers, booleans, cell errors, and supported number and date formats. It reads the saved results of formulas. It does not calculate them, so a formula without a cached result can appear blank, and an old cached result can be out of date.

For example, if B4 contains a formula whose saved result is 125, the preview shows that saved value. Recalculate and save the workbook in a spreadsheet application when you need refreshed results, then reopen it in TTE.

Blank rows and columns between values retain their coordinates. Trailing formatting-only rows and cells are excluded from the preview's used grid. A merged range shows its stored value at the top-left cell; merged layout, charts, images, and workbook styling are not reproduced.

XLSX viewer or CSV table view?

If you have a workbook with several sheets, open the XLSX file directly to keep sheet names and cell addresses. There is no need to export each sheet to CSV first.

For data that is already CSV or TSV, open the text file and press Ctrl+K to read it as an aligned table:

tte data.csv

Press Ctrl+K again to edit its source text. CSV and TSV remain text files; XLSX is a workbook format and its spreadsheet preview is read-only. TTE does not convert between these formats. The terminal editing guide also covers Markdown previews.

Supported formats and workbook limits

This feature supports .xlsx files. It does not support editing workbooks, password-protected XLSX, legacy .xls, or .xlsb. Save an unencrypted XLSX copy in a spreadsheet application if you need to view a different format.

Parsing runs locally in an isolated worker with a 30-second timeout. A preview is limited to:

A large workbook with widely separated values can reach the cell limit even if few cells contain text. Malformed or oversized files show an error instead of a partial preview.

Common questions

Why does my XLSX file open as raw bytes?

Check tte --version; native XLSX previews require TTE 0.2.0 or newer. If you switched to Hex view, choose Spreadsheet in the status bar or press Ctrl+K. If parsing failed, read the error and check the file format and limits above.

Can I change a cell or save the workbook?

The XLSX spreadsheet view is read-only. Use a spreadsheet application to change cells, formulas, or formatting. TTE is useful for inspecting the workbook and copying values into an editable text file.

Why is a formula cell empty?

The workbook may not contain a saved result for that formula. Open it in a spreadsheet application, recalculate, and save it before viewing it again. TTE does not run formulas.

Can I view XLSX in the browser version of TTE?

XLSX support belongs to the terminal application. The browser text editor supports text, Markdown, CSV, and TSV; it does not parse Excel workbooks.