Skip to content

JSON to CSV / CSV to JSON

Turn JSON data into a CSV table, or CSV and Excel into JSON, in your browser, without uploading your data.

Drop files here or click to choose Files never leave your device

    How to use JSON to CSV / CSV to JSON

    1. Choose a JSON file to turn into a CSV table, or a CSV, XLSX, XLS or ODS file to turn into JSON. You can add several files.
    2. Click Start. Your browser reads each file and builds the converted file on your device.
    3. Download the resulting .csv or .json file.
    4. Open the CSV in a spreadsheet program, or use the JSON in your application.

    How JSON to CSV / CSV to JSON works

    What the conversion does

    JSON is a structured data format used by websites and APIs. A CSV table is a flat grid of rows and columns. For JSON to CSV, each object in a list becomes a row and each key becomes a column. For CSV to JSON, each row becomes an object, using the first row as the keys.

    Nested data

    Nested objects are flattened into dotted column names, so {"user":{"name":"A"}} gives a column called user.name. Lists of simple values are joined with semicolons, and lists of objects are kept as JSON text in one cell. The columns of all records are combined, and missing values are left empty.

    How it runs

    Parsing and writing happen in your browser with the open-source Papa Parse and SheetJS libraries. Nothing is uploaded to FileToolsPlus or any server, so private data stays on your device. CSV output is UTF-8 with a byte order mark, so Excel shows non-Latin text correctly.

    Limits

    The JSON must be valid; an error message is shown if it is not. A JSON file containing a single object with one list is treated as that list, and any other single object becomes one row. Spreadsheets are converted from their first sheet. Files above 100 MB are refused. Converting a very deeply nested structure to a flat table can lose its shape.

    Comparison

    This site (in-browser)Typical upload-based sites
    Your filesNever leave your deviceSent to a remote server
    Waiting timeNo upload, no download queueUpload + processing + download
    LimitsNoneOften file-size or daily limits
    Works offlineYes, once loadedNo

    Tips for the best result

    • Validate your JSON first if you get an error; a missing comma or quote is the usual cause.
    • CSV to JSON turns plain numbers into numbers, while values such as 007 stay as text.
    • After converting, open the CSV and check the columns; records with different keys produce empty cells.
    • Be careful opening CSV files from untrusted sources in a spreadsheet; cells starting with = can be interpreted as formulas.
    • For spreadsheets, the CSV to Excel tool converts both ways.

    Private by design

    JSON to CSV / CSV to JSON runs entirely inside your browser, in background threads (Web Workers) that use your device's own processor. Your files are never uploaded to our servers, so nobody else can see them, and processing starts instantly with no upload or download wait. Once the page has loaded, the tool keeps working even without an internet connection.

    Related tools

    Frequently asked questions

    What shape of JSON works best?

    A list of objects, such as [{"id":1},{"id":2}], works best. An object that contains one list is also handled, and any other object becomes a single row.

    Are my files uploaded?

    No. Everything runs in your browser; nothing is sent to FileToolsPlus's server.

    How are nested objects handled?

    They are flattened to dotted column names such as address.city. Lists of simple values are joined with semicolons.

    Can it convert CSV or Excel to JSON?

    Yes. CSV, TSV, XLSX, XLS and ODS files become a JSON list of objects, using the first row as keys. For spreadsheets only the first sheet is used.

    Will Arabic and accented text display correctly in Excel?

    Yes. CSV output uses UTF-8 with a byte order mark.

    Why do some cells come out empty?

    Records that do not have a key leave that column empty. All keys found in any record become columns.

    What if my JSON is invalid?

    A clear error message is shown. Fix the syntax, such as missing quotes, commas or brackets, and try again.

    Is there a size limit?

    Files over 100 MB are refused to protect browser memory. Nothing is uploaded, so there is no server limit.