# JSON Farm > A complete, browser-based JSON toolkit. Free, private, no signup required. > All processing runs entirely in the user's browser — no data is ever sent to a server. ## What JSON Farm Does JSON Farm provides 7 tools for working with JSON data: - **Format** (`/format`): Pretty-print JSON with custom indentation (2, 4, or tab), minify to compact form, sort keys alphabetically, or strip invisible/special characters like BOM and zero-width spaces. - **Diff** (`/diff`): Semantically compare two JSON documents side-by-side. Highlights added, removed, and modified fields with exact JSONPath locations. Supports keyed array diffing (match array objects by a key like `id`) and unordered array comparison. - **Query** (`/query`): Run JSONPath expressions against JSON data. Supports full JSONPath syntax including filters, recursive descent, wildcards, and slices. Returns matched values and their paths. - **TypeGen** (`/typegen`): Generate type definitions from JSON data. Supports TypeScript interfaces, Zod schemas, Go structs, Rust structs, Python Pydantic models, and Java classes. - **Validate** (`/validate`): Validate JSON against a JSON Schema. Supports draft-07, draft-2019-09, and draft-2020-12. Returns all validation errors with JSONPath locations and human-readable messages. - **Repair** (`/repair`): Automatically fix common JSON errors: trailing commas, single quotes, unquoted keys, comments, unclosed brackets, Python constants (True/False/None), and newlines inside strings. - **Convert** (`/convert`): Bidirectionally convert JSON to and from YAML, CSV, and TOML. Handles nested objects, arrays, and preserves data types. ## Technology - Built with Next.js 14 (App Router), React 18, TypeScript - Core logic in `@json-farm/core` (open source, MIT license) - Monaco Editor for code editing in the browser - IBM Plex Mono font throughout ## Privacy No analytics, no tracking, no server-side processing. Everything runs in WebAssembly/JavaScript in the browser. ## Links - Website: https://jsonfarm.com - Source code: https://github.com/user/json-farm - npm CLI: https://www.npmjs.com/package/@json-farm/cli