Encoding & JSON tools
Everyday format, encode/decode and conversion utilities — JSON, Base64, URL, hex, HTML entities, JWT, SQL, YAML, XML, CSV. Beautifiers and minifiers for the languages you ship. All run locally in your browser; nothing is uploaded.
Format, validate and beautify JSON.
Compare two JSON documents structurally.
Convert a JSON array to CSV.
Convert CSV to a JSON array.
Convert JSON to well-formed XML.
Validate and pretty-print XML.
Convert YAML config to JSON.
Check YAML syntax and find errors.
Encode or decode Base64 strings.
Percent-encode or decode URLs.
Convert text to hex bytes and back.
Escape and unescape HTML entities.
Decode and inspect JSON Web Tokens.
Pretty-print and format SQL queries.
Minify CSS to shrink file size.
Minify JavaScript with Terser.
Minify HTML markup.
Generate TypeScript interfaces from JSON.
Generate Go structs from JSON.
Compress JSON to a single line.
Infer a JSON Schema from sample data.
Format and pretty-print HTML.
Format minified JavaScript.
Format and pretty-print CSS.
When to reach for each
For data manipulation, the JSON formatter and JSON diff handle most debugging; converters like JSON to CSV and YAML to JSON bridge formats. For wire-format work, Base64, URL encoding and JWT decoder cover the usual suspects. Code generators like JSON to TypeScript and JSON to Go save a few minutes of typing when wiring a new API. For deeper JSON workflows, the dedicated JSON tools hub groups the JSON-specific tools together.
Frequently asked questions
- Yes. Every tool here is free, needs no sign-up, and runs entirely in your browser. Your input is never uploaded — strict-CSP enforced.
- Yes for inspection. Encoding, decoding and validation happen locally — nothing is sent to a server. That said, treat any pasted token as touched, and rotate it if it was production-sensitive.
- Start with the JSON formatter — it validates first and points to the first syntax error so you can correct it. For larger comparisons, use the JSON diff.