Coordinates Converter
DMS to decimal degrees and back — plus UTM, in bulk, with map links.
INSERT statements into JSON records — typed values, several tables, or NDJSON.
Drop a .sql dump here, or click to choose one
Converted on your device — the file is never uploaded
The SQL to JSON Converter turns INSERT statements into JSON records with their types intact: numbers stay numbers, NULL becomes null, and oversized integers are kept as strings so no digit changes.
Seed data, test fixtures and quick migrations all need the contents of a database as JSON, and the only copy you have is a dump full of INSERT statements. Writing a one-off parser for it is a classic waste of an hour.
Paste the dump and take JSON. Each row becomes an object keyed by its column names, numbers stay numbers, NULL becomes null, and integers too large for JavaScript to hold exactly — snowflake IDs, bigint keys — are kept as strings so not a digit changes. Several tables can be kept apart under their own keys, a single table exports as a plain array, and NDJSON writes one record per line for BigQuery, ClickHouse or a log pipeline. MySQL and PostgreSQL escaping are both understood, including pg_dump COPY blocks.
Numbers, NULL and quoted strings come through as the right JSON types.
IDs beyond JavaScript’s exact range are kept as strings rather than rounded.
Keep each table under its own key, or export just the one you need.
One record per line for BigQuery, ClickHouse and log pipelines.
Columns of nothing but 0 and 1 can become true and false.
INSERT statements, a full mysqldump, or a pg_dump with COPY blocks.
An array of rows, an object keyed by table name, or NDJSON.
Read 0 and 1 as booleans, or leave NULL columns out of each row.
Indented for reading, minified for code.
JavaScript cannot hold an integer beyond about 9 quadrillion exactly. Anything larger is kept as a string so the value stays correct — silently rounding an ID would be worse.
Yes. DDL, SET statements and LOCK TABLES are skipped, CREATE TABLE is used only for column names, and every INSERT is collected under its table.
Tick the booleans option. A column containing nothing but 0 and 1 — how MySQL stores a tinyint(1) boolean — is then converted, and other numeric columns are left alone.
Newline-delimited JSON: one object per line, which streaming loaders such as BigQuery and ClickHouse ingest directly and which can be processed line by line without parsing the whole file.
What people who use the SQL to JSON Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the SQL to JSON Converter. It takes half a minute and no account.
Write the first reviewDMS to decimal degrees and back — plus UTM, in bulk, with map links.
Move between percentages, decimals and fractions in any direction.
Turn a stored integer back into an IP address — IPv4 and IPv6, both directions.
Convert glucose between mg/dL and mmol/L, and HbA1c between % and mmol/mol.
Turn AM/PM times into 24-hour military time — one time or a whole schedule.
Turn a photo into a GIF, with the palette built from the image itself.
Turn subtitles into a readable transcript — no numbers, no timestamps.
Pull the rows out of a .sql dump — INSERT statements or pg_dump COPY — straight to CSV.