JSON formatieren
JSON mit zwei Leerzeichen einrücken, minimieren und auf Syntaxfehler prüfen.
Pretty-print or minify SQL queries.
This tool recognizes MySQL, PostgreSQL, and SQL Server identifier-quoting styles ("…", `…`, […]) at the same time, so there's no dialect switch to worry about. String literals, quoted identifiers, and comments are never rewritten in either mode. Parentheses are only broken onto new indented lines when they contain a SELECT (a subquery); ordinary function-call parentheses stay inline. Everything runs entirely in your browser; your query is never sent anywhere.
A tool that pretty-prints or minifies SQL for readability or compactness.
There's no dialect selector. Instead, all three quoted-identifier styles ("…", `…`, […]) and string-escaping conventions are recognized at once, so you can just paste your query. Vendor-specific functions and procedural syntax are not specially handled.
No. A dedicated tokenizer identifies string literals, quoted identifiers, and comments before any formatting happens, so their contents are never altered in either Format or Minify mode.
Unclosed string/identifier quotes or comments show an error and leave the output empty. Merely unbalanced parentheses don't error — the tool formats what it can, since pasting partial query fragments is common.
No. All processing runs in your browser; nothing is sent to toco.tools servers.