Paste MyBatis log lines (with Preparing/Parameters). Multiple groups are auto-detected. Each group outputs one executable SQL.
MyBatis log input
Executable SQL0 group(s)
MyBatis log SQL restorer. Combines two-line log output (Preparing: line + Parameters: line) into a runnable real SQL. Replaces ? placeholders in parameter order with actual values, correctly handling string quoting, date format, null values, and special-character escaping. Common for MyBatis / MyBatis-Plus slow SQL triage, production bug reproduction, SQL performance testing. All processing runs locally; sensitive DB content does not leave the browser.
Slow SQL triage, production reproduction, SQL perf testing, dynamic SQL review, MyBatis learning. Java backend, DBA, perf engineer. Batch processing, smart placeholder detection, date format normalization, null type detection are the differentiators.