Formattatore e minimizzatore online gratuito SQL
SQL disordinato di una riga è difficile da leggere, rivedere ed eseguire il debug. Il formattatore SQL di Dokall stampa in modo gradevole le query con rientro coerente e parole chiave in maiuscolo, con supporto dialettale per MySQL, PostgreSQL, SQLite e altro ancora.
Utilizza Minify per eliminare i commenti e comprimere gli spazi bianchi per le query compatte. Editor Dual Ace con evidenziazione della sintassi SQL: tutto viene eseguito nel tuo browser.
Frequently Asked Questions
Which SQL dialects are supported?
Dokall supports standard SQL plus dialect-specific formatting for MySQL, PostgreSQL, SQL Server (T-SQL), SQLite, BigQuery, and others. Select your dialect for correct keyword casing and syntax handling.
Can I minify SQL queries?
Yes. Switch to minify mode to compress a formatted query into a single line. Useful for embedding SQL in application code or reducing log output size.
Does formatting affect query performance?
No. SQL formatters only change whitespace. The database query planner sees the same logical query. Formatting is for human readability during development and code review.
Can I format stored procedures?
Yes. Paste multi-statement SQL including CREATE PROCEDURE, triggers, and CTEs. Complex procedural SQL may need dialect-specific settings for best results.
Is my SQL sent to a server?
No. Formatting runs in your browser. Queries containing table names, credentials, or business logic never leave your device.