Privacy & processing: Runs in your browser
This tool runs entirely in your browser — your files and text are processed on your device and are not uploaded to our servers.
How to use JSON to CSV Converter
- Step 1
Paste, Upload or Import JSON
Add valid JSON as an array, object or suitable API response. Paste directly, upload a JSON file or use a public URL when cross-origin access permits. Inspect the structure before selecting conversion options.
- Step 2
Flatten, Map and Preview Data
Choose Expand, Index, Join or Stringify for arrays; select nested-key naming and export delimiters. Rename or exclude columns, clean unwanted records, and inspect the live spreadsheet and column analysis.
- Step 3
Export CSV or Another Supported Format
Review headers, row counts, special characters, missing fields and representative nested records. Copy the resulting CSV or download it; select TSV, Excel, SQL, HTML, Markdown, XML, YAML or JSON when the receiving application needs a different output.
Key features
Nested JSON Flattening
Turn nested paths such as customer.address.city into clear, selectable table columns while keeping a configurable limit for deeply nested values.
Four Array Strategies
Expand arrays into rows, Index them into columns, Join values in a cell, or Stringify complex elements according to the destination.
Visual Field Mapping
Include, exclude, rename and reorder detected fields before exporting so CSV headers match a reporting template or import schema.
Spreadsheet-Style Preview
Search and sort the resulting rows in a tabular preview to catch missing columns and data-shape surprises before download.
Data Cleaning Controls
Trim values, remove blank rows and duplicates, and normalize headers where appropriate for more consistent downstream imports.
Column Data Profiling
Review inferred data types, completeness, unique and null values, numeric summaries and advisory data-quality scores.
Nine Export Formats
Export CSV, TSV, Excel XLS, SQL, HTML, Markdown, XML, YAML or JSON from one conversion workflow.
Reverse Data Conversion
Convert supported CSV, TSV, XML and YAML inputs back into JSON when you need to switch between tabular and structured data.
Schema and Code Models
Derive sample-based JSON Schema Draft-07, TypeScript interfaces or SQL CREATE TABLE structures for documentation and development.
Local Transformation Workflow
The page describes client-side conversion for pasted or uploaded data; public URL importing still makes a request to that external endpoint.
What Is JSON to CSV Conversion and When Should You Use It?
JSON to CSV conversion changes data represented as JavaScript Object Notation into comma-separated rows and columns. JSON supports objects, arrays, strings, numbers, booleans and null; CSV stores a grid of text fields separated by a chosen delimiter. The conversion makes API records easier to open in a spreadsheet, share with analysts, load into a database or review in a business report. The challenge is that nested JSON does not have one universally correct flat representation.
MyToolSpace JSON to CSV Converter is intended for that shape-changing task, not just replacing curly braces with commas. It examines the source structure, creates columns for nested keys, offers strategies for arrays, and lets you map output fields before export. This matters when an API record has customer details, addresses, orders, tags and optional properties, because a simplistic converter can hide arrays in unreadable cells or produce missing columns.
A successful conversion starts with a clear destination. If you need one row per customer, preserve customer-level fields and consider joining tags. If you need one row per purchased item, expanding an orders or items array may be more useful. Verify the shape in the preview, then save a CSV for Excel, Google Sheets, business intelligence, statistical work or a database import.
Hierarchical Input: JSON contains nested objects and arrays; it does not require a rectangular grid.
Tabular Output: CSV has rows and text fields; the chosen flattening approach defines what each row represents.
Practical Review: Check whether the final rows match customers, transactions, events or another business entity.
Export Flexibility: Keep the source JSON so a different flattening method can be used later.
How to Convert JSON to CSV Online Step by Step
Open the MyToolSpace JSON to CSV Converter and paste a JSON array, upload a supported JSON document, or import a public JSON URL if the remote server permits browser access. A common starting shape is an array of similarly structured objects, where each object becomes a candidate row. For a single object or a response wrapped in a property such as data or results, inspect the tree to understand which nested section contains the actual records.
Choose the array strategy before finalizing the table. Expand is useful for line items; Index is better for short lists with known positions; Join makes a compact label field; and Stringify keeps JSON text for later use. Set the path notation and flattening depth, then use field mapping to rename nested paths, remove internal identifiers from exports, and put important columns first. Turn on cleaning only when removing records or characters is appropriate for the dataset.
Preview several records, including one with missing properties, one with special characters and one with multiple array entries. Search or sort columns to spot abnormal values, use the analyzer to identify sparse fields, and download CSV or copy the output. Reopen the file in the receiving application to confirm character encoding, delimiter recognition, numeric identifiers and date formats. Retain the untouched JSON for auditing or remapping.
Start With Valid JSON: Check braces, quotation marks, commas and array structure before asking the converter to flatten the input.
Verify Rows: A preview that looks tidy is not enough; compare the actual output row count with the intended records.
Flatten Nested JSON Objects Without Losing Context
Nested objects express relationships by placing one property inside another. A record might include user.name, user.address.city and user.address.postalCode. CSV cannot store those paths as native nested objects, so a flattening engine produces separate columns with path-based headers. MyToolSpace offers dot notation, bracket notation and underscore notation, allowing the same data to fit developer-friendly paths, form-style field names or database naming conventions.
Dot paths are readable when debugging API exports, but a literal JSON key containing a period can make its origin ambiguous if no escaping convention is established. Bracket-style paths may resemble common programming access syntax, while underscores often work better for SQL columns. Choose one approach consistently. If two distinct source paths would collapse to the same chosen output header, review the mapping and rename them manually to prevent confusion.
The maximum flattening depth is a practical tradeoff. An unlimited number of deeply nested keys could yield a spreadsheet with hundreds of sparse columns, whereas a shallow limit can keep lower-level structures serialized into cells. When data must remain fully reconstructable, CSV may be the wrong storage format. Preserve the original JSON, document your flattening rules, and select a structured export such as JSON or YAML when hierarchy is central to the meaning.
Dot Notation: Useful for developer inspection, with paths resembling user.address.city.
Bracket Notation: Represents nested property names using a bracket-oriented style.
Underscore Notation: Often easier to map into simple database or analytics column names.
Depth Controls: Keep extremely deep records manageable by limiting how far the converter expands.
Expand, Index, Join or Stringify JSON Arrays
Arrays are the most consequential decision in a JSON-to-CSV workflow. Imagine each order has an items array containing multiple products. Expanding those items creates separate rows for each element and can repeat order-level values such as customer or order ID. That representation is ideal for item-level analysis but can make a naive sum of repeated order totals incorrect. Before exporting, decide whether a row represents an order, an item or a customer.
Index mode creates separate columns for array positions such as tags.0 and tags.1, which is manageable when lists are short and mostly consistent. Join mode combines primitive array values such as labels into a single text cell with a separator; it is compact but the joined text is not automatically a recoverable list if values themselves contain that separator. Stringify mode stores the JSON representation inside a CSV cell, preserving more structure but reducing direct spreadsheet readability.
The MyToolSpace interface documents Expand, Index, Join and Stringify options. Compare the resulting row and column counts for a representative sample before committing. Multiple nested arrays may multiply rows when expanded together; that can look like unexpected duplicates even though the tool is following a selected flattening rule. Use Index or Stringify for arrays that should not change record counts, or export related tables separately when relational accuracy matters.
Expand: Create rows from child entries; useful for detail-level records.
Index: Turn array positions into separate numbered columns.
Join: Combine short primitive lists into a single readable cell.
Stringify: Store the JSON array as text for reference or later processing.
Map JSON Fields to Clear CSV Column Headers
API responses often contain technical field names that are inconvenient for the people reading a report. Column mapping changes source paths such as customer.contact.primary_email into a friendlier heading such as Email while preserving the source data during conversion. MyToolSpace supports including or excluding fields, changing output names and arranging columns in the order needed by another system. This is particularly helpful for recurring imports that expect an exact header list.
Use descriptive column names without hiding important units or semantics. For example, amount_minor_units and amount_usd represent different quantities; renaming both to Amount creates ambiguity. An order identifier should remain recognizably an identifier, especially if a spreadsheet might display a long numeric string in scientific notation. If email addresses or internal IDs are not needed in the receiving report, exclude them before export rather than sharing unnecessary values.
Column headers also influence downstream tooling. SQL databases may prefer snake_case, a reporting dashboard may expect human-friendly labels, and a CSV import wizard might require exact field names. Review collisions, missing source keys and unusual punctuation before saving a mapped export. Keep a record of the original JSON paths and new CSV headers in team documentation when the conversion becomes part of an ongoing data pipeline.
Select Fields: Include only the properties needed for the intended analysis or import.
Rename Clearly: Use labels that preserve meaning, units and business context.
Order Columns: Put keys and high-value attributes first for manual review.
Protect Data: Exclude unnecessary personal identifiers or internal fields.
Clean, Deduplicate and Profile Converted Data
Format conversion does not automatically turn poor-quality records into trustworthy data. One field can contain blank values, another can mix numeric identifiers with free text, and repeated API requests can produce duplicate records. The converter provides controls for trimming whitespace, removing empty rows, deleting duplicates and normalizing headers. These options simplify many exports, but every cleaning action can also discard distinctions if applied to the wrong dataset.
Before deduplicating, establish what a duplicate means. Two customers with the same name may be different people, and two transaction records with matching values may represent separate events. The page describes whole-row deduplication, which should not be confused with entity resolution based on a unique business key. After filtering records, compare source and output counts and preserve a copy of the original data so changes remain traceable.
The Analyze tab reports inferred types, null and unique counts, fill rates, representative values and numeric summaries. Its 0–100 quality score evaluates heuristics such as completeness, consistency, validity and uniqueness; it is not an external certification that the dataset is accurate. A column may look consistent but still contain wrong prices or mislabeled dates. Combine automated signals with domain-specific checks, especially before financial reporting, customer communications or automated decision-making.
Trim With Care: Whitespace can be harmless padding in one field but significant information in another.
Check Uniqueness: Use stable record IDs to judge duplicates when business meaning matters.
Profile First: Review null rates and inferred types before publishing the transformed data.
Audit Changes: Keep source records and note which cleaning settings were applied.
CSV Delimiters, RFC 4180 Quoting and Unicode
A CSV file usually separates fields with commas, but real values can also contain commas, line breaks and quotation marks. A standards-aware exporter encloses such fields in quotes and doubles internal quote characters. The MyToolSpace page describes RFC 4180-style CSV escaping, so address descriptions, notes and other free-text columns can remain parseable when exported. Always test the output with the application that will consume it because CSV readers can differ in their handling of edge cases.
Delimiter settings matter across regional spreadsheet configurations. Standard comma-separated output works for many imports, while semicolons are common when decimal commas are used. Tabs provide TSV; pipes can help in workflows where commas are frequent. Do not treat a pipe-delimited file as ordinary comma-separated CSV without configuring the recipient. When opening a file, choose the matching delimiter in the spreadsheet import dialog if values all appear in one column.
Unicode allows text such as accented names, Hindi, Arabic and emoji to survive when the reading application supports the encoding. The page describes UTF-8 export with a byte order mark intended to improve Excel compatibility. Even with correct encoding, spreadsheet programs may automatically reinterpret identifiers, large integers, leading zeros or date-like strings. Use a deliberate import workflow and set sensitive columns to text, then verify a few representative values after opening the file.
Quoting: Embedded delimiters, quotation marks and newlines require properly escaped fields.
Encoding: Choose UTF-8-aware import settings to preserve international characters.
Separator: Use comma, semicolon, tab or pipe according to the receiving application.
Text Types: Protect leading zeros, long IDs and date-like strings from automatic conversion.
Convert REST and GraphQL API JSON into CSV Reports
Most REST and many GraphQL APIs represent results as JSON. They may wrap records inside response.data, attach pagination metadata, or include related objects inside each record. Converting this material into CSV lets a developer hand useful tables to a team that works primarily in Excel, Google Sheets or BI software. First identify the collection you actually need; flattening the entire response wrapper can create columns full of metadata rather than the records of interest.
For public JSON endpoints, MyToolSpace offers importing data from a URL, subject to the remote server's cross-origin resource sharing settings. That is distinct from pasting data already on your device. Do not place secret API tokens into a public URL or assume that a web browser can access a private endpoint without proper authorization. If direct import is blocked, retrieve the response through an authorized API client and paste a suitably redacted sample into the converter.
Pagination, rate limits and partial responses are external API concerns. A JSON to CSV converter works on the data supplied to it; it should not be assumed to automatically traverse every API page or authenticate an entire integration. When consolidating several responses, check that they share a compatible schema, that records are not repeated, and that timestamps or currency units are consistent. Keep information about the API version and extraction date next to exported business reports.
Pick the Record Array: Identify the payload section that should create spreadsheet rows.
Watch Pagination: Verify whether the source contains the complete dataset or only one page.
Respect API Controls: Avoid leaking credentials through public import URLs.
Reconcile Totals: Compare record counts and key fields with the API response.
CSV, TSV, Excel, SQL, HTML, Markdown, XML, YAML and JSON Exports
The tool supports nine output formats so that one cleaned and mapped dataset can serve different destinations. CSV and TSV are practical for imports and analysis. Excel XLS helps users who prefer a spreadsheet file, while HTML and Markdown tables are convenient for documentation and readable reports. Exporting SQL can produce statements for database tables and rows; review the generated definitions and data before running them against any database.
XML, YAML and JSON exports suit workflows that need structured text rather than a flat spreadsheet. However, once data has been flattened or merged, an output in a hierarchical syntax does not necessarily recreate the exact original hierarchy. If round-trip fidelity matters, compare the exported data with the source and prefer storing original JSON as the canonical record. File extension and actual output format should match the system that will consume the result.
The page additionally describes generating JSON Schema Draft-07, TypeScript interfaces and SQL CREATE TABLE structures from examples. These are helpful starting points for tests and development contracts, not authoritative specifications for all possible future records. A sample may omit optional properties, edge values or uncommon types. Review generated schema constraints and database types with someone who understands the expected data before using them in production migrations.
CSV or TSV: Good for standard spreadsheets, business intelligence and bulk imports.
Excel XLS: Useful when recipients want a conventional spreadsheet file.
SQL Export: Inspect identifiers, type inference and INSERT statements before execution.
Structured Export: Use XML, YAML or JSON when the receiving workflow expects structured text.
Open JSON-Derived CSV in Excel, Google Sheets or BI Tools
Microsoft Excel, Google Sheets, LibreOffice Calc and many analytics platforms can ingest CSV, but each may infer data types and separators differently. After downloading, use an import workflow rather than blindly opening files when identifiers, dates, non-English text or multi-line values are important. Inspect the number of columns, select the correct delimiter, and check whether the first row is being treated as the header.
For Excel, the page lists CSV and XLS exports. An XLS file is not the same as the modern XLSX format, and spreadsheet compatibility can vary with the version and platform. For Google Sheets, upload the CSV through its import interface and check separator detection. Power BI, Tableau or pandas users should define data types consciously rather than relying exclusively on inferred values from a small sample.
A CSV is not a live API connection. If the source JSON changes tomorrow, the downloaded file remains a snapshot of the data you converted. Save the source timestamp, include a suitable report date and repeat the authorized export process when fresh data is required. For reliable recurring pipelines, version column mappings and verify that upstream fields have not been renamed or removed.
Excel Import: Set leading-zero identifiers and long numeric codes to text.
Google Sheets: Check delimiter selection, dates and rows after upload.
BI Workflows: Document the schema and apply explicit column types.
Snapshot Awareness: A downloaded file does not refresh itself from the source API.
JSON vs CSV vs Excel: Choose the Right Data Representation
JSON is flexible because it can express nested objects and preserve native value types. It is a standard interchange format for many APIs and software configurations. CSV is intentionally simpler: a line-oriented table of text values, usually accompanied by a header row. That simplicity makes CSV portable, but the meaning of a number, boolean or null often has to be re-established by the receiving application.
A spreadsheet workbook adds features such as cell formatting, multiple sheets, formulas and filters, but it is not interchangeable with either raw JSON or ordinary CSV. The MyToolSpace Excel option is designed for spreadsheet-oriented export; do not assume that every spreadsheet feature, formula or modern workbook format is preserved. For unambiguous data interchange, keep schema documentation alongside the exported table.
Choose JSON when you need nested semantics, typed records or precise API payloads. Choose CSV when your downstream software expects flat rows or a human needs to review records quickly. Choose Excel when a compatible workbook is the requested deliverable. Convert only what you need; retaining an untouched original is the most reliable way to revisit earlier decisions about arrays, missing values and field mappings.
JSON: Strong choice for structured application and API data.
CSV: Strong choice for portable rows, exports and simple tabular imports.
Excel: Useful for spreadsheet-centric exchange and viewing.
Original Records: Keep raw JSON if relationships or data types matter later.
Privacy, CSV Formula Injection and Safe Data Sharing
The MyToolSpace page describes JSON parsing, flattening, cleaning and output generation in the browser. That design can reduce routine file-transfer exposure for pasted or locally uploaded records, but it should not be converted into a blanket security guarantee. The application still loads as a website, public URL imports make network requests, and browser extensions or shared devices can introduce separate risks. Follow your organization's rules for confidential data regardless of the tool's implementation.
CSV formula injection is a separate downstream issue: spreadsheet software may treat a value beginning with characters such as =, +, - or @ as a formula, depending on the program and import settings. A JSON string supplied by an untrusted source can therefore be dangerous when casually opened as a spreadsheet. Treat external input as untrusted, use text-only import for affected columns, and sanitize values with an application-appropriate method when distributing files to others.
Minimize data before sharing. Use field mapping to remove access tokens, unnecessary email addresses, personal identifiers and internal notes. Avoid placing secrets inside a pasted example, query string or screenshot. If files will feed a database, review SQL output separately, use least-privilege credentials and test changes in a non-production environment. Data privacy, safe spreadsheet handling and data quality are responsibilities of the full workflow, not properties established by a conversion button alone.
Minimize Export: Exclude personal or sensitive columns that the recipient does not need.
Untrusted Values: Review text that could be interpreted as a spreadsheet formula.
Network Imports: Public URL fetching is not equivalent to offline processing.
Database Safety: Inspect generated SQL carefully before executing any statement.
JSON, CSV and Excel Compared
The best target depends on structure, data types and how recipients use the information.
| Data structure | Type handling | Typical use | Review point | |
|---|---|---|---|---|
| JSON | Nested objects and arrays | Native typed values | APIs, software configuration | Not directly spreadsheet-shaped |
| CSV | Rows and columns | Text values; types re-inferred | Analytics and imports | Hierarchy and types may be lost |
| TSV | Tab-separated columns | Text values | Text-heavy tables | Tabs/newlines need careful parsing |
| Excel XLS | Spreadsheet-oriented workbook | Spreadsheet import semantics | Spreadsheet recipients | Not equivalent to XLSX |
| SQL | Schema and row statements | Inferred SQL types | Database preparation | Must review before execution |
Choose a JSON Array Conversion Strategy
Different array treatments change both the shape and meaning of the result.
| Result | Best suited to | Main caution | |
|---|---|---|---|
| Expand | One or more rows per element | Line items and event records | Parent fields may repeat |
| Index | Numbered columns | Short fixed-length lists | Wide tables for long arrays |
| Join | Values combined in one cell | Tags and simple labels | Separator can obscure boundaries |
| Stringify | JSON text in one cell | Complex arrays kept as text | Harder for spreadsheets to analyze |
CSV Export and Import Quality Checklist
Use the preview and receiving application to verify important conversions.
| Suggested action | Why it matters | |
|---|---|---|
| Headers | Check labels and ordering | Import schemas may require exact names |
| Delimiters | Match comma, semicolon, tab or pipe | Wrong choice produces one wide column |
| Quotation marks | Test values containing commas and newlines | Avoid broken row boundaries |
| Unicode | Inspect accented letters and emoji | Detect incompatible import encoding |
| Identifiers | Import long IDs and postal codes as text | Prevent rounding and lost leading zeros |
| Arrays | Compare row counts with source intent | Expansion can multiply rows |
| Null values | Compare missing, empty and zero | CSV lacks JSON null semantics |
| Duplicates | Review before deletion | Valid repeated events may look identical |
| Dates | Inspect locale and time zone interpretation | Automatic parsing can alter meaning |
| Totals | Reconcile a representative sample | Detect mapping or counting mistakes |
Typical JSON to CSV Workflows
Examples show what each team should optimize for before downloading.
| Preferred output | Validation priority | |
|---|---|---|
| REST API records | CSV with mapped headers | Pagination and duplicates |
| Order items | Expanded detail rows | Do not double count totals |
| Contact directory | Flat customer table | Exclude private fields |
| Product catalog | CSV or Excel XLS | Variants and optional attributes |
| Analytics events | CSV or TSV | Timestamps and event identifiers |
| Developer fixtures | JSON, CSV or SQL | Test edge cases and schema |
| Reports and README | HTML or Markdown tables | Display escaping and readability |
| Database migration draft | SQL export | Column types and execution safety |
Common use cases
Developers Exporting API Responses
Turn REST or GraphQL response records into reviewable CSV while mapping nested properties and verifying pagination before sharing them with non-developers.
Data Analysts and BI Teams
Flatten event or sales JSON for spreadsheets and dashboards, inspect column completeness, and reconcile record counts before analysis.
Operations and Reporting Teams
Create consistent customer, product or service tables from exported application data, then choose readable column names for recurring reports.
Ecommerce Managers
Convert catalog and order JSON into CSV for inventory and sales review. Choose whether each row represents an order, product or item.
Database Administrators
Prepare CSV or generated SQL from JSON samples while reviewing identifiers, inferred types and row shapes before an authorized import.
Students and Educators
Transform sample JSON into tables for data-literacy exercises, compare hierarchy against flat files, and inspect how arrays alter row counts.
Technical Writers
Build HTML or Markdown tables from structured examples for documentation and README files, with headings mapped for readability.
Marketing Analysts
Review campaign records from JSON APIs in a spreadsheet, preserve reporting dates, and remove irrelevant tracking or personal fields.
QA and Test Engineers
Convert fixture JSON into tabular test datasets, inspect missing values and unexpected structures, and export representative examples for test cases.
Practical tips
Choose the Unit of One Row
Decide whether one exported row represents a customer, order, event or order item before expanding arrays. Without that rule, a spreadsheet total can be misleading.
Keep the Original JSON
Retain an unmodified source copy and document conversion settings. A flat CSV often cannot reconstruct nested relationships or original value types.
Inspect Nested Arrays First
Review the array mode and predicted row count before downloading. Multiple expanded arrays may create combinations and repeated parent values.
Preserve Identifier Strings
Treat postal codes, account numbers and long identifiers as text during spreadsheet import to avoid losing leading zeros or precision.
Use Clear, Unique Headers
Rename ambiguous and colliding path-based columns, and retain units in names such as price_usd or duration_ms.
Minimize Sensitive Data
Remove unnecessary personal information, credentials and internal metadata through field mapping before exporting or forwarding a file.
Choose Delimiters Deliberately
Use a separator compatible with your regional spreadsheet settings, then verify that fields do not collapse into one column.
Check Quotes and Newlines
Sample text containing quotes, commas and line breaks. Valid CSV quoting matters for addresses, descriptions and multiline notes.
Treat Formula-Like Text Carefully
Untrusted strings beginning with formula characters may be interpreted by spreadsheets. Use safe text import and suitable sanitization before sharing.
Validate Profiler Conclusions
The 0–100 quality score is an advisory signal, not proof that names, prices, event dates or records are correct.
Review SQL and Schemas
Treat generated SQL types and sample-based schemas as drafts. Validate expected ranges, nullable values, identifiers and database-specific syntax.
Reconcile Sample Records
Check first, last and unusual JSON records against the CSV, including optional keys, Unicode strings, nulls and multiple child items.
Frequently asked questions
How do I convert JSON to CSV online?
Paste or upload valid JSON into MyToolSpace JSON to CSV Converter, choose array handling and column mapping if needed, then preview and download CSV. If the data is nested, confirm that the resulting rows represent the intended entity before export.
Is MyToolSpace JSON to CSV Converter free?
The public page describes a free converter without requiring an account. Review any current limits or Pro features shown in the workbench because service conditions can change.
Can I convert an array of JSON objects to CSV?
Yes. Arrays of objects are a natural input because each object can produce a row and its keys can form columns. Objects with differing keys may produce blank cells where a property is absent.
Can the tool flatten nested JSON objects?
Yes. The converter exposes path styles and flattening controls. Nested properties can become columns such as customer.address.city; inspect path collisions and the chosen maximum depth.
What is the Expand option for JSON arrays?
Expand represents array elements as rows. It works well for order line items, but parent-level fields may be repeated and totals can be overstated if those repeats are summed without care.
What is the difference between Index and Expand?
Index creates columns for array positions, while Expand creates rows from array elements. Use Index for short lists with predictable positions and Expand for detail-level reporting.
When should I choose Join for a JSON array?
Join is convenient for short arrays of tags or labels that should occupy one readable cell. Avoid relying on it for reversible conversion if elements can contain the separator or have complex structures.
What does Stringify do in JSON to CSV?
Stringify places a JSON serialization of the selected value into one CSV field. It can preserve more internal structure as text but does not make nested elements separately sortable columns.
Can I choose dot, bracket or underscore field paths?
Yes. The page documents dot notation, bracket notation and underscore notation for naming flattened keys. Choose one consistent scheme and map ambiguous names before export.
Can I select only some JSON fields?
Yes. Field Mapping allows you to include or exclude fields, rename output columns and rearrange them. This is useful for reports that need only a small set of API properties.
Does the converter support JSON with missing keys?
The page describes gathering keys across objects and leaving empty cells for absent properties. Review the preview because an empty CSV value does not preserve the full distinction between missing, null and empty-string JSON values.
Can I convert JSON to an Excel file?
The export choices include an Excel XLS option. That is a spreadsheet-oriented format; it should not be described as XLSX. Open the result in a compatible application and verify data types.
Can I open the converted CSV in Google Sheets?
Yes. Download the CSV and import it into Google Sheets. Inspect the separator, header row, leading-zero fields and special characters during and after import.
Can I convert JSON to SQL?
The SQL export creates database-oriented table and insert statements based on inferred types. Review every generated statement before using it and test with an authorized non-production database.
Can I export JSON data as HTML or Markdown tables?
Yes. HTML table and Markdown table are among the nine documented output formats. They are useful for documentation and README examples, but large tables may still be unwieldy.
Can I output TSV or semicolon-separated values?
Yes. The tool lists comma, semicolon, tab and pipe delimiter options. A tab-separated result is TSV; ensure the receiving application knows which delimiter you selected.
Does the tool handle commas inside JSON text values?
The site documents RFC 4180-style escaping. Text containing the delimiter, quotes or line breaks should be quoted or escaped appropriately; review a sample in the target spreadsheet application.
Are Unicode characters and emoji supported?
The page describes Unicode handling and UTF-8 exports. If characters appear corrupted after opening a file, choose UTF-8 encoding explicitly in the importer and check the original JSON.
Does CSV preserve JSON numbers, booleans and null?
No, not as native JSON types. CSV cells are text, and importing programs infer types differently. A missing value, null and empty string can become indistinguishable unless an explicit convention is defined.
Can I transform an API response into CSV?
Yes, if you can provide its JSON payload. Paste a response or import from a public endpoint when browser CORS policy permits. The converter should not be assumed to automatically authenticate or fetch every pagination page.
Why does importing JSON from a URL sometimes fail?
A remote server may block cross-origin browser requests, require credentials or return HTML rather than JSON. Check the endpoint and obtain an authorized copy with a dedicated client if needed.
Does the converter accept NDJSON or JSON Lines directly?
The page describes standard JSON input, not guaranteed direct NDJSON parsing. Convert newline-delimited records into a valid JSON array before using the converter.
How can I remove duplicate rows?
Use the documented deduplication control, then compare before-and-after counts. Do not assume records are duplicates merely because a subset of their fields matches.
Can I trim whitespace and remove empty rows?
Yes. Cleaning options include trimming, dropping blank rows and removing duplicates. Confirm that spaces and repeated entries are not significant for your intended dataset.
Does the tool show data quality statistics?
The Analyze tab displays inferred column types, fill and null information, uniqueness and numeric summaries, plus advisory quality scoring. Treat these as signals for investigation rather than guarantees of accuracy.
What does a JSON to CSV quality score mean?
The score reflects tool-defined heuristics such as completeness, consistency, validity and uniqueness. It is not a Google score, compliance certification or proof that business values are correct.
Can I export JSON Schema from my records?
The page documents JSON Schema Draft-07 generation. The result is inferred from example values, so manually check optional fields, accepted values and future records before adopting it as a formal contract.
Can I generate TypeScript interfaces from JSON?
Yes, the tool describes TypeScript interface generation based on the supplied dataset. Review nullability, optional keys and complex unions before putting generated types into a project.
Can it generate a SQL CREATE TABLE statement?
Yes, the schema tools derive a database-oriented table definition from example fields. Inferred types may not fully match your target database, so test and refine the statement.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| JSON is rejected as invalid | Missing quotation marks, trailing commas, comments or unmatched brackets make the supplied text invalid standard JSON. | Check the input with a JSON validator; correct syntax and try again. Wrap multiple separate records in a valid array. |
| No rows appear after conversion | The input may be empty, a scalar, a wrapper without the intended record array, or an object shape not producing the expected preview. | Inspect source structure and locate the list of records. Test a small array of objects before restoring the full dataset. |
| All data appears in one CSV column | The spreadsheet importer is using a different delimiter from the one selected during export. | Choose comma, semicolon, tab or pipe consistently in the converter and receiving import dialog. |
| Unexpected duplicate rows appear | Expand mode can repeat parent fields for each nested child item; source data may also contain true duplicates. | Compare the affected source object and switch array mode if needed. Distinguish deliberate denormalization from accidental duplication. |
| An array becomes unreadable text | Stringify preserves a JSON representation in one cell, or Join combines elements into compact text. | Use Expand for separate rows or Index for separate columns when you need spreadsheet analysis of array elements. |
| Nested JSON creates too many columns | Deep paths and Index mode can create many mostly empty fields, especially with heterogeneous arrays. | Set an appropriate depth, exclude irrelevant fields or stringify deep branches. Export related datasets separately where useful. |
| Some fields are missing from CSV | Fields can be excluded in mapping, absent in sampled records, nested beyond the selected depth, or part of unexpanded arrays. | Check field mapping, path depth and array options. Compare an affected JSON record to the output headers. |
| Duplicate column names appear | Different nested paths can be renamed to the same output label or collapse under a chosen path notation. | Give each output field a distinct, descriptive name before exporting; inspect all detected headers. |
| An empty string and null look identical | CSV does not provide the same native null and missing-value semantics as JSON. | Define a placeholder convention only if your recipient supports it, and retain the source JSON for precise interpretation. |
| Numbers or booleans appear as text | CSV is an untyped text format and the receiving application chooses how to infer data types. | Apply column types during spreadsheet or database import and verify a representative value from each important field. |
| Long IDs are rounded or shown in scientific notation | A spreadsheet interprets identifier strings as numbers and may lose precision. | Re-import the CSV with affected columns set to text and compare original IDs against the source JSON. |
| Postal codes lose leading zeros | Automatic numeric conversion turns values such as 00123 into 123. | Set postal code and similar identifier columns to text in the receiving application. |
| Accented characters or emoji look corrupted | The target application is not interpreting the exported UTF-8 data as expected. | Import with UTF-8 selected and check whether a BOM or a different file-opening method improves compatibility. |
| A cell containing commas breaks into columns | The target parser is handling quoted CSV incorrectly or the wrong delimiter was chosen. | Verify RFC 4180-style quoting and the receiving parser configuration; test a small problematic record. |
| Multiline descriptions create extra spreadsheet rows | The importer does not respect quoted newline characters inside fields. | Use a CSV import method that supports quoted multiline fields, or export in another appropriate format. |
| Public URL import fails due to CORS | The remote endpoint does not allow browser requests from the converter origin. | Get the data through an authorized API client and paste or upload a suitable JSON file instead. |
| A URL returns HTML instead of JSON | The endpoint may redirect to a sign-in page, error message or website representation. | Inspect the endpoint and Content-Type, authenticate through approved means and supply a valid JSON response. |
| Large conversion becomes slow | Nested arrays, large files and high output row counts can consume browser memory and computation. | Try smaller batches, reduce expansion, lower flattening depth and close unnecessary browser tabs. |
| CSV row totals differ from expectations | Array expansion, deduplication or blank-row removal can alter counts. | Disable cleaning temporarily, check array strategy and reconcile source entities with output rows. |
| Dates change format in Excel | The spreadsheet guesses locale or date parsing rules automatically. | Import dates as text first, choose the intended locale and parse dates explicitly after checking the original values. |
Developer Tools
Explore More Tools
Go ad-free & unlock more
- Zero ads, faster focused workflow
- Unlimited history & saved presets
- Batch processing & exports