Share a SQL query result in Slack
Query results pasted from a terminal lose their alignment in Slack. Paste MySQL or psql output, box-drawing tables or space-aligned CLI output (docker, kubectl…) and get a proper table.
Your table will appear here, just like in Slack.
How to convert SQL result for Slack
- Copy the query result from your terminal or SQL client.
- Paste it in the converter: borders and “(N rows)” footers are removed.
- Click “Copy for Slack” and paste in Slack.
Example
+----+---------+--------+
| id | name | orders |
+----+---------+--------+
| 1 | Alice | 12 |
| 2 | Bob | 7 |
| 3 | Chloé | 23 |
+----+---------+--------+
3 rows in set (0.01 sec)SQL result to Slack: FAQ
Which SQL clients are supported?
MySQL / MariaDB (+---+ borders), PostgreSQL psql, SQLite box mode, DuckDB and any tool printing pipe or box-drawing tables.
Can I paste docker or kubectl output?
Yes. Columns aligned with spaces are detected; you can also force “Space-aligned columns” in the format list.
How do I make a table in Slack?
Slack displays a table when you paste tab-separated values (TSV), the format spreadsheets put in the clipboard. Paste your data in TableToSlack, click “Copy for Slack” and paste in your message: Slack shows a proper table.
Why does my Markdown or CSV table look broken in Slack?
Slack does not support Markdown tables, and pasted CSV stays plain text. Only tab-separated content becomes a table. TableToSlack converts your table to that format.
Is my data sent to a server?
No. All the conversion happens in your browser with JavaScript. Nothing is uploaded or stored, and the site has no analytics.
Other formats
CSV → Slack
Comma or semicolon separated, quoted cells, exports from any tool.
Excel → Slack
Copy cells or drop .xlsx / .xls files. Displayed values are kept.
Google Sheets → Slack
Copy a range and paste it. Line breaks and merged cells handled.
Markdown → Slack
GitHub-style pipe tables from AI assistants, READMEs and wikis.
JSON → Slack
Arrays of objects, API responses and JSON Lines become rows and columns.
HTML → Slack
Tables from web pages, Notion, Confluence, emails or raw HTML code.
TSV → Slack
Clean, rectangular tab-separated output that pastes as a table.