JSON Editor Online (jsoneditoronline.org) is the most established tool in this
category and, on several axes, the better choice. We build the other one, so this page leads
with the things it does that we cannot — all of them specific enough that you can check them in
about five minutes.
svelte-jsoneditor,
jsonrepair and lossless-json are MIT-licensed and embeddable in your
own application. Json Web Viewer uses jsonrepair too — but our app itself is not
open source, and theirs is reusable in a way ours is not.
Json Web Viewer has an "Open from URL" menu item. On the production site it fails for every
cross-origin URL, and it will keep failing. The site serves
connect-src 'self' in its Content Security Policy, so the browser refuses the
request before it leaves the machine. The app watches for that specific
securitypolicyviolation and tells you the truth — "this build doesn't allow loading
from other sites" — instead of blaming the remote server, but a clear error is still an error.
We are not going to widen the policy to fix it. That directive is the entire privacy guarantee (the security page explains how to verify it), and a tool that can fetch an arbitrary URL is a tool that can send your document to one. JSON Editor Online made the opposite trade and got a working feature out of it. That is a real advantage for them and a real cost for us; it is on this page because a comparison that omitted it would be dishonest.
.xlsx workbook.
connect-src 'self' means the browser will not connect anywhere else, and
you can confirm that in DevTools in about a minute.
Both tools format, smart-format (compact-but-readable), minify, validate with click-to-jump error
positions, and auto-repair with the same jsonrepair library. Both do a data-level
diff that ignores key order rather than a text diff. Both run two panels side by side with
copy-across and transform-across buttons between them, and both build a transform from
dropdowns by analysing the document's own structure. Both offer a lossless number parser that
preserves 18800000000000000123 and 4.0 exactly — theirs switches to it
automatically under 10 MB, ours under 1 MB, both configurable. Both work offline after a first
visit. Both are free for everything most people do.
Use JSON Editor Online if your documents are very large, you want JSONPath or Lodash-flavoured JavaScript queries, you need to pull documents from a URL, or you want a document saved in the cloud and reachable from another machine.
Use Json Web Viewer if you want graph, Miller-column, type-definition or HAR views alongside the usual three; if you want to generate a schema rather than only check against one; if you want more conversion formats; or if the document you are about to paste is one you would rather not paste into anything whose privacy claim has an "unless" in it.
No, though it started from a study of it and shares two of its libraries (jsonrepair and CodeMirror 6). The overlap is real in text, tree and table modes. The divergence is that this app has no server at all — no cloud documents, no open-from-URL — and has spent that constraint on breadth instead: graph, Miller-column, type-definition and HAR views, schema generation, jq, and an inspector that summarises a field across every record in an array.
Four things concretely: handle far larger documents (512 MB stated, against our 16 MB measured); run JSONPath and JavaScript-with-Lodash queries, which we do not offer; open a document from a URL, which our Content Security Policy blocks; and save documents to the cloud so they are reachable from another machine. Its editor core is also open source and reusable in your own application, which ours is not.
Because 16 MB is the largest size at which we actually measured every performance bound holding, rather than the largest size that loads without crashing. Above it, some operations exceed the response times we consider acceptable. The 512 MB figure is JSON Editor Online's own stated ceiling and we have not independently benchmarked it. If you routinely work with documents that big, use their tool.
Neither, today. JSON Editor Online shows ads on its free tier, charges $2/month to remove them and $5/month for private cloud documents; every editing capability is free in both products. Json Web Viewer has no ads and nothing paywalled, but that is a current posture rather than a permanent commitment.
Not from another site. The menu item exists, but the production Content Security Policy sends connect-src 'self', so the browser refuses any request to another origin and the app reports that specific block. Download the file and use Open from disk instead. JSON Editor Online does support opening from a URL, including a proxy option for hosts without CORS headers.
Other comparisons: JSON Crack · json.site · all four side by side. Or open the editor and try it against whatever you already use.