Open JSON files online
Drop a JSON file to preview it instantly in your browser. Free and private: your file is never uploaded, and no account is needed.
What is a JSON file?
JSON is a lightweight text format for structured data built from objects (key and value pairs), arrays and basic values such as strings, numbers, booleans and null. It is easy for people to read and for programs to parse.
Web APIs, configuration files, package manifests and data exports all use JSON, which has largely replaced XML for web data exchange.
| Full name | JavaScript Object Notation |
|---|---|
| File extension | .json |
| MIME type | application/json |
| Developed by | Douglas Crockford (ECMA-404, RFC 8259) |
| Introduced | 2001 |
How to open a JSON file online
- Drop the file. Drag your .json file onto the panel at the top of this page, or click it to pick the file from your device.
- See it instantly. Your browser reads the file locally and shows the preview in a second or two.
- View full screen or download. Use the full screen button for a distraction-free view, or download a copy. Close the page when you are finished and nothing is kept.
How Drop and Open displays JSON files
Drop and Open reads the file as UTF-8 and shows the text in a monospace block with line breaks preserved. Files that are already indented are easy to read; single-line (minified) JSON appears as one long line.
What JSON files are used for
- API responses and test data
- Configuration files
- Application exports and backups
- Package manifests (package.json)
Tips for working with JSON files
- Minified JSON is hard to read. Format it in your editor first.
- Look out for trailing commas and single quotes, which are not valid JSON.
- JSON Lines files hold one JSON value per line and are not a single valid JSON document.
Is it private to open a JSON file here?
Yes. Drop and Open runs entirely in your browser. When you choose a file, the browser reads it into local memory and displays it. There is no upload, no account, and no server-side copy. You can check this by opening your browser's developer tools, watching the Network tab and dropping a file. Learn more in our guide to client-side and server-side viewers.