# jsoneditor.io > jsoneditor.io is a free online JSON editor built on Monaco, the editor that powers VS Code. It formats, minifies and validates JSON, shows it as a tree or a graph, runs JSONPath queries, diffs versions, and converts between JSON, YAML, CSV, XML and JSON Lines, generates TypeScript, Go, Python, Zod and JSON Schema, repairs broken JSON, decodes JWTs and makes share links, all inside a multi-tab workspace. Everything except the optional AI assistant runs in the browser, so pasted data stays on the user's machine. No signup is needed. It is made by polyxmedia and is a separate project from jsoneditoronline.org. ## Tools Every tool runs in the same editor and works on the active tab. Each one has its own page that opens the editor ready for that job. Files can be opened with the Open button or dropped onto the page. - [JSON Formatter](https://jsoneditor.io/json-formatter): Format button or Shift+Alt+F to beautify with the configured indentation. - [JSON Validator](https://jsoneditor.io/json-validator): errors are underlined inline as you type, and Validate shows the parser's error message in the status bar. YAML tabs are validated as YAML. - [JSON Minifier](https://jsoneditor.io/json-minifier): strips all whitespace outside strings. - [JSON Viewer](https://jsoneditor.io/json-viewer): collapsible tree of the document with item counts. Pasting while in Tree view opens the pasted JSON in a new tab. - [JSON Path Finder](https://jsoneditor.io/json-path-finder): right-click a tree node to copy its path as JSONPath ($.users[0].email), JavaScript (data.users[0].email), jq (.users[0].email) or JSON Pointer (/users/0/email), or copy its key or value. - [JSON Visualizer](https://jsoneditor.io/json-visualizer): the document drawn as an editable graph of connected nodes. - [JSONPath Tester](https://jsoneditor.io/jsonpath-tester): run JSONPath expressions such as $..author or $.store.book[?(@.price<10)] and see matches live, powered by jsonpath-plus. - [JSON Diff](https://jsoneditor.io/json-diff): snapshot the current tab, edit or paste another version, and see additions, removals and changes side by side. - [JSON to YAML](https://jsoneditor.io/json-to-yaml): values such as no, on and 22:22 are quoted so YAML 1.1 parsers like PyYAML read them as strings. - [YAML to JSON](https://jsoneditor.io/yaml-to-json): anchors are expanded, comments are dropped, one document at a time. - [JSON to CSV](https://jsoneditor.io/json-to-csv): array of objects to CSV, every key becomes a column, nested objects flatten to dot notation columns, arrays of plain values join into one cell. - [CSV to JSON](https://jsoneditor.io/csv-to-json): RFC 4180 quoting, comma, semicolon and tab delimiters detected automatically, values kept as strings. - [JSON to TypeScript](https://jsoneditor.io/json-to-typescript): exported interfaces for nested objects, array items merged with optional keys, unions for mixed values. - [JSON Escape and Unescape](https://jsoneditor.io/json-escape): escape text into a JSON string body or unescape it back. - [JSON Repair](https://jsoneditor.io/json-repair): Repair button fixes trailing commas, single quotes, unquoted keys, comments, Python True/False/None, raw line breaks in strings, JSON Lines and truncated JSON, using the jsonrepair library. - [JSON to XML](https://jsoneditor.io/json-to-xml) and [XML to JSON](https://jsoneditor.io/xml-to-json): arrays become repeated elements, @ keys are attributes, #text is element text, so documents round trip. - [JSON to Go](https://jsoneditor.io/json-to-go): exported structs with Go initialisms, json tags, omitempty for optional keys, int64 or float64, pointers for nullable values. - [JSON to Python](https://jsoneditor.io/json-to-python): Pydantic v2 models with snake_case fields and aliases for the original keys. - [JSON to Zod](https://jsoneditor.io/json-to-zod): Zod schemas declared children first, optional and nullable fields, z.number().int(), plus the inferred TypeScript type. - [JSON Schema Generator](https://jsoneditor.io/json-schema-generator): draft 2020-12 schema inferred from a sample, with required keys, integer types and nullable type arrays. - [JSON Sorter](https://jsoneditor.io/json-sorter): sorts object keys at every level by character code, arrays keep their order. - [JSON Lines to JSON](https://jsoneditor.io/jsonl-to-json): JSONL or NDJSON to a JSON array and back, bad lines reported with their line number. - [JWT Decoder](https://jsoneditor.io/jwt-decoder): header and payload as JSON with iat and exp as ISO dates and an expired flag. Decoding only, signatures are not verified, nothing is sent anywhere. - Share links: the Share button copies a link with the file compressed into the URL fragment after #, which browsers never send to a server. - [AI assistant](https://jsoneditor.io): optional. Fixes, generates and transforms files. When used, the open files are sent to OpenAI. ## JSON error messages What each common parse error means, the exact wording per browser, Node and Python version, causes and fixes. Index: https://jsoneditor.io/errors - [Unexpected token '<' in JSON](https://jsoneditor.io/errors/unexpected-token-in-json): an HTML page (404, error page, login redirect) was parsed as JSON. - [Unexpected end of JSON input](https://jsoneditor.io/errors/unexpected-end-of-json-input): empty body, 204 response or truncated JSON. - ["[object Object]" is not valid JSON](https://jsoneditor.io/errors/object-object-is-not-valid-json): parsing a value that is already an object. - ["undefined" is not valid JSON](https://jsoneditor.io/errors/undefined-is-not-valid-json): JSON.parse received undefined. - [Expected double-quoted property name in JSON](https://jsoneditor.io/errors/expected-double-quoted-property-name): trailing comma. - [Expected property name or '}' in JSON](https://jsoneditor.io/errors/expected-property-name-or-brace): single quotes, unquoted keys or comments. - [Unexpected non-whitespace character after JSON](https://jsoneditor.io/errors/unexpected-non-whitespace-character-after-json): more than one JSON value, often JSON Lines. - [Bad control character in string literal](https://jsoneditor.io/errors/bad-control-character-in-string-literal): raw line breaks or tabs inside strings. - [JSONDecodeError: Expecting value: line 1 column 1 (char 0)](https://jsoneditor.io/errors/jsondecodeerror-expecting-value): Python, empty or HTML response. - [Expecting property name enclosed in double quotes](https://jsoneditor.io/errors/expecting-property-name-enclosed-in-double-quotes): Python, single quoted dict text from str(dict). - [JSONDecodeError: Extra data](https://jsoneditor.io/errors/jsondecodeerror-extra-data): Python, JSON Lines or concatenated documents. ## Guides - [How to Format JSON Online](https://jsoneditor.io/blog/how-to-format-json): formatting and pretty-printing JSON. - [Common JSON Syntax Errors and How to Fix Them](https://jsoneditor.io/blog/common-json-errors-and-how-to-fix-them): trailing commas, missing quotes, invalid escapes. - [How to Minify JSON and Why It Matters](https://jsoneditor.io/blog/how-to-minify-json): smaller payloads and faster transfer. - [How to Convert JSON to CSV](https://jsoneditor.io/blog/how-to-convert-json-to-csv): exporting JSON arrays to Excel and Google Sheets. - [How to Convert JSON to YAML](https://jsoneditor.io/blog/how-to-convert-json-to-yaml): config files and Kubernetes manifests. - [JSON vs YAML](https://jsoneditor.io/blog/json-vs-yaml-comparison): when to use each format. - [How jsoneditor.io was built](https://jsoneditor.io/blog/how-jsoneditor-was-built): Next.js, Monaco and the AI integration. ## About - [About](https://jsoneditor.io/about) - [Privacy policy](https://jsoneditor.io/privacy) - [Contact](https://jsoneditor.io/contact)