Free tools

SQL Formatter

Free online SQL formatter. Pretty-print SELECT and other queries in your browser. The SQL never leaves this page for GraphicByte.

Tool names, instructions and generated content may be provided in English.

About this tool

Paste a one-line query from Prisma, logs or a host panel and get keywords on their own lines so JOINs and WHERE clauses are easier to review.

This is a lightweight pretty-printer, not a full SQL parser. It does not run the query and does not connect to your database.

How to use it

  1. Paste the SQL.
  2. Click Format.
  3. Copy the indented query into your editor.

FAQs

Does this execute my SQL?

No. It only reformats the text. There is no database connection.

Which SQL dialect is supported?

Common keywords such as SELECT, JOIN and WHERE. It is aimed at readable Postgres-style queries, not every vendor extension.

Will GraphicByte see my query?

No. Formatting is local to the tab.

More free tools