SQL Script to JSON
Convert SQL to JSON offline. Review decoded rows from a MySQL, MariaDB, or PostgreSQL dump, choose the tables you want, and download one JSON file.
Conversion Progress
SQL Source
UTF-8 plain-text dumps up to 32 MiB.
JSON Output
Each selected table becomes a JSON key with an array of records in source order.
Supported SQL and JSON Values
Use ordinary table definitions, literal INSERT rows, or default PostgreSQL text COPY FROM STDIN. Include every column in each row. SQL commands, expressions and defaults are never executed.
SQL NULL becomes null. Safe integers are numbers. Large integers, decimal and floating-point literals, and hexadecimal bytes are strings. Text keeps its original Unicode and leading zeros after SQL escape decoding.
Review Records
This table has no rows.