SQL Insert input
Paste your SQL Insert below, then press Convert.
Waiting for input.
Convert SQL Insert to JSON free, right in your browser. Paste your SQL Insert input below and press Convert. Each row becomes a JSON object in a pretty-printed array. No sign-up, and nothing is ever uploaded.
Paste your SQL Insert below, then press Convert.
Waiting for input.
Paste your SQL Insert on the left and press Convert. The tool first parses the SQL Insert (tokenizing each INSERT INTO statement and decoding quoted strings, NULLs and numbers) into an internal table of rows and columns, then writes it out as JSON (pretty-printed with 2-space indentation). If the input cannot be parsed you get a plain-English error instead of a broken file.
People reach for this converter when migrating database dumps or seed data and JSON is needed for APIs and JavaScript apps. Because everything runs locally in your browser, it is also handy for quick one-off migrations without installing database tools or writing throwaway scripts.