SQL Prepared Statement Merger

Paste a SQL query with '?' placeholders and a JSON array of parameters to merge them into a runnable SQL statement.

FormatBeautify
Placeholders outside quotes will be replaced. Example: SELECT * FROM abc WHERE id = ? AND anotherId IN (?, ?)
Detected placeholders: 3
Example: ["784", 123, 456] — strings will be single-quoted and escaped, numbers left as-is.
Run "Merge" to see the output here.