ConverTable

psql console to JSON

ConverTable reads psql output in the aligned, boxed, unaligned and expanded layouts, including values that continue over several lines, and turns the text your \pset null prints into empty cells. JSON is how web APIs, configuration files and JavaScript code exchange structured data, and ConverTable writes an array of objects, an array of arrays, an object of columns or an object keyed by one column, keeps numbers and booleans as JSON values and can minify or indent with 2 spaces, 4 spaces or tabs. The file never leaves your browser.

Input
paste
Output
.json · array of objects by default

Source

No data loaded yet

Editor

The table will appear here

No data

Output

Output format

Preview

The preview appears once data is loaded

© 2026 gosulabs.ai · All conversions run locally in your browser.

v: 0.9.0-ec4f7aad