🗄️
🔄

Format ORM-Generated SQL

ORMs (Sequelize, Prisma, ActiveRecord) produce single-line SQL — format it to debug what they actually generated.

No cal iniciar sessió
Formatted SQL appears here…

ORM Debugging tips

🔄

Enable SQL logging in your ORM, copy the generated query into the formatter to see exactly what it's sending to the DB.

💡

ORM-generated SQL often has unnecessary JOINs or selects all columns. Formatting makes these visible — common source of N+1 query bugs.

🎯

For performance debugging: format the slow query, then paste it into EXPLAIN to see the query plan.

Com funciona

1
Introdueix
Enter your data into the tool above. Everything stays local to your browser.
2
Processa
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Descarrega
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Per què usar la nostra?

Completament gratuït — sense costos ocults, mai
No cal compte, correu electrònic ni inici de sessió
Els fitxers no surten mai del teu dispositiu
Sense cap límit de mida de fitxer
Sense marques d'aigua en cap sortida

Also check out…

Preguntes freqüents