A simple web-based tool that converts raw TypeORM logs into readable SQL queries, supports multiple log lines, highlights SQL syntax, and allows easy copying and saving.
- β
Parse raw TypeORM logs (
query + -- PARAMETERS) - π§ Auto inject parameters into query placeholders
- β¨ Beautify SQL for better readability
- ποΈ SQL syntax highlighting
- π Copy each query result individually
- πΎ Save input/output as JSON
- β Supports multiple queries at once
-
Open
index.htmlin your browser. -
Paste one or more TypeORM logs in the input box. Example:
SELECT * FROM "users" WHERE id = $1 -- PARAMETERS: ["abc-123"] SELECT * FROM "orders" WHERE user_id = $1 AND status = $2 -- PARAMETERS: ["abc-123", "pending"] -
Click Parse.
-
Each parsed & formatted SQL query will appear in a separate box.
-
Click the copy icon to copy individual SQL queries.
SELECT * FROM "users" WHERE id = 'abc-123'
π Limitations
Only supports -- PARAMETERS: [...] format.
Assumes parameter order matches $1, $2, ... in SQL.
Beautifier is regex-based (not a full SQL parser).