Paste SQL to pretty-print it onto clean lines and indented clauses, or minify it to a single compact statement. A real tokenizer handles quoted strings, single and double quoted identifiers, line and block comments, and common clauses like SELECT, FROM, WHERE, JOIN, and GROUP BY. Nothing leaves this page.