ConverTable

psql console to Ruby

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. Ruby code can hold a table in a local variable, ready for a script or a test, and ConverTable writes an array of hashes or of arrays assigned to a variable you name, with string or symbol keys, numbers and booleans as Ruby values and empty cells as nil or empty strings. The file never leaves your browser.

Input
paste
Output
.rb · array assigned to data

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