Layerbit
Runs entirely in your browser

JSON to Table Viewer

Render any JSON array as a data grid: nested objects flattened, 100,000+ rows scrolling smoothly, filters per column, columns you hide, reorder and resize, group-by totals, cells you edit, and export to CSV, Excel or the edited JSON. Nothing leaves the page.

JSON Payload Input
Invalid JSON format. Please ensure it is an Array or contains a 'body' array.
0 Rows

Your rendered data grid will appear here.

Smart Data Architecture

Standard JSON converters fail when encountering nested objects. Layerbit's Grid Engine automatically flattens multi-level objects (e.g., user.address.city) and securely stringifies internal arrays, ensuring zero data loss during conversion.

  • Intelligent Parsing: Accepts direct JSON Arrays or structured objects containing a body array and an optional header.
  • Client-Side Filtering: Search every column, or filter each column on its own (>100, =paid, !test, empty), across 100,000+ rows without any server.
  • Pristine Export: Generates cleanly escaped CSV files ready for direct import into Excel, Google Sheets, or BI tools.

API Payload Auditing

Flatten massive nested JSON responses to quickly identify missing fields, verify data types, or spot anomalies across complex data structures.

NoSQL Database Exports

Visualize document-based database exports (like MongoDB or DynamoDB) in a readable grid format before sharing them with non-technical stakeholders.

Log File Analysis

Paste structured JSON application logs into the grid to easily filter by severity levels, timestamp ranges, or specific error codes instantly.

Quick Testing Templates

Test the grid rendering engine instantly. Click the templates below to load sample payloads and watch how the parser handles flat arrays, nested objects, and API headers.

Frequently Asked Questions

The parser utilizes a recursive flattening algorithm. If it encounters a nested object, it collapses it into a single column using dot notation (e.g., a location object containing a city property becomes a column named location.city).

There is no server and no size cap. Up to 500 rows are drawn in full; above that only the rows on screen are drawn, so a 100,000-row array scrolls, sorts and filters smoothly. The limit is your device's memory for the parsed JSON.

Each column has a filter box under its name. Plain text finds cells that contain it (ignoring case); >10, >=10, <5 and <=5 compare numbers by value (19-digit IDs included); =paid matches the whole cell and !=paid excludes it; !test keeps cells that do not contain the text; empty and !empty find blank or filled cells. Filters on several columns, and the search box above, all apply together.

Yes. Choose a column in Group by to get one row per distinct value with its count; choose a column in Total of to add its sum, average, minimum and maximum. Values that are not numbers are left out of the totals. Grouping works on the filtered rows, so filter first to total a subset.

Double-click a cell, type, and press Enter (Escape cancels). The edit is written to its place in the document, including inside nested objects, and keeps its JSON type when the text fits it: a number stays a number with every digit, true/false stays a boolean. The input box updates, and JSON downloads the edited document in the same shape you pasted, including a header/body wrapper.

Yes. Columns lists every column with a box to show or hide it and arrows to move it; drag the right edge of a column heading to make it wider or narrower. The exports follow the same choice and order.

Excel, LibreOffice and Google Sheets treat a cell that begins with =, +, - or @ as a formula, so a value such as =HYPERLINK("http://…") in your data can run when someone opens the file (CSV or formula injection). With Safe for Excel on, which is the default, such values are written with a leading apostrophe ('=HYPERLINK(…)); spreadsheets show them as text. Plain numbers such as -5 or +3.5 are left alone. Turn it off when the CSV feeds another program that must receive the exact text.

Yes. Export CSV and .xlsx write exactly what the grid shows: the rows that pass the search and column filters, in the current sort order, with only the columns you have not hidden, in their order. When the table is grouped, the exports contain the groups and their totals. Export JSON writes the whole document, with your cell edits, in the shape you pasted.

Why tabular beats indented for scanning

Formatted JSON is the right shape for reading one record carefully. It is the wrong shape for comparing forty of them, because each record's fields are separated vertically by every other field — so answering "which of these users has no email address?" means scrolling rather than glancing down a column.

A table inverts that. Fields become columns, records become rows, and gaps, outliers and type inconsistencies become visible as visual patterns instead of things you have to hold in memory. That is the whole value: not prettier output, but a layout where anomalies find you rather than the reverse.

Records with different shapes

API responses are rarely uniform — optional fields appear on some objects and not others. The table is built from the union of all keys across every record, so a field present on only two of fifty rows still gets a column, with the gaps visible rather than silently dropped.

Spotting type drift

A column where most values are numbers and three are quoted strings is a serialisation bug that is nearly invisible in indented JSON and obvious in a column. The same goes for a mix of null, "" and missing — three different states that mean different things.

Nested structures

Tables are flat and JSON is not, so a nested object or array inside a field has to be represented rather than expanded. Deeply nested payloads are better explored with the collapsible tree view; tables are for arrays of broadly flat records.

What a table cannot represent

Worth being explicit about the lossy parts, because they matter when you copy data out of a table and into something else:

  • Key order is not data. RFC 8259 defines a JSON object as an unordered collection. Column order here is a presentation choice, not information about the document.
  • Large integers. JavaScript parses JSON numbers into IEEE 754 doubles, which hold integers exactly only to 253 − 1. A 19-digit snowflake ID or bigint primary key loses precision on parse — silently, with no error. This is why well-designed APIs serialise large identifiers as strings. This tool reads numbers without that round trip, so a 19-digit ID is shown, filtered and exported with every digit.
  • Distinguishing absent from null. A blank cell may mean the key was missing, the value was null, or the value was an empty string. Those are three different facts and a table shows them identically.

None of that makes the table wrong — it makes it a view. Use it to find the record or field you care about, then go back to the JSON for the authoritative detail.

Local processing

The JSON most worth viewing as a table is production API output: user records, order lines, audit events. That is exactly the data that should not be pasted into a service you cannot inspect. Parsing and rendering here happen entirely in the page — verifiable in your browser's Network tab, and functional with the network disconnected.

Changelog

  • v3.0.0 Large arrays draw only the rows on screen (tested with 100,000 rows). A filter under each column (text, > < = comparisons that handle 19-digit numbers, not, empty). Columns can be hidden, reordered and resized. Group by any column with count, sum, average, min and max. Cells are editable, keep their JSON type, and are written back into the document; Export JSON downloads it. Excel (.xlsx) export with typed cells.
  • v2.2.0 Numbers are read losslessly: 19-digit IDs, 1e400 and -0 appear and export exactly as written instead of rounded, as Infinity or as 0. Export CSV has a Safe for Excel switch, on by default, that writes formula-like values with a leading apostrophe.
  • v2.1.0 Columns sort on click (numeric where every value is a number, natural-order text otherwise; empty cells sink to the bottom), and the sort composes with the live filter and CSV export.
  • v1.2.0 Integrated nested object flattening and robust client-side filtering via the grid toolbar.
  • v1.1.0 Added the CSV export functionality with strict quote escaping for spreadsheet compatibility.
  • v1.0.0 Initial release of the JSON Data Grid Viewer.