JSON & data

SQL formatter

Re-indent SQL statements using a dialect-agnostic tokenizer.

Also known as: SQL beautifier.

100% offline · macOS, Windows & Linux · free for personal use

SQL formatter running in Hexkit

// overview

What it does

SQL formatter is one of 55 tools in Hexkit, a desktop developer toolbox that runs entirely on your own machine. Re-indent SQL statements using a dialect-agnostic tokenizer.

Because Hexkit is a native app rather than a web page, anything you paste into the sql formatter stays local — there are no uploads, no accounts and no telemetry. You can reshape configs and API payloads even with the network turned off, which makes it safe for tokens, keys and production data.

// steps

How to use SQL formatter

  1. 1

    Open Hexkit and select "SQL formatter", or press the command-palette key and start typing its name.

  2. 2

    Paste your JSON, YAML, CSV or other structured data. Re-indent SQL statements using a dialect-agnostic tokenizer.

  3. 3

    Read or copy the result. Everything is computed locally by Hexkit's Rust core, so nothing is ever uploaded.

Tip: the command palette opens any tool in one keystroke.

// faq

Frequently asked questions

Is SQL formatter free?
Yes. SQL formatter is part of Hexkit, which is free for personal and non-commercial use on macOS, Windows and Linux.
Does SQL formatter work offline?
Completely. Hexkit runs every tool locally with no network access, so SQL formatter works on a plane or an air-gapped machine.
Is my data uploaded anywhere?
No. Hexkit makes no network calls and has no telemetry — whatever you paste stays on your computer.

// keep going

Related tools

Use SQL formatter without sending your data anywhere.

SQL formatter ships inside Hexkit — a free, offline developer toolbox for macOS, Windows and Linux. No account, no uploads.