← PicToSpec home

FREE DEVELOPER TOOL

SQL Formatter

Format SQL queries with consistent indentation, uppercase keywords and readable clause breaks. This lightweight formatter preserves quoted strings and comments; it is not a full SQL parser.

Formatting is lexical, not database-aware. Review the result before running it, especially vendor-specific syntax, procedural SQL and complex expressions.

Runs locally in your browser. Your input is not uploaded to PicToSpec.