FAQ
overflow

Great Answers to
Questions About Everything

QUESTION

Is there a webapp that can create ASCII-art tables like this one? It doesn't have to use ASCII (it can be Unicode), I meant ASCII in the sense of ASCII-art.

------------------------------------------------
|           | ColA            | ColB           |
------------------------------------------------
| Row1      | CellA1          | CellB1         |
------------------------------------------------
| Row2      | CellA2          | CellB2         |
------------------------------------------------
| Row3      | CellA3          | CellB3         |
------------------------------------------------

This would be useful for sites that don't support proper tables (like StackExchange).

{ asked by Gelatin }

ANSWER

Now there is: Format Text as Table.

I've been meaning to create this utility for a while. I was actually inspired by MySQL's command line utility and the lack of tables on SO. So thanks for reminding me to make it.

And thanks to @Lipis for the Unicode char idea.

Here's an example of the output:

+------+--------+--------+
|      | ColA   | ColB   |
+------+--------+--------+
| Row1 | CellA1 | CellB1 |
| Row2 | CellA2 | CellB2 |
| Row3 | CellA3 | CellB3 |
+------+--------+--------+

{ answered by Senseful }
Tweet