SQL formatter
SQL formatter lets you format PostgreSQL, MySQL, or SQLite SQL without connecting to a database in your browser.
SQL placeholder converter lets you convert named placeholders while preserving SQL strings and comments in your browser.
⌂ Inputs and results stay in this browser and are not automatically stored or sent.
Waiting for input
Enter SQL and arguments separately and choose source and target placeholder styles.
Review the generated SQL alongside the argument mapping, especially for repeated names. This is not a blind replacement of symbols inside strings or comments. Treat unsupported syntax as outside the supported conversion scope.
SELECT * FROM users WHERE id = :id OR manager_id = :id
---
{"id":7}Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.
SQL formatter lets you format PostgreSQL, MySQL, or SQLite SQL without connecting to a database in your browser.
JSON formatter lets you format, minify, locate syntax errors, and choose indentation in your browser.