Why convert JSON to PostgreSQL?
Designing a table from an existing payload should not require writing DDL by hand. Paste a
sample JSON document above and get a ready-to-run CREATE TABLE statement for PostgreSQL
in an instant.
How it works
The converter infers a column per key. Strings become TEXT, integers BIGINT, floats
DOUBLE PRECISION, booleans BOOLEAN — and anything nested becomes a JSONB column,
which is more honest than inventing foreign keys from a single sample. Columns are
NOT NULL unless the sample value is null, and the Root name option sets the table name.