JSON / JSONC 美化与压缩
纯本地极速美化与压缩 JSON 数据,支持单行与多行注释,保护隐私。
Code & Configuration Formatter Online
Format, beautify, validate, and minify JSON, JSONC, SQL, XML, YAML, TOML, Properties, and INI files directly in your browser. Powered by client-side WebAssembly, BoxyKit Formatter runs at high speed with zero cloud transmission—protecting confidential API tokens, database schemas, and proprietary configuration data.
Key Features for Developers & DevOps
JSON & JSONC Comment-Preserving
Beautify or minify JSON with customizable 2 or 4-space indentation. Full support for JSONC with single and multi-line comments.
Multi-Dialect SQL Query Beautifier
Format complex SQL statements with intelligent clause indentation and optional keyword uppercasing (MySQL, PostgreSQL, SQLite).
Full Config Ecosystem (YAML, TOML, INI)
Clean and format Kubernetes YAML manifests, Docker Compose, Cargo.toml, Python pyproject.toml, and INI configuration files.
XML & SVG Pretty-Printer
Format nested XML and SVG vector graphics with clean attribute alignment, tag closing, and minification.
How to Format Code & Configs
Select Format
Choose your target syntax from the sidebar: JSON, SQL, XML, YAML, TOML, Properties, or INI.
Paste Code or Load Sample
Paste raw or minified code into the input pane, or click "Load Sample" to explore formatting options.
Customize Rules
Adjust indent spacing (2 or 4 spaces) or toggle SQL keyword uppercase formatting according to your team conventions.
Format, Copy, or Download
Click "Format / Beautify" or "Minify" for sub-millisecond results, then copy to clipboard or download as a file.
Pure Client-Side WebAssembly Parser Engine
BoxyKit Formatter runs industry-standard AST parsing and formatting engines directly in WebAssembly (WASM). Your code strings, configuration files, and SQL database queries are parsed entirely in local memory. No analytics trackers, no telemetry, no rate limits, and 100% offline capability.