1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert Google Sheets to JSON

Select cells in Google Sheets, copy, and paste them into the Quick paste box. The tool recognises the copied table and writes JSON on the right, ready to copy or download.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Spreadsheet

SheetsExcelCSVTSV
✦ Quick pasteSheets / Excel, CSV, TSV, Markdown, JSON, HTML, LaTeX, wiki…
0 rows · 0 columnsSelected cell: A1
02

Live Output

Markdowntwo-way
SyncedEdit directly; the table on the left updates itself
0 characters
Every change is processed right in your browserReady · LocalUTF-8 · by xuanhieu.org

When you need to convert Google Sheets to JSON

You want JSON from a Google Sheet when you build a price list, a staff directory or test data for an app and do not want to write an Apps Script first. This route asks for no Google permissions: the page does not sign in and never calls the Sheets API. It only reads the text you just copied. The page opens with an array of objects and numbers exported as numbers, so Salary comes out as a real number while Start date stays a string.

How to do it

  1. In Google Sheets, drag to select the cells you need, including the header row, then press Ctrl+C (Cmd+C on a Mac).
  2. Come back here, click the Quick paste box and paste. Press Load into table ↵ to move the data into the grid on the left.
  3. Compare the grid with your sheet: column count, row count and accents must match. The header row becomes the key names of each object.
  4. Open ⚙ Options on the JSON tab to change the output shape or switch number export off.
  5. Press Copy result to paste into code, or Download file to save a .json file.

A real example

Salary 2400 becomes a number because number export is on, while 2024-03-01 stays a string because the tool never guesses dates. Each row of the sheet became one object keyed by the header.

Input · Cells in Google Sheets

NameTeamSalaryStart date
Mai TranDesign24002024-03-01
Hugo LeeEngineering32002023-08-15
Nora VoSales21502025-01-06

Result · JSON

[
  {
    "Name": "Mai Tran",
    "Team": "Design",
    "Salary": 2400,
    "Start date": "2024-03-01"
  },
  {
    "Name": "Hugo Lee",
    "Team": "Engineering",
    "Salary": 3200,
    "Start date": "2023-08-15"
  },
  {
    "Name": "Nora Vo",
    "Team": "Sales",
    "Salary": 2150,
    "Start date": "2025-01-06"
  }
]

Options worth changing

Output shape
Array of objects reads best when your sheet has a header row. Pick array per column to gather each Sheets column into its own list, or object keyed by column to use the first column as the key of each row.
Output numbers as numbers
Turn it off when a numeric-looking column is really an identifier such as a phone number or an employee code. Then every value comes out as a string, exactly as it looked in the cell.
Root object name
Type staff to wrap the result as {"staff": [...]}, handy when an API or a config file wants a top-level object instead of a bare array.

Common problems

Limits

Frequently asked questions

Do I have to give this page access to my Google account?

No. The page does not sign in and does not talk to Google. You only paste the cells you copied from Sheets.

Does my data leave the browser?

No. Reading the table and building the JSON both happen in your browser. Only if you press Share does the data go into the part of the link after the #, which is never sent to a server.

Can I get JSON by column instead of by row?

Yes. Choose array per column as the output shape and each header becomes a key holding the list of that column's values.

Can I send JSON back into Sheets?

Yes. Paste a JSON array (starting with [) into the Quick paste box, then open the TSV tab or press Copy table and paste into Sheets.

Related conversions

1xA2Z · Guide

Table statistics