How to make a pivot table from a CSV file without Excel

A pivot table is the fastest way to answer “how much, by what”: revenue by region and month, tickets by agent and status. Excel does it well until the file is too big, or you are on a machine without Excel. Here is how to do it in the browser instead, on files of millions of rows.

Build it by dragging fields

Open the file in NoEgress and switch to the Pivot view. Drag a field to Rows (region), another to Columns (month) and a number to Values (revenue). The table updates as you go.

Each value can be a Sum, Average, Count, Min, Max or Count distinct, and you can add more than one value side by side. Date fields can be bucketed by day, week or month for trends.

Why it handles bigger files than Excel

Excel stops at 1,048,576 rows per sheet. The pivot here is a DuckDB query running in your browser, so it aggregates millions of rows without loading every one into a grid. A CSV that crashes Excel usually pivots in a second or two.

The same pivot in SQL

DuckDB has a PIVOT statement, so the SQL editor can produce the same table. Handy if you want to save the query or tweak it beyond what drag and drop allows.

SQL
PIVOT orders
ON strftime(order_date, '%Y-%m')
USING SUM(revenue)
GROUP BY region
ORDER BY region;

Clean first if the totals look wrong

A pivot that shows zero or refuses to sum usually means the number column came in as text, for example “$1,200”. Run Clean up numbers in the Table view first, and Fix dates if months come out in the wrong order.

Share or export the result

Export the pivot as CSV or Excel. Export layout saves just the field arrangement, not the data, so you can rebuild the same pivot on next month’s file. Nothing is sent anywhere unless you send it.

Frequently asked

Is there a free online pivot table tool that doesn’t upload my file?

NoEgress is one. It runs entirely in your browser with DuckDB in WebAssembly, needs no account, and the file is never uploaded.

Can I pivot an Excel file, not just a CSV?

Yes. Excel, CSV, TSV, JSON and Parquet files all open as tables, and each sheet of a workbook can be pivoted.

Can I unpivot instead?

Yes. In the Table view, Unpivot columns to rows turns a wide sheet with one column per month into a long table, which is usually the shape you want before pivoting again.