JSON ↔ CSV
Convert nested JSON or NDJSON to CSV, or turn CSV rows into JSON objects.
Local processing · No upload · Up to 20 MiB per file
Loading local tool…
How to use JSON ↔ CSV
Paste data or choose a file; a selected file takes precedence over pasted text. Choose the direction and delimiter, then Convert. For JSON input, enable NDJSON only when each non-empty line is a complete JSON object.
Reproducible example
Load example and convert the two sample objects to CSV. The address.city column contains Santiago and São Paulo. For the reverse direction, select CSV to JSON and load the CSV example. CSV values remain strings.
Limits and file handling
JSON numbers use JavaScript precision. Arrays inside records remain JSON text. CSV has no native nested structure or type information. Reverse conversion keeps flat column names and strings rather than reconstructing nested objects. Input is held in this page only and is not saved in browser storage. Clear removes inputs and outputs; navigating away does not transfer them to another tool.
Nested objects, Excel and safe CSV exports
Nested fields use dotted column paths. Literal dots in property names become ~1 and literal tildes become ~0 to avoid collisions. You may enter a comma-separated list of these paths to choose columns and their order. Missing values and null become empty CSV cells. Use the UTF-8 BOM option for Excel and select the delimiter appropriate for your spreadsheet locale. Formula protection prefixes potentially executable spreadsheet cells with an apostrophe; disable it only when you understand and trust the values. CSV parsing supports quoted delimiters and line breaks and rejects inconsistent row lengths or duplicate headers.
Related tools
Image compressor · Image converter · Base64 ↔ image · HEIC → JPG · Base64 → PDF · Base64 text · JSON formatter
Choose a developer tool
- AES-GCM encrypt/decrypt
Protect text with AES-GCM and PBKDF2 tokens that stay on-device.
- Hash generator
Generate MD5, SHA-1, and SHA-256 digests locally with Web Workers.
- Base64 encoder & decoder
Convert any text to or from Base64 without leaving your browser.
- JWT verifier
Decode claims and verify HMAC signatures without network calls.
- JSON formatter
Validate, format, and diff JSON without network calls.
More tools for data, text and testing
- XML formatter
Format, minify and convert XML to JSON locally.
- Regex tester
Experiment with regular expressions and capture groups locally.
- URL encoder and inspector
Encode components and inspect query parameters locally.
- UUID v4 generator
Create collision-resistant UUID v4 identifiers using Web Crypto.
- Secure password generator
Build strong passwords with custom length, charset, and entropy.
- Epoch time converter
Convert Unix timestamps into local, UTC and ISO dates.
- Text transformer
Convert case, slugify, and clean strings on-device.
- Color converter
Switch between HEX, RGB, HSL, and Tailwind palettes instantly.
- QR code builder
Design QR codes for text, Wi-Fi, contacts, email, or SMS locally.
- Barcode maker
Generate EAN and Code 128 barcodes and download crisp PNG output.
- IP lookup
Look up your public IP using disclosed external services.
- Lorem ipsum generator
Produce paragraphs, lists, and markdown filler text fast.
- Image compressor
Compress JPG, PNG, WebP and AVIF images to a target size in your browser. Preview results, process batches and download images individually or as a ZIP.
- Image converter
Convert WebP and AVIF images to JPG or PNG locally. Batch convert supported images, control quality and transparency, preview results and download a ZIP.
- JSON ↔ CSV
Convert JSON and NDJSON to CSV for Excel, or CSV to JSON, locally. Flatten nested objects, choose columns and delimiters, and download UTF-8 results.
- Base64 ↔ image
Decode Base64 or data URIs to an image preview and download, or encode an image file to Base64. Inspect dimensions and size without uploading your image.
- HEIC → JPG
Convert HEIC and HEIF photos to JPG or PNG in your browser. Choose quality, preview converted images and download individual photos or a batch ZIP.
- Base64 → PDF
Decode Base64 to PDF locally, preview pages with zoom and navigation, and download the decoded PDF. Supports raw Base64 and application/pdf data URIs.
Run the AES interoperability guide or read how these tools are checked.