ToolLineup
9 tools

SQL

Format and minify queries, and move rows between INSERT statements and JSON, CSV, XML, YAML and HTML.

About SQL

SQL turns up in two quite different shapes, and this category covers both. The first is SQL as text: a query pasted out of a log or an ORM dump, run together on one line with no indentation, that you need to read before you can reason about it. The formatter breaks it into clauses, indents subqueries and normalises spacing across a dozen dialects, and the minifier does the reverse when a query has to fit into a config file or an environment variable. The second is SQL as data: a dump full of INSERT statements holding rows you actually want somewhere else. Those statements are parsed properly rather than pattern-matched, so a comma inside a string, an escaped apostrophe or a function call in a value cannot corrupt the result, and the rows come out as JSON, CSV, XML, YAML or an HTML table with their types intact. The same bridge works in reverse: paste a spreadsheet export or an API response and get INSERT statements back, correctly escaped and optionally with a CREATE TABLE inferred from your data.

Everything on this page runs directly in your browser — none of your input is uploaded, and every tool keeps working when you are offline.

Browse other categories