Instant · Free · No sign-up

JSON to CSV Converter — made simple

Paste your JSON, get a clean CSV file ready for Excel, Google Sheets, or any spreadsheet app. Handles nested data, custom delimiters, and large files — all in your browser.

Converter — Ready
Awaiting input
Your CSV preview will appear here.
0 rows 0 columns Tab delimiter
Browser-only processing
No file upload to server
Instant conversion
100% free forever
The basics

What is a JSON to CSV converter?

A JSON to CSV converter transforms data from JSON (JavaScript Object Notation) into CSV (Comma-Separated Values). JSON is the format used by virtually every modern web API, mobile app, and JavaScript application. It is hierarchical, supports nested objects and arrays, and is optimised for machines to read and write. CSV is the format used by Microsoft Excel, Google Sheets, Apple Numbers, and every BI tool. It is flat, tabular, and optimised for humans to read and analyse.

Most real-world data is born JSON. Most real-world analysis happens in spreadsheets. A JSON to CSV converter is the bridge between the two. It takes an API response, a config export, a log dump, or a database snapshot and turns it into a rows-and-columns file that you can open, filter, pivot, and chart in seconds.

HopConvert handles the messy parts automatically: it detects whether your input is a top-level array of objects (the most common API shape), a single object, or a JSON Lines file. It flattens nested objects using a separator (so address.city becomes address__city in the column header). It detects arrays of primitive values and joins them with a delimiter (so ["SQL", "Python"] becomes SQL | Python). It escapes commas, quotes, and newlines so your CSV opens cleanly in Excel without mangled rows. And it does all of this in your browser — your file never leaves your machine.

For a deeper technical explanation of the JSON to CSV conversion, see the JSON to CSV guide. For the inverse direction, try the CSV to JSON converter.

Step by step

How to convert JSON to CSV in 4 steps

Most conversions take less than a minute. No login, no upload to a server, no installation.

  1. Paste or upload

    Drop a .json file into the upload zone, paste JSON text into the box, or paste a URL that returns JSON. The converter auto-detects the structure as you type.

  2. Choose options

    Open the settings cog to pick a delimiter (comma, tab, semicolon, pipe), the nested-data strategy, and whether to convert epoch timestamps to ISO dates.

  3. Preview

    The live preview table updates instantly. Verify the column layout, edit the output filename, and reset if anything looks off — nothing is committed until you click Download.

  4. Download

    Click Download CSV to save the file. Open it directly in Microsoft Excel, Google Sheets, Numbers, or any spreadsheet app. Most spreadsheets auto-detect the delimiter.

Why HopConvert

Built for the messy JSON you actually have

Real-world API responses are nested, inconsistent, and full of edge cases. HopConvert handles them so you don't have to.

Nested JSON support

Four nested-data strategies: header/detail, flattened with separator, concatenated, or matrix. Pick the one that matches your data.

Custom delimiters

Comma, tab, semicolon, or pipe. Tab is ideal for pasting straight into Excel. Semicolon is the default in many European locales.

Epoch timestamp conversion

Toggle one checkbox and any Unix timestamp values are automatically rendered as ISO-8601 dates (yyyy-mm-dd).

Browser-only privacy

Every byte is processed in your browser using JavaScript. Nothing is uploaded, logged, or stored on our servers — your data stays on your machine.

Live preview

The result table updates as you type. See the column layout, header names, and row count before downloading — no surprises.

Smart column ordering

Keep the original key order from your JSON, or let HopConvert reorder columns to group related fields together for easier reading.

Comparison

JSON vs CSV: what's the difference?

Both formats store data, but they're designed for very different jobs.

Aspect JSON CSV
Structure Hierarchical (nested objects, arrays) Flat tabular (rows and columns)
Best for APIs, web apps, configuration, machine-to-machine Spreadsheets, BI tools, human analysis, databases
File size Larger (more syntax overhead) Smaller (compact plain text)
Human readability Moderate (requires understanding of syntax) High (opens directly in Excel)
Schema enforcement Implicit (keys in each object) Implicit (header row)
Nested data Native support Requires flattening
Data types String, number, boolean, null, object, array All cells are text (types inferred by application)
Use cases

When teams reach for JSON to CSV

From quick ad-hoc analysis to production data pipelines — JSON to CSV is one of the most-used transforms in data work.

API response analysis

Pull a REST API response, paste it in, and get a spreadsheet you can sort, filter, and share with non-engineers.

App data export

Convert a database export or an application JSON dump into CSV for Excel reporting, audit, or backup.

Log file analysis

Modern logging frameworks emit JSON-per-line. Flatten logs to CSV to spot trends in Excel or feed them to a BI tool.

Spreadsheet dashboards

Connect a live API to Google Sheets via Apps Script. The script fetches JSON, converts to CSV-compatible rows, and refreshes on a schedule.

Database ingestion

Most databases and warehouses accept CSV natively. Convert a JSON payload to CSV to bulk-load into Postgres, MySQL, BigQuery, or Snowflake.

