SQL Formatter makes SQL queries readable by adding proper indentation and consistent keyword casing. Raw SQL from query logs, ORM output, or legacy code is often a single compressed line — this tool makes it human-readable in one click.
Use it to reformat a query from a slow-query log before analyzing it, clean up SQL exported from BI tools, or standardize query formatting before committing to a repository. Both Beautify (readable) and Minify (compact) modes are available.
SQL formatting runs locally in your browser — your queries and data are not transmitted anywhere.