Seed data maintained in a spreadsheet
Keep the sheet as the editable source and convert when you need to load it. Give every column a short, code-friendly header, since those become the object keys verbatim.
Turn an Excel sheet into a JSON array of objects in your browser, using the header row as keys.
Maintained by Roshan.
Reads an Excel workbook in this tab and turns any sheet into JSON, using the first row as keys. Nothing is uploaded.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsDevelopers reach for this when a spreadsheet is the source of truth for something a program has to consume: a product catalogue maintained by a colleague, a translation table, seed data for a database, a list of settings someone edits in Excel because that is the tool they have. The output here is an array of objects with the header row supplying the keys, which is the shape almost every consumer expects and the one that survives being pasted straight into code. Doing it in the browser matters for a reason beyond privacy: the spreadsheets that end up in this workflow are frequently internal, and pasting one into an unknown web service is the kind of thing that quietly violates a data policy.
Keep the sheet as the editable source and convert when you need to load it. Give every column a short, code-friendly header, since those become the object keys verbatim.
Convert, then cast the numeric fields in your build step. Doing it there keeps the types consistent instead of depending on what each cell happened to contain.
Because guessing types cell by cell produces an inconsistent array - one object with a number and the next with a string under the same key. Casting in your own code is explicit and safe.
From the first row of the sheet, used verbatim. A column with an empty header gets a generated name so its data is not silently discarded.
They are read through the cell's number format and written as readable date strings, rather than the day-count serial numbers Excel stores.
No. A sheet is a flat grid, so the output is a flat array of flat objects. Reshape it in code if you need nesting.
Convert an Excel .xlsx sheet to CSV in your browser. Dates stay dates, leading zeros survive, and the file never leaves your device.
Convert CSV to a JSON array locally. Parse quoted commas, embedded newlines, BOM files, duplicate headers, sparse rows, and optional safe value types.
Format, minify, and validate JSON locally in your browser. Inspect keys, values, nesting depth, and root type without sending private API data to a server.