Prettify SQL
Comma Position:
Comma-Prefixed (, item)
Comma-Suffixed (item,)
Indent:
2 Spaces
4 Spaces
Keyword Case:
UPPERCASE
lowercase
Unchanged
Column Name Case:
lowercase
UPPERCASE
Unchanged
Output will appear here...
Built out of desperation by a man simply looking to comma-prefix his column names.
Saved a copy to use offline? It'll keep working exactly as it is forever, but it won't know about newer versions on its own — worth checking back at sqlnat.org every so often. This copy: .
Buy me a coffee
Disclaimer: provided as-is with no warranty of any kind, express or implied — always review formatted SQL before running it against a production system. No data is collected, stored, or transmitted by this site; everything runs locally in your browser.