# JFmt

> Free JSON formatter online. Beautify, validate, view a tree, minify, repair, and convert to XML, CSV or YAML in your browser. Nothing is uploaded.

This file covers the English pages on https://jfmt.dev/. A locale file such as https://jfmt.dev/zh/llms.txt covers only that prefix, and the more specific file wins. Linked URLs are HTML pages.

Formatting, validation, repair, and conversion run in the browser. Do not upload JSON; nothing is sent to JFmt.

The homepage is a multi-tool workbench for several steps in one tab. A deep link is a single-task page — open it when the job is only that tool.

Use the validator when the text should already be JSON. Use repair for trailing commas, comments, and unquoted keys in logs, model output, or objects copied from JavaScript.

Diff lists added, removed, and changed paths (APIs, config review, snapshots). Compare shows two documents as trees, so key order and whitespace are not false changes.

The JWT page decodes the header and payload only. It does not verify the signature.

## When to use which

- [JSON formatter, beautifier & validator](https://jfmt.dev/): Multi-tool workbench. Each tool URL below is a single task.
- [JSON Validator](https://jfmt.dev/json-validator): Choose this when the text should already be valid JSON. This page does not fix it.
- [JSON Repair](https://jfmt.dev/repair): Choose this when the text is almost JSON: trailing commas, comments, unquoted keys.
- [JSON Diff](https://jfmt.dev/json-diff): Choose this for a path list of additions, removals, and value changes.
- [JSON Compare](https://jfmt.dev/json-compare): Choose this instead of Diff when key order or whitespace must not count as a change.
- [JWT Decoder](https://jfmt.dev/jwt): Decode only. Do not use this page to verify a signature.

## Tools

- [JSON formatter, beautifier & validator](https://jfmt.dev/): Pretty-print, then query or convert without leaving the tab.
- [JSON Beautifier](https://jfmt.dev/json-beautifier): Pretty-print minified API payloads or logs with two-space indentation. Values stay the same; only whitespace changes.
- [JSON Validator](https://jfmt.dev/json-validator): Show whether a payload parses, with the syntax error beside the editor.
- [JSON Viewer](https://jfmt.dev/json-viewer): Expand a collapsible tree for API responses, configs, or long logs.
- [JSON Minify](https://jfmt.dev/minify): Drop whitespace and line breaks. Still valid JSON, shorter for APIs, logs, and storage.
- [JSON Repair](https://jfmt.dev/repair): Rewrite trailing commas, comments, and unquoted keys into valid JSON. Logs, model output, JS objects.
- [JSON Diff](https://jfmt.dev/json-diff): Path list for API payloads, config review, and snapshot tests.
- [JSON Compare](https://jfmt.dev/json-compare): Two documents as trees, for reviews where formatting should not matter.
- [JSONPath Tester](https://jfmt.dev/jsonpath): Run a JSONPath against the left-hand JSON and read matches on the right. APIs, logs, config digging.
- [JWT Decoder](https://jfmt.dev/jwt): Header and payload as JSON while debugging auth.
- [JSON to YAML](https://jfmt.dev/json-to-yaml): JSON on the left, YAML on the right. Kubernetes snippets, CI config, and docs.
- [JSON to CSV](https://jfmt.dev/json-to-csv): Turn an array of objects into rows for Excel, Sheets, or pandas.
- [JSON to Excel](https://jfmt.dev/json-to-excel): Download a real .xlsx. Nested objects become columns such as address.city.
- [JSON to XML](https://jfmt.dev/json-to-xml): JSON on the left, XML on the right. Configs, SOAP snippets, and feeds. Keys starting with @_ become attributes.

## Optional

- [How can we help?](https://jfmt.dev/support): JFmt stays local in your browser.
- [Your JSON stays yours.](https://jfmt.dev/privacy): JSON formatting, validation, minification, repair and comparison run inside a Web Worker in your browser.
