.json

What is a .json file?

JSON is a lightweight, human-readable data format used by virtually every web API, configuration file, and NoSQL database.

Safe format
Type Data
By Douglas Crockford
MIME application/json

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

You opened a file and it's full of curly braces, square brackets, and key-value pairs. That's JSON — the format that web APIs speak. Every time your browser fetches data from a server — a weather forecast, a social media feed, search results — the response almost certainly arrives as JSON.

JSON stands for JavaScript Object Notation, but calling it a JavaScript format undersells its reach. It's language-independent, human-readable, and so minimal the entire specification fits on a business card: curly braces for objects, square brackets for arrays, colons between keys and values, commas between entries. Douglas Crockford didn't invent it so much as discover it — the syntax was already inside JavaScript, waiting for someone to write down the rules. It replaced XML for most web data exchange because it's less verbose and easier to parse.

Any text editor opens JSON. VS Code and most code editors provide syntax highlighting and formatting. Firefox renders JSON in a navigable tree view. For converting JSON to CSV or vice versa, fwip handles it in the browser. If you're debugging an API response or editing a configuration file, JSON is what you're looking at.

Technical details
Full Name
JavaScript Object Notation
MIME Type
application/json
Developer
Douglas Crockford
Magic Bytes
N/A
Safety
.json is a known, safe format.
What opens it
Any text editor
FREE All
VS Code
FREE All
Firefox (formatted view)
FREE All
Convert with fwip

Convert .json files instantly in your browser. No upload, no signup, no subscription. Your files never leave your device.

Free in your browser. Batch processing & offline mode in the desktop bundle.

FAQ
What is the difference between JSON and XML?
JSON is lighter — less syntax, smaller files, faster parsing. XML is more verbose but supports attributes, namespaces, and schemas. JSON won the web because it’s simpler and maps naturally to JavaScript objects. XML still dominates in enterprise systems, SOAP APIs, and document formats like DOCX.
How do I open or read a JSON file?
Any text editor works. VS Code gives you syntax highlighting and formatting. Firefox displays JSON files with a built-in formatted viewer. For large files, use a dedicated tool like jq (command line) or an online JSON viewer.
What is the difference between JSON and YAML?
YAML uses indentation instead of braces and is designed to be more human-readable. JSON is stricter and more machine-friendly. YAML is popular for configuration files (Docker Compose, Kubernetes). JSON is the standard for APIs and data exchange. YAML is a superset of JSON — valid JSON is valid YAML.
Can JSON contain comments?
Standard JSON does not support comments. This is by design — Crockford excluded them to prevent misuse as parsing directives. If you need comments, use JSONC (JSON with Comments, supported by VS Code), JSON5, or switch to YAML or TOML for config files.
Related formats