SQL Formatter
Format SQL queries with proper indentation. Supports standard SQL syntax.
Runs locally — nothing is uploaded
How to use
- 1
Paste SQL
Enter a query or script.
- 2
Format
sql-formatter loads dynamically and applies indentation.
- 3
Copy output
Copy the readable SQL.
Frequently Asked Questions
Standard SQL formatting that works well for common read and write statements such as SELECT, INSERT, and UPDATE.
Yes. Paste your query, click Format, then copy the indented output.
An error message appears. Fix the query syntax and try Format again.
No. Formatting runs locally in your browser after you click Format.
Related tools
QR Code Generator
Create styled QR codes for links, Wi‑Fi, contacts, and more. Logo and colors stay in your browser.
Developer Tools
Barcode Generator
Generate CODE128, EAN13, UPC, and CODE39 barcodes from text. Download as PNG.
Developer Tools
JSON Formatter
Format, validate, and minify JSON with clear error messages.
Developer Tools
Base64 Encoder / Decoder
Encode and decode text or images to Base64. Works entirely offline.
Developer Tools