Skip to content

Format SQL

A long query on one line? Paste it and ZeroFile breaks it up by clause, with keywords in a consistent case.

JSON, XML, sql, css, js, HTML or SVG

Lay out a SQL query with line breaks and tidy keywords. It never runs the query.

This is a formatter, not a validator. It tidies how your SQL looks. It does not run the query or check that it is correct, and it does not know every database’s own extras, so unusual SQL may be laid out plainly.

Layout
Keywords
Indent
Paste it, or open a .sql file