SQL to JSON

Paste your SQL INSERT statements and get the rows back as a tidy JSON array of objects — quotes, NULLs and numbers handled. Nothing is uploaded.

SQL INSERT statements
Options

This parses INSERT statements — not arbitrary SQL (no SELECT, UPDATE, CREATE, joins or sub-queries).

Everything runs in your browser. No upload, no sign-up.

How it works

STEP 1

Paste your INSERTs

Drop in one or more "INSERT INTO table (cols) VALUES (...);" statements — a dump, an export, or rows you wrote by hand. It is parsed right on your device.

STEP 2

Columns become keys

The column list maps each value tuple into a JSON object. Strings, NULL, numbers and booleans are converted to their real JSON types.

STEP 3

Copy or download

Get a pretty-printed JSON array. Copy it with one click or download a .json file — everything stays on your device.