Skip to content

Formateadores y código

Formateador de SQL

Formateador de SQL gratuito. Formatea SQL feo de una sola línea en una consulta legible e indentada. Admite SELECT, JOIN, WHERE, GROUP BY en la mayoría de los dialectos.

Runs in your browser
SQL formatter & validator
lines: 0chars: 0size: 0 B
SQL · UTF-8 · 2-space indent

Nota del editor

Understanding · SQL, set to two spaces.

Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.

Preguntas frecuentes

Quick answers.

Which SQL dialects are supported?

Standard ANSI SQL works across PostgreSQL, MySQL, SQLite, MS SQL and most others. Vendor-specific extensions may format imperfectly.

Does it modify the query?

Only whitespace and case — keywords are uppercased by convention but the logic is identical to your input.

Is my SQL sent to a server?

No — formatting happens entirely in your browser. Useful when working with sensitive queries.

Can it format very long queries?

Yes — anything your browser can hold in memory. Multi-thousand-line queries work fine.

Is the formatter free?

Yes — fully free, no signup.

La gente también busca

Herramientas relacionadas

More in this room.

Ver todo en Formateadores y código