📊

JSON to Table Viewer

Paste a JSON array and view it as a sortable, searchable, filterable table. Supports nested objects flattened as columns.

JSON Input
Table
Paste a JSON array on the left to render a table.

About JSON to Table Viewer

This tool converts any JSON array of objects into a fully interactive HTML table with one click. It auto-detects all keys as column headers, color-codes values by type (string, number, boolean, null, object), and lets you sort any column ascending or descending by clicking the header.

All data is processed entirely in your browser — API responses, database exports, and internal datasets never leave your machine. The global search bar filters rows in real time, making it easy to find specific records in large JSON payloads without any setup.

Common Use Cases

How to Use

  1. Paste a valid JSON array (e.g. [{"id":1,"name":"Alice"},...]) into the input area
  2. Click "Render Table" — columns are auto-generated from all unique keys in the array
  3. Click any column header to sort rows by that field; click again to reverse sort order
  4. Type in the search box to filter visible rows across all columns simultaneously

Frequently Asked Questions

Does the JSON have to be an array?

Yes — the viewer expects a JSON array of objects at the top level, where each object represents a row. If your JSON is a single object, wrap it in an array ([{...}]). If your array is nested inside a key, copy just the array portion from a JSON formatter first.

How are nested objects and arrays displayed in cells?

Nested objects and arrays are shown as a compact JSON string in the cell, color-coded in purple so they stand out from primitive values. You can copy the cell content and paste it into the JSON formatter tool to inspect it in full.

Is there a row or column limit?

There is no hard limit enforced by the tool — it renders whatever is in the JSON array. In practice, very large arrays (tens of thousands of rows) may slow down the browser's DOM rendering. For datasets that large, filtering the JSON down to a representative subset first is recommended.

Advertisement