Toolibra

SQL to JSON

Get clean JSON with real numbers, true/false and null, ready for APIs, JavaScript and databases. SQL INSERT statements add rows to a database table; dumps from MySQL, PostgreSQL, SQL Server and SQLite are supported.

SQL input

JSON output

Indent

🔒 Your files are processed on your device and are never uploaded.

How to use

  1. 1Paste your SQL data, or open a .sql file. You can also try the sample.
  2. 2Check the preview and adjust the options if you need.
  3. 3Copy the JSON or download it as a file.

Frequently asked questions

How do I convert SQL to JSON?

Paste your SQL data, or open a .sql file. You can also try the sample. The JSON result appears instantly; then copy it or download it.

Is my data uploaded?

No. The conversion runs inside your browser, so your data never leaves your device. It works with large files too.

Which SQL is supported?

INSERT INTO … VALUES statements, with one or many rows, from MySQL, PostgreSQL, SQL Server and SQLite dumps. Column names come from the INSERT or from a CREATE TABLE in the same file. Several tables are kept apart.

More free tools