AnyNPC
Delimiter
Input
1
Output
Converted CSV will appear here...
0 lines|0 B

JSON to CSV Converter

JSON to CSV converter. Convert JSON arrays or objects to CSV format instantly with automatic flattening of nested structures using dot notation. Supports custom delimiters (comma, semicolon, tab), header options, and handles complex nested data including objects and arrays. Download results as .csv files compatible with Excel, Google Sheets, and any spreadsheet application. All processing runs locally in your browser — no server uploads required.

Features

  • Instant JSON to CSV conversion — paste your data and it converts automatically as you type
  • Automatic flattening of nested objects using dot notation (e.g., user.address.city)
  • Support for complex nested structures including objects, arrays, and mixed types
  • Customizable CSV delimiters — comma (,), semicolon (;), or tab (\t) for different regional standards
  • Toggle headers on/off — include column names as the first row or export data only
  • Table preview with syntax highlighting — see your CSV data in a clean spreadsheet-like grid before downloading
  • Download as .csv file — compatible with Excel, Google Sheets, LibreOffice Calc, and any spreadsheet application
  • Drag-and-drop file upload or click to browse — supports .json files up to 10MB
  • Copy to clipboard with one click — paste directly into Excel or Google Sheets without saving
  • Real-time validation with precise error location — highlights the exact line when JSON is invalid
  • Handles edge cases — special characters, commas in values, quotes, and line breaks are properly escaped
  • Entirely client-side — zero data transmission, works offline after initial load, perfect for sensitive data

How to Use

  1. 1Paste your JSON data into the left panel. It can be an array of objects, a single object, or any valid JSON structure.
  2. 2Watch as nested objects are automatically flattened using dot notation (user.name, user.address.city).
  3. 3Choose your preferred delimiter: comma for standard CSV, semicolon for European formats, or tab for TSV files.
  4. 4Toggle 'Include Headers' to add or remove the column header row based on your target application's requirements.
  5. 5Preview the converted CSV in the right panel as both a formatted table and raw text.
  6. 6Click Download to save as a .csv file that opens directly in Excel, Google Sheets, or Numbers.

Frequently Asked Questions

Related Tools