Formatters & Converters

JSON, XML, SQL, HTML, JavaScript, Markdown and Base64 formatters, validators and converters that run in your browser.

Formatters and converters are the highest-traffic tools on this site, and the ones where a silent mistake costs the most: a validator that accepts invalid JSON teaches you nothing until the API rejects it. Every formatter here parses your input properly - real AST parsing for JavaScript, dialect-aware parsing for SQL, draft-aware validation for JSON Schema - and then reports what it found, including the exact line and column when something is wrong.

The JSON tools are the deepest set: format and validate, diff two documents structurally, generate TypeScript interfaces, generate or validate a JSON Schema, and convert JSON to SQL INSERT statements. If you are debugging an API response, start with the formatter and move to the diff when you need to know what changed between two payloads. For markup and query languages the pattern is the same: paste, format, then copy or download the result.

Two things are deliberate. First, everything runs client-side, so pasting a production payload or a customer's SQL does not send it to a server. Second, minification reports the size and gzip savings rather than silently rewriting your file, so you can see whether it was worth doing. Watch out for the usual traps: trailing commas and comments are not valid JSON, single quotes are not valid JSON, and "minifying" HTML can break inline scripts if you do it by regex - the HTML tool parses instead.

18 tools in this category

Other tool categories

← All tools A–Z · Tech tips & guides


Luke Keam
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch
Luke Keam | techgeek.biz