Skip to content

JSON to Table Converter

Turn JSON into a live, sortable table right in your browser. Click any column to sort, then export the result as CSV, Markdown, or JSON.

Category: data
Use Case: Data Review, Sorting & Scanning, Export to CSV/Markdown
Privacy: 100% browser-based

Recommended Settings

Pro Tips

  • Click a column header to sort ascending, click again to sort descending, and a third click clears sorting
  • Arrays of objects become multi-column tables built from the union of all keys
  • A single JSON object is rendered as a two-column Key/Value table
  • Nested objects and arrays are shown as compact JSON strings inside a cell
  • Export as CSV or Markdown for docs and spreadsheets, or as JSON to keep the current sort order

Most Popular

Most users paste an array of objects and sort by a key column before exporting to CSV

When to Use This Tool

Quick Data Review

Paste JSON from an API response or log file and instantly see it as a sortable table, making it easy to spot outliers, duplicates, or missing fields.

Sorting Before Export

Sort JSON records by a column - like date, amount, or name - directly in the browser, then export the sorted result as CSV or Markdown.

Sharing Readable Data

Convert JSON into a Markdown table for documentation, or a CSV for teammates who prefer spreadsheets, without writing any conversion code.

Debugging API Responses

Render nested API payloads as a table to quickly check field values and structure before writing code against them.

How It Works

1

Parse the JSON input and detect whether it's an array of objects, a single object, or a list of values

2

Build table columns from the union of object keys, or use Key/Value columns for a single object

3

Render the result as a live, styled HTML table directly on the page

4

Click any column header to sort the table ascending, descending, or back to original order

5

Copy the current table as CSV, Markdown, or JSON, or download it as a CSV/JSON file

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by Pure JavaScript for optimal performance on modern browsers.

Secure

No data collection, no tracking, no sign-up required.

Frequently Asked Questions

How is this different from the JSON to CSV or JSON to HTML tools?

This tool renders JSON as an interactive table directly on the page, so you can sort it and inspect it visually before exporting. The JSON to CSV and JSON to HTML tools instead generate raw CSV or HTML source code as text output.

What JSON structures are supported?

Arrays of objects (rendered as a multi-column table), a single flat object (rendered as a Key/Value table), and arrays of primitive values (rendered as a single-column table) are all supported.

How does sorting work?

Click a column header to sort ascending, click again for descending, and a third click returns to the original order. Numbers and booleans sort numerically, and everything else sorts alphabetically. Rows are sorted only for display and export - your original JSON input isn't modified.

What happens to nested objects or arrays in a cell?

Nested values are shown as compact JSON strings inside their table cell, since a table is inherently flat. Flatten your JSON beforehand if you need nested fields as separate columns.

Which export format should I use?

Use CSV for spreadsheets like Excel or Google Sheets, Markdown for documentation and READMEs, and JSON if you want to keep the current sort order as structured data.