SQL Input
JSON Output
Enter SQL data to convert to JSON
Your converted data will appear here
Convert SQL INSERT statements to JSON format
Enter SQL data to convert to JSON
Your converted data will appear here
Step 1 – Paste SQL INSERT statements
Step 2 – Review the conversion
Step 3 – Export JSON data
// Input SQL
INSERT INTO users (id, role) VALUES (1, 'admin');
// Output JSON
[
{
"id": 1,
"role": "admin",
"_table": "users"
}
]Currently supports INSERT INTO statements with a VALUES clause. Each INSERT statement becomes a JSON object with column names as keys and the table name stored in a _table field.
NULL → null, quoted strings → strings, numbers → numbers, TRUE/FALSE → booleans. Complex values are treated as strings and may need additional parsing.
Yes. The converter processes all INSERT statements in the input and creates an array of JSON objects, one for each INSERT statement.
Currently only INSERT statements are supported. CREATE TABLE, SELECT, UPDATE, and DELETE statements are not processed but won't cause errors.
Yes, all data processing happens entirely in your browser. Your data is never sent to any server, ensuring complete privacy and security.