ConverTable

SQL to Ruby

ConverTable reads the rows of INSERT … VALUES statements from a dump or a pasted script, takes column names from CREATE TABLE when an INSERT has none and lists every table so you can pick one; dumps that load data with COPY … FROM stdin are not read. 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
.sql
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