Pular para o conteúdo

🗄️ Formatador SQL

Formata e minifica consultas SQL. Compatível com SELECT / INSERT / UPDATE / DELETE / JOIN / WITH.

100% Free No signup Browser-only 5 languages Dark mode

🔗 Ferramentas relacionadas

📖 Como usar

  1. 1
    Set action and options
    Choose beautify or minify, then set indent size and keyword casing (UPPERCASE, lowercase, or preserve).
  2. 2
    Enter your SQL
    Paste your SQL query into the left input. Click Sample to load a complex example with SELECT, JOIN, and subqueries.
  3. 3
    Copy the result
    The formatted or minified SQL appears on the right. Click Copy to copy it to your clipboard.

❓ Perguntas frequentes

Which SQL dialects are supported?
Standard SQL with SELECT, INSERT, UPDATE, DELETE, WITH, and JOIN is supported. Dialect-specific syntax like stored procedures is partially supported.
Are comments preserved?
In beautify mode, comments (-- and /* */) are preserved. In minify mode, comments are removed.
Are string literals modified?
No. String literal contents (values in single quotes) are not affected by keyword casing or whitespace changes.
🐛 Você encontrou um problema com esta ferramenta?

Completamente gratuito e sem registro. Até as etapas de reprodução são suficientes. Os relatos recebidos chegam diretamente aos operadores e servem como referência para correções.

※ Para reproduzir problemas, informações do navegador (UA / tamanho de tela / idioma / URL) são enviadas automaticamente