Convert your SQL table or database export to JSON or Javascript.

1) Copy/paste or upload your SQL export to convert it. 2) Convert to JSON or Javascript (one variable is created per table). 3) Copy and paste back to your computer. 4) Save your result for later or for sharing.

Ctrl + A then Ctrl + C to copy to clipboard.

About SQL to JSON

  • Works by detecting CREATE TABLE and INSERT INTO statements, in order to create an object representation of the tables.

Change Log

  • Sep 4, 2017 Parsing bug fix: GitHub Issue #22.
  • Sep 29, 2016 Bug fix GitHub Issue #11 - support multile values in single-line INSERT INTO statement.
  • Jan 12, 2014 Initial release.


Code available on Github. Report bugs or ask for improvements either through Github issues or by writing a Disqus comment.