Skip to content

Formateador SQL

Formatea y embellece SQL para PostgreSQL, MySQL, SQLite, BigQuery y más. Las consultas se quedan en tu navegador.

Sin subidas
SELECT
  u.id,
  u.name,
  count(o.id) AS orders
FROM
  users u
  LEFT JOIN orders o ON o.user_id = u.id
WHERE
  u.created_at > '2026-01-01'
  AND u.active = TRUE
GROUP BY
  u.id,
  u.name
HAVING
  count(o.id) > 3
ORDER BY
  orders DESC
LIMIT
  20;

Cómo usar Formateador SQL

  1. 1Abre Formateador SQL. Funciona en tu navegador, sin registro.
  2. 2Escribe o pega tus datos.
  3. 3Copia o descarga el resultado.

Preguntas

Is my query sent anywhere?

No. Formatting happens in your browser — safe for production queries.

Does it validate SQL?

It reports syntax it cannot parse, but it does not check tables or columns.

Más herramientas