SQL 入力
JSON 出力
SQL データを入力して JSON に変換
変換後のデータはここに表示されます
SQL の INSERT 文を JSON 形式に変換します
SQL データを入力して JSON に変換
変換後のデータはここに表示されます
ステップ 1 – SQL INSERT を貼り付ける
ステップ 2 – 変換結果を確認する
ステップ 3 – JSON を書き出す
// 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.