Which JavaScript table library should you use?

Tables Bakeoff

3 min read Original article ↗

We built the same table nine times: eight libraries and a plain <table>. We timed them from 1,000 to 500,000 rows, compared what each can do, and picked one for each job.

8 libraries + plain <table> 1,000 to 500,000 rows 13 features Nov 2026

See the picks Why we did this

AG Grid Community showing UK house sales: a search box, column filters, grouped Sale and Address columns, row checkboxes and a bar beside each price AG Grid Community showing UK house sales in dark mode: a search box, column filters, grouped Sale and Address columns, row checkboxes and a bar beside each price
Our big-grid pick on 50,000 rows, with search, filters, grouped columns and editing. Try it.

What to use

It depends what the table is for. Three jobs, a pick and a runner-up for each.

The jobUseRunner-upWhy
A table on a pageA report, an article, docs. Up to a few thousand rows. Plain <table>no library Observable Inputs, one call, sort on click. For a search box, DataTables. 1 kB, 39 lines, 1,000 rows in about 55 ms. Prints, copies, Ctrl-F finds every row.
A big gridTens of thousands to 500,000 rows. Sort and filter built in. Any framework. AG Grid CommunityMIT, vanilla RevoGrid, 62 ms at 500,000 rows, with a corner link. 233 ms for 500,000 rows at 60 fps, sort and filter built in, 40 lines, 333 kB. See it do more
An editable gridEdit cells, paste ranges. Spreadsheet-like. TabulatorMIT, vanilla RevoGrid, passed the edit test with no config. Edit and paste both pass, free, no framework, 112 kB. Give its parent a height.
Build your ownReact, your markup and CSS. TanStack Table + a virtualizer 24 kB over React, 150 lines you write. What DataHub uses.

8 libraries + plain <table> 1,000 to 500,000 rows render, scroll and sort timed features compared, edit and paste tested same data, same page, same formatter

The full comparison, all nine Why we did this, and how

All nine, live, 1,000 rows each

Each cell is the library's own demo page embedded, with the shared data, formatter and theme and nothing else changed. Scroll inside one. Click a name for 500,000 rows, the code it took and the numbers. Perspective has no per-cell formatter, so its dates and nulls look different.

All nine at a glance

One row each, picks and runners-up first. Stars from GitHub on 21 Nov 2026. Render is the median of five page loads on one laptop the same day; treat it as an order of magnitude. Size is the gzipped JS and CSS the library adds to a page, read from the build; React, chunks loaded later and WASM are listed under it, not added in.

The table scrolls sideways.

Features counts the 13 we checked that come free: built in, with an option, or as a free plugin. A paid tier counts apart; "you write it" counts as nothing. Every feature for all nine Every number: 50,000 rows, sort, scroll, lines written, licences

Start with the pick

The install line and the code that makes a table, for each pick. Each demo page has the full code it took, with the data loading, the formatter and the sized parent.

Experiments

Spikes that are not part of the comparison. Both were built on TanStack, and both are part of why DataHub uses it.

Summary + filter table

Per-column summary stats (mini histogram, min/max/mean) above the table, plus in-table filtering.

DuckDB query demo

SQL over the 500,000-row Parquet file with DuckDB-WASM, in a Web Worker, results rendered into TanStack Table. The browser still downloads the whole file; queries run off the main thread and only the result rows reach the table.