Skip to content

Convert Excel (XLSX) to JSON

Convert an Excel workbook to JSON: one array of row objects per sheet, with the header row supplying the keys and numbers typed automatically. Runs locally in your browser.

Drop XLSX files here

or

Free: up to 5 files per batch · Files never leave your device · Paste from the clipboard works too

    Private by design

    Your files are processed by your own device using WebAssembly and your browser's built-in codecs. Nothing is uploaded, logged or stored.

    Fast & offline-ready

    No queue, no waiting for a server. Once the page has loaded it even works without a connection.

    Works everywhere

    Chrome, Edge, Firefox and Safari on Windows, macOS, Linux, Android and iOS. No app to install.

    Sheets become arrays

    A sheet is already a table, so the mapping is natural: the first row names the properties and each row below becomes an object. Take a sheet called Products:

    code  | name      | price | active
    00042 | Desk lamp | 24.99 | true
    00043 | Bookshelf | 120   | false

    If it is the only sheet in the workbook, the download is a plain array:

    [
      { "code": "00042", "name": "Desk lamp", "price": 24.99, "active": true },
      { "code": "00043", "name": "Bookshelf", "price": 120, "active": false }
    ]

    If the workbook also has a Categories sheet, the output becomes an object keyed by sheet name — { "Products": [ … ], "Categories": [ … ] } — so one file carries the whole workbook and your code can pick the sheet it needs.

    Typing rules

    The same rules as CSV to JSON apply. With Detect numbers and booleans ticked, cells that are clean numbers are written as JSON numbers and true/false as booleans. A value with a leading zero, such as the 00042 above, is kept as a string on purpose: product codes, postcodes and account numbers would otherwise silently lose their zeros. Untick the option and every value is written as a string, which suits schemas that validate types strictly.

    The spreadsheet as a content source

    Many teams keep a pricing table, a list of translations, a product catalogue or an event schedule in a workbook because that is what the people maintaining it know how to use. The developer at the other end wants JSON to feed a static site build, a mobile app bundle, an i18n library or a set of test fixtures. Converting in the browser removes the usual Python-script-on-someone's-laptop step, and because the output is deterministic the file can be committed and diffed like any other source. It is also a quick way to inspect a workbook you received without opening Excel.

    Limits

    • Only .xlsx files: legacy binary .xls and password-protected workbooks are not supported.
    • Five files per batch; each workbook produces one .json file.
    • Large workbooks are limited by your device's memory, because the file and its JSON are both held in RAM.

    Private, offline, batch

    The workbook is read and parsed by JavaScript on your device, so sales figures, HR lists and unreleased pricing never leave it. A progress bar tracks each file, the ZIP behind "Download all" is built locally, and the page keeps working offline after its first visit. When you need to go back the other way, JSON to Excel turns an array of objects into a workbook; if plain text suits the next step better, Excel to CSV writes a CSV per sheet with ISO dates.

    How to convert excel (xlsx) to json — step by step

    1. Drop an .xlsx file into the drop zone or click "Choose files".

    2. Keep "Detect numbers and booleans" ticked for typed values and "Pretty-print" for indented output.

    3. Conversion starts automatically; download the .json — one file per workbook, with every sheet inside.

    Frequently asked questions

    How are workbooks with several sheets converted?
    A single-sheet workbook produces a plain JSON array. A workbook with several sheets produces one object whose keys are the sheet names, each holding that sheet's array of rows.
    Which row supplies the keys?
    The first row of each sheet. Every row below it becomes an object whose property names are those header cells.
    Will product codes with leading zeros become numbers?
    No. "Detect numbers and booleans" converts clean numbers and the words true and false, but anything with a leading zero stays a string. Untick the option to keep every value as text.
    Can I convert .xls or password-protected files?
    Only .xlsx is accepted. Re-save a legacy .xls as .xlsx and remove any password first.
    Is the output minified or pretty-printed?
    Pretty-printed with two-space indentation by default, which is easiest to read and diff. Untick "Pretty-print" for a compact single-line file.
    Does the spreadsheet leave my computer?
    No. The workbook is parsed and the JSON is written by code running in your browser, with nothing uploaded or stored.

    All tools: HEIC to JPG, HEIC to PNG, Compress Image, Resize Image, PNG to JPG, JPG to PNG, PNG to WebP, JPG to WebP, WebP to JPG, WebP to PNG, AVIF to JPG, SVG to PNG, BMP to JPG, BMP to PNG, GIF to PNG, PNG to ICO, ICO to PNG, Image to PDF, JPG to PDF, PNG to PDF, PDF to JPG, PDF to PNG, PDF to Text, Merge PDF, Split PDF, MP4 to MP3, Video to MP3, MP3 to WAV, WAV to MP3, M4A to MP3, FLAC to MP3, OGG to MP3, MP3 to OGG, WAV to FLAC, FLAC to WAV, MP3 to M4A, Audio Converter, Compress Audio, MOV to MP4, MKV to MP4, WebM to MP4, TS to MP4, MP4 to WebM, Video Converter, Compress Video, Trim Video, Remove Audio, Video to GIF, GIF to MP4, CSV to JSON, JSON to CSV, CSV to Excel, Excel to CSV, Excel to JSON, JSON to Excel, Zip Files, Unzip, SRT to VTT, VTT to SRT