Sql To Json
Parse simple SQL INSERT INTO statements into JSON rows.
SQL input
JSON output
About the Sql To Json
Paste one or more INSERT INTO statements and extract the column values into a clean JSON array of row objects — handy for turning database seed scripts into fixtures.
Examples
Single insert
INSERT INTO users (id, name) VALUES (1, 'Ada');Output
[{"id":1,"name":"Ada"}]Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Csv To Json
Converters
Convert between CSV and JSON with delimiter and header options.
INI to JSON Converter
Converters
Convert INI config files to JSON and back.
Xml Json Converter
Converters
Convert XML to JSON and JSON to XML using the browser's DOMParser.
Yaml Json Converter
Converters
Convert YAML to JSON and JSON to YAML.
Csv To Markdown Table
Converters
Convert CSV into a Markdown or HTML table with alignment options.
Markdown To Html
Converters
Convert Markdown to HTML with a live preview.
Frequently asked questions
Read more
- Debugging slow SQL queries: an index primer
Reading EXPLAIN output, understanding why an index gets ignored, and the indexing patterns that fix most slow queries.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser