Convert psql, MySQL, sqlcmd, or tab-separated query output into JSON. Paste a result, choose object or array output, and copy or download the parsed data.
Example
Input
id | name
----+------
1 | Ada
Output
[
{ "id": 1, "name": "Ada" }
]Limits and behavior
- Table layouts are detected from their header and ruler; ambiguous fixed-width output may need tab-separated input.
- Empty psql cells cannot be distinguished from empty strings unless you enable empty-to-null conversion.
- Duplicate column names receive a numeric suffix.