Free online JSON editor for huge files, up to 4 GB

JSON Editor Free is a free online JSON editor that opens JSON files of up to 4 GB in your browser. Paste, open or drop a file to format, validate, repair, compare, sort, query and convert it to CSV. No account is needed, and your documents stay in this browser until you choose to share them.

Opens huge JSON files, up to 4 GB

Files over 100 MB open in huge file mode: the file is checked once, then read from your disk as you scroll, so it never has to fit in memory. Expand, search and select work on the whole file, and any part of up to 50 MB opens in the other panel for editing.

  • 1 GB file: open in about 7 seconds
  • 2 GB file: about 14 seconds
  • 4 GB file: about 20 seconds
  • Up to 100 MB: every tool works on the whole document

Measured in desktop Chrome on a laptop; times depend on your device.

What you can do

  • Opens JSON files of up to 4 GB: files over 100 MB open view-only in huge file mode, read from disk as you scroll.
  • Two documents side by side, each in text, tree or table mode.
  • Format with the indentation you choose, compact to one line, or repair almost-JSON into valid JSON.
  • Compare two documents by their data: added, removed and changed values are marked, key order and spacing never count.
  • Validate a document against a JSON Schema as you edit.
  • Transform with a query in JSONQuery, JMESPath or JSONPath, and sort keys, values or arrays of objects.
  • Search and replace in keys and values, with undo and redo for every change.
  • Open files, web addresses or pasted text; save as .json; turn an array of objects into CSV and back.
  • Share a comparison with a link that is encrypted in your browser, and keep a history of recent documents.
  • A keyboard shortcut for every command, light and dark themes, and a layout that works on phones.

Edit a JSON file online in four steps

  1. Open your JSON: press Open file in a panel’s toolbar, drop a .json file onto the panel, press Open from URL to load it from a web address, or paste the text.
  2. Edit it as text, or switch the panel to Tree mode to change a value, rename a key, or add, copy, move and remove rows one at a time.
  3. Press Format to indent it or Repair to fix almost-JSON. Errors show their line and column as you type, and Undo takes back any change.
  4. Press Save .json to download the edited file. Your work is also kept in this browser, so a reload brings it back.

Read the JSON tree editor guide and how to open and save JSON files.

Frequently asked questions

Is JSON Editor Free free to use?

Yes. Every tool is free and needs no account. The site is paid for by the ads it shows.

Is my JSON uploaded to a server?

No. Your documents are edited and kept in this browser, on this device. They leave it only, encrypted in the browser, when you create a share link yourself.

How do I format or beautify JSON?

Paste or open your JSON in a panel and press Format in the panel toolbar. Choose the indentation you want; Compact puts it all on one line again. Read the JSON formatter guide.

Can it fix invalid JSON?

Yes. Repair turns almost-JSON into valid JSON: missing quotes and commas, single quotes, trailing commas, comments and similar mistakes.

Can I use it as a JSON viewer?

Yes. Paste, open or drop a JSON file, then switch the panel to Tree mode for a collapsible tree or to Table mode for an array as rows and columns. Expand all and Collapse all open or close every level at once. Read the JSON viewer guide.

How do I compare two JSON files?

Open one document in each panel and press Compare in the header. Differences in the data are marked in both panels and you can step from one to the next; spacing and key order are ignored. Read the JSON diff guide.

Can I convert JSON to CSV?

Yes. Export CSV turns an array of objects into a CSV file, and Import CSV turns a CSV file back into JSON. Read the JSON to CSV guide.

Can I validate JSON online?

Yes. Every document is checked as you type and errors show their line and column. Attach a JSON Schema to a panel to validate the data against it as well. Read the JSON validator guide.

Can I query JSON with JSONPath or JMESPath?

Yes. Transform runs a JSONPath, JMESPath or JSONQuery query on the document or on one part of it, with a preview before it changes anything.

How big a JSON file can I open?

JSON Editor Free opens JSON files of up to 4 GB. Up to 100 MB every tool works; larger files open view-only in huge file mode, read from your disk as you scroll, with search, and any part of up to 50 MB can be opened for editing. Read the large JSON files guide.

Docs