Migration projects

Migrating from one system to another? Convert legacy JSON exports to CSV to feed a one-time import into the new platform.

The complete guide

JSON to CSV: the complete guide

Everything you need to know about JSON, CSV, and the conversions between them — from the basics to advanced edge cases.

What is JSON?

JSON (JavaScript Object Notation) is a lightweight text-based format for structured data, derived from JavaScript object syntax. It was popularised by Douglas Crockford in the early 2000s and standardised as RFC 8259 in 2017. Today it is the lingua franca of web APIs, mobile apps, configuration files, and inter-service communication.

A JSON document is built from two structures: a collection of name/value pairs (an object, written with curly braces) and an ordered list of values (an array, written with square brackets). Every value is one of: string, number, boolean, null, object, or array. This minimalism is what makes JSON easy to parse in every programming language and human-readable enough to inspect with the naked eye.

Example JSON object:

{
  "id": 42,
  "name": "Alice Chen",
  "email": "[email protected]",
  "skills": ["SQL", "Python", "Go"],
  "address": { "city": "New York", "country": "US" },
  "active": true,
  "joined": 1672531200
}

The hierarchical nature of JSON — objects inside objects, arrays of objects, arrays of primitives — is what makes it powerful for representing real-world data, but it is also the main challenge when you want to put that data into a flat spreadsheet.

What is CSV?

CSV (Comma-Separated Values) is the oldest and most widely supported tabular data format. It predates JSON by decades and is defined loosely — the closest thing to a formal spec is RFC 4180 from 2005. A CSV file is plain text: one record per line, with each field separated by a delimiter (usually a comma, but tab, semicolon, and pipe are common).

Example CSV:

id,name,email,active
42,Alice Chen,[email protected],true
43,Bob Singh,[email protected],false

CSV's strengths are its simplicity and its universal compatibility. Every spreadsheet program (Excel, Google Sheets, Numbers, LibreOffice Calc), every database (Postgres, MySQL, SQLite, BigQuery, Snowflake), and every data tool (Pandas, R, Tableau, Power BI) can read CSV without additional libraries. The downside is that CSV cannot represent nested data, and the lack of a single formal spec means dialects vary — especially around quoting, escaping, and which characters are valid delimiters.

The most common dialects you'll encounter:

  • RFC 4180 (Excel default): Comma delimiter, double-quote quoting, CRLF line endings, header row.
  • Tab-separated (TSV): Tab delimiter, used by database exports and Excel paste-buffer.
  • European CSV: Semicolon delimiter, because comma is the decimal separator in many EU locales.
  • Pipe-separated (PSV): Pipe delimiter, used by log files and tools that need a delimiter unlikely to appear in data.

When should you convert JSON to CSV?

JSON to CSV is the right tool whenever you need to take data from a system that emits JSON and put it somewhere that wants a table. The most common scenarios:

  • API analysis: Pull a REST API response, paste it into the converter, and open the result in Excel for ad-hoc analysis.
  • Database ingestion: Many warehouses and databases accept CSV more readily than JSON, especially for one-time bulk loads.
  • Reporting: Stakeholders who live in spreadsheets need CSV, not JSON.
  • Data archival: CSV is more compact than JSON and is supported by long-term archival tools.
  • Configuration migration: Some legacy systems only accept CSV imports.

The reverse — CSV to JSON — is just as common, especially when you're piping a spreadsheet into an API or a NoSQL database like MongoDB.

Common edge cases (and how HopConvert handles them)

Real-world JSON is messy. Here are the most common conversion pitfalls and how this converter deals with each:

  • Nested objects: Flattened with a separator. {"address": {"city": "NYC"}} becomes the column address__city. The separator is configurable.
  • Arrays of primitives: Joined with a delimiter. ["SQL", "Python"] becomes SQL | Python. Useful for tags, skills, and categories.
  • Arrays of objects (header/detail): One row per array element, with the parent fields duplicated. This is the default and works for most API responses with line-item data.
  • Inconsistent keys across rows: The union of all keys is used for the column set; missing values become empty cells.
  • Special characters in values: Commas, quotes, and newlines trigger automatic RFC-4180-style escaping. The cell is wrapped in double quotes and any embedded quote is doubled.
  • Epoch timestamps: Optionally converted to ISO-8601 dates (yyyy-mm-dd) for easier reading in Excel.
  • JSON Lines (one object per line): Detected and split into rows. Useful for log files.
  • Top-level single object (not an array): Treated as a one-row CSV.

Best practices for JSON to CSV conversion

  1. Always use a header row. It documents your columns and makes downstream tools (Pandas, BigQuery, Excel) work correctly. HopConvert always emits a header row.
  2. Pick the right delimiter for your data. If your values contain commas, use tab or pipe. If your tool expects a specific delimiter (e.g., semicolon for EU Excel), use that.
  3. Be deliberate about nested data. There is no single "right" way to flatten a hierarchy into a table. The header/detail strategy works for most cases, but flattened or matrix modes may suit your analysis better.
  4. Convert dates to ISO-8601. Excel often mis-parses local date strings. 2024-12-31 is safer than 12/31/2024.
  5. Spot-check the output. Open the first 5–10 rows in Excel and verify the structure before committing to a full download.
  6. Use UTF-8 encoding. HopConvert always emits UTF-8. If a downstream tool doesn't recognise it, open the CSV in a text editor and re-save with the right BOM.

HopConvert vs other JSON to CSV tools

There are dozens of JSON to CSV converters online. Here's how BunnyCompare compares on the dimensions that matter:

  • Privacy: HopConvert runs entirely in your browser. Other tools often upload your data to a server — fine for public APIs, risky for sensitive data.
  • Cost: HopConvert is free, with no sign-up, no limits, and no premium tier.
  • Nested data: HopConvert offers four strategies. Many competitors offer only one (usually flattened), which produces ugly output for the common header/detail case.
  • Live preview: HopConvert shows the result table as you type. Most other tools require you to click "Convert" first.
  • Settings: Custom delimiters, epoch conversion, smart column ordering — all available without an account.

For quick, one-off conversions of non-sensitive data, any tool will do. For repeated use on real data — APIs, exports, logs — the privacy and depth of HopConvert make a real difference.

FAQ

Frequently asked questions

Everything you need to know about converting JSON to CSV with HopConvert.

What is a JSON to CSV converter?
A JSON to CSV converter is a tool that transforms JSON (JavaScript Object Notation) data into CSV (Comma-Separated Values) format. CSV is the standard tabular format used by Excel, Google Sheets, and most database tools, while JSON is the standard for APIs and modern web applications. A converter bridges the two so you can analyse API data, application exports, and structured logs in a spreadsheet.
Is HopConvert free to use?
Yes. The JSON to CSV converter is 100% free with no sign-up required. The tool is free forever — there are no paid tiers, no feature gates, and no premium plans. All conversion runs in your browser so we don't pay for servers and we don't charge you.
Do I need to create an account?
No. HopConvert does not require an account, email address, or any personal information. Open the page, paste your JSON, and download the CSV — that's it.
Is my data private and secure?
Yes. All conversion happens client-side in your browser using JavaScript. Your JSON is never transmitted to a server. The page itself uses HTTPS, and no third-party tracking scripts run during conversion. The tool has no backend — there is literally no server that could see your data.
What is the maximum file size?
There is no hard size limit. The converter runs entirely in your browser, so the practical limit is the memory available to your tab (typically 200 MB to 2 GB depending on browser and device). For very large files we recommend Chrome or Edge with a 64-bit browser, and closing other tabs.
Can I convert nested JSON with arrays and objects?
Yes. Open the settings cog to choose between four nested-data strategies: header/detail (one row per array element, with parent fields repeated), flattened (nested keys joined with a separator like address__city), concatenated (arrays joined with a delimiter like SQL | Python), and matrix (full Cartesian expansion). The default header/detail mode works for most API responses.
Does the converter work offline?
Once the page is loaded, the core conversion runs entirely in your browser without further network requests. You can disconnect from the internet, reopen the page from cache, and still convert small files. This also makes the tool fast and private — ideal for sensitive data on locked-down networks.
How do I open the CSV in Excel or Google Sheets?
After downloading the .csv file, double-click it to open in Excel, or drag it into an open Google Sheets tab. In Google Sheets, use File → Import → Upload → Replace spreadsheet. If you used a non-comma delimiter (tab, semicolon, pipe), Excel will usually auto-detect it; otherwise use Data → From Text/CSV in Excel and pick the right delimiter.
What is the difference between JSON and CSV?
JSON is a hierarchical, text-based format for structured data using key-value pairs and arrays. It is the standard for REST APIs and modern web apps. CSV is a flat, tabular format with one row per record and one column per field, separated by commas (or other delimiters). CSV is the standard for spreadsheets, BI tools, and most data analysis pipelines. Converting JSON to CSV flattens the hierarchy into rows so the data can be analysed in Excel or loaded into a database.
Can I convert large JSON files (over 10 MB)?
Yes — for free. Because conversion happens in your browser, files up to your tab's available memory (often hundreds of MB) work without any upgrade. For very large files (100 MB+), close other tabs and use a 64-bit browser. If the file is too large, you'll see a friendly error message rather than a silent failure.
What delimiters are supported?
The converter supports comma, tab, semicolon, and pipe delimiters. Comma is the standard CSV default and works in Excel and Google Sheets. Tab is ideal for pasting directly into Excel. Semicolon is the default in many European locales. Pipe is useful when your data contains commas (for example, exported from log files).
Can I use HopConvert from a URL or API response?
Yes. Paste any URL that returns JSON (such as a public REST API endpoint) into the paste box and the converter will fetch the response and convert it. For private APIs (with auth headers or POST bodies), use the file upload or paste the response text directly.

Convert your JSON now

Free, fast, and private. No sign-up. Your data never leaves your browser.

Start Converting Read the FAQ