Backend engineer
Prepare a dialect-specific query review.
Choose PostgreSQL, format a query with dollar strings and parameters, inspect literals, copy the output.
Receives readable SQL with original literal values and unbound parameters.
Format SQL with an explicit dialect, preserved literals, configurable keyword case and bounded local processing before copying or saving a review.
A quick decision brief for this specific tool
SQL input
Formatted SQL
A dedicated interactive panel for this data format or operation
Choose your path
Prepare a readable SQL review with the actual dialect and literals intact, without implying the query is valid, safe or optimized.
Prepare a dialect-specific query review.
Choose PostgreSQL, format a query with dollar strings and parameters, inspect literals, copy the output.
Receives readable SQL with original literal values and unbound parameters.
Detect unsupported syntax without mistaking formatting for validation.
Try an unterminated string, select the correct dialect, correct the source and rerun.
Sees an explicit error with no partial output, then a current result and database-testing caveat.
Save readable SQL without overwriting another tool’s notes.
Use named selects and buttons on a narrow screen; format, copy, explicitly save and return to Project Data.
Distinct sourceSql, formattedSql and sqlFormattingWarning values remain inspectable.
Outputs and checklists are planning aids. Review the linked current authorities and the records, terms, instructions, and requirements that apply to your exact situation before a consequential decision.
This tool is part of these guided projects. Each project provides step-by-step instructions with checklists and all the tools you need in one place.
Tools you might need next
Validate, losslessly format, and minify JSON while flagging duplicate members and precision-sensitive numbers before parsed tree or XML views.
Test ECMAScript regular expressions with exact global, Unicode, capture, index, and replacement behavior plus conservative backtracking-risk refusal.
Format one YAML 1.2 core document with real parsing, comment-aware output, selectable indentation and explicit errors before copying or saving.
SQL Formatter 15.8.2 formats one selected dialect. Keyword casing is separate from string literals and quoted identifiers. Parameters are not substituted and no database is contacted.
An explicit run loads the language engine in a disposable worker. Cancellation and a wall-clock timeout prevent abandoned work from updating results. Input code is never executed.
Input or option changes invalidate old output. Copy/download contain code only, not an appended report. Formatting is not automatic repair or runtime validation.
Updated: August 2026
Format a PostgreSQL query containing dollar strings and $1 parameters; compare literal values before sharing the review.
Switch from Standard SQL to PostgreSQL for dollar-quoted strings, then rerun after an explicit parser error.
Save the source, formatted SQL and SQL-specific warning to the REST API Project without overwriting the JavaScript review note.
Choose Standard SQL, PostgreSQL, MySQL, SQLite or SQL Server. Compare source and formatted text before copying, downloading or explicitly saving a review to the REST API Project.