SQL Result & SQL Formatter

Paste a result grid from a query tool (tabs or aligned spaces) and get JSON or CSV—or switch to Format SQL to pretty-print a statement for reading. Nothing runs on a database; formatting and conversion are local only.

Clear

Or upload a .txt / .csv file

In your browser · Up to 200 MB (50+ MB may feel slow)

Results

No SQL is executed here. Text stays in your browser and is never uploaded.

How to convert query results and format SQL

For results, copy the grid from your client and paste it here. The tool splits columns by tab (typical from SSMS), pipe, comma, or aligned spaces. For SQL, paste text to add line breaks and indentation for reading—this is not a validator and does not run your query.

Choose a tab

Use Result → CSV / JSON for pasted grids, or Format SQL for pretty-printing statements.

Paste and run

Pick delimiter Auto or explicit; toggle header row. Then copy or download JSON or CSV.

Export

Switch between JSON and CSV previews; download files when you need them on disk.

Frequently asked questions

No. SQL formatting only changes whitespace for readability. Result conversion only parses text you paste—it never connects to a server or executes queries.
Comma mode uses a simple split on commas—it does not understand quoted CSV fields. Prefer Tab or Auto when copying from SQL clients; they usually use tabs between columns.
Some tools align columns with multiple spaces in a monospace font. That mode splits on runs of two or more spaces. It is a heuristic—ragged or uneven grids may need cleanup in the source tool.
Yes. Everything runs in your browser; nothing is uploaded or logged by TinyDataTool.