Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

JSON to TSV Converter

Convert JSON arrays of objects to tab-separated values instantly in your browser

Your files never leave your browser
JSON Input0 chars, 0 lines
Drag & drop a JSON file here, or browse
Accepts .json files
TSV Output0 chars, 0 lines
Error:
    Ready·

    Paste a JSON array of objects and get clean, tab-separated rows back — each key becomes a column header, each object becomes a row. Handles missing fields, nested data, and arrays without breaking a sweat. And everything runs in your browser. Nothing gets uploaded.

    How It Works

    Paste JSON Array
    →
    Extract Keys as Headers
    →
    Output TSV Rows

    The parser reads your JSON, collects every unique object key across the entire array, and uses those as column headers. Each object becomes one row, with values placed under the matching header. Missing keys produce empty cells. Nested objects or arrays get stringified so nothing is lost — you can always parse them later if needed.

    Examples

    Simple User List

    You exported a list of users from a database and need it in a spreadsheet for the team lead.

    INPUT
    [ {"name": "Alice", "role": "admin"}, {"name": "Bob", "role": "editor"}, {"name": "Carol", "role": "viewer"} ]
    OUTPUT
    name role Alice admin Bob editor Carol viewer

    API Response with Missing Fields

    Not every object has the same keys — common with real API data where optional fields are left out entirely.

    INPUT
    [ {"id": 1, "email": "[email protected]", "phone": "555-0100"}, {"id": 2, "email": "[email protected]"}, {"id": 3, "phone": "555-0102"} ]
    OUTPUT
    id email phone 1 [email protected] 555-0100 2 [email protected] 3 555-0102

    Product Catalog with Nested Data

    E-commerce data often has nested objects for things like dimensions or tags. The converter stringifies those so you don’t lose the structure.

    INPUT
    [ {"sku": "W-100", "price": 29.99, "tags": ["sale", "new"]}, {"sku": "W-201", "price": 45.00, "tags": ["clearance"]} ]
    OUTPUT
    sku price tags W-100 29.99 ["sale","new"] W-201 45 ["clearance"]

    Who Uses This

    👨‍💻 Developers

    Quick way to inspect API responses in a spreadsheet instead of scrolling through raw JSON.

    📊 Data Analysts

    Convert exported datasets into tab-delimited files for import into Excel, R, or Python pandas.

    🧪 QA Engineers

    Turn test result JSON into spreadsheets for bug reports and stakeholder reviews.

    📋 Project Managers

    Pull JSON exports from tools like Jira or Trello and turn them into spreadsheets for tracking.

    Common Mistakes

    Pasting a single object instead of an array

    The converter expects an array of objects — [{...}, {...}]. If you paste just one object {...}, wrap it in brackets first: [{...}].

    Trailing commas in the JSON

    JavaScript tolerates trailing commas, but strict JSON does not. A comma after the last item — like ["a", "b",] — will cause a parse error. Remove it before converting.

    Expecting nested objects to flatten automatically

    Nested objects and arrays are kept as JSON strings in the output, not split into separate columns. If you need address.city as its own column, flatten the JSON before converting.

    Technical Details

    Frequently Asked Questions

    What’s the difference between TSV and CSV?

    CSV uses commas to separate values, TSV uses tabs. The practical difference? If your data contains commas (addresses, descriptions, prices with formatting), TSV avoids the quoting mess that CSV requires. Most spreadsheet apps open both formats without any issues.

    Can I convert JSON to TSV in Excel directly?

    Excel has Power Query which can import JSON, but it’s slow and finicky with nested data. For a quick one-off conversion, pasting into this tool and downloading the .tsv file is faster. Open the TSV in Excel and you’re done in seconds.

    Is my data safe when using this converter?

    Yes. The conversion happens entirely in your browser using JavaScript. Nothing is sent to a server. You can disconnect from the internet and the tool still works — try it yourself.

    How do I handle JSON with deeply nested structures?

    The tool keeps nested objects and arrays as JSON strings within cells. If you need them as separate columns, flatten the JSON first using a tool like jq or a JSON flattener. Then run the flattened version through this converter.

    Why choose TSV over CSV for data exchange?

    Tabs rarely appear in actual data, so TSV files almost never need quoting or escaping. CSV files constantly run into edge cases with commas in addresses, descriptions, or formatted numbers. TSV is also the default paste format from spreadsheets, which makes round-tripping between tools much cleaner.

    Share: