Format SQL locally with readable line breaks, keyword casing, and copy or download actions.
SQL Input
Paste a query, statement list, or migration fragment and normalize it locally.
Formatted Output
Preview the current formatted result before copying, downloading, or applying it back to the editor.
Actions
browser-onlySummary
Formatting ready
The formatter runs locally and rewrites layout, clause breaks, and keyword casing without sending your query anywhere.
How To Use
Paste one or more SQL statements into the input editor, then choose indentation width and keyword casing to normalize the query layout locally in the browser.
Use Format SQL to apply the current output back into the editor, or copy and download the formatted result directly from the output pane.
This formatter is tuned for practical readability on common query shapes. If you are working with a vendor-specific dialect or procedural SQL, review the result before using it in production.