SQL Formatter
Clean up one-line ORM queries and stored-procedure statements into readable, uppercase-keyword SQL.
How to Use SQL Formatter
- Paste a raw SQL query from your query log, CodeIgniter Query Builder, or ORM.
- Click Format SQL to align clauses (SELECT, FROM, JOIN, WHERE, GROUP BY, ORDER BY).
- Copy the formatted SQL into your migration, code review, or database client.
How SQL Formatter Works
Readable clause alignment makes missing JOIN predicates, accidental OR precedence bugs, and non-SARGable WHERE expressions immediately visible during code review.
Data Privacy & Security Notice
SQL Formatter executes locally inside your browser tab using JavaScript and WebCrypto APIs. Your input payloads, tokens, SQL queries, and secrets are never transmitted to TechnoLila servers or third-party endpoints.
Frequently Asked Questions
Are my SQL table names or query parameters logged?
No. Formatting runs locally in browser JavaScript; queries are never sent over the network.