ASCII & Plain Text Table Generator

Turn the cells in the grid into an aligned text table for a README, code comment or terminal. Choose ASCII or Unicode characters for the borders.

How to create your table

  1. Type or paste your data in the grid above, then add the borders you want.
  2. In the Plain Text format settings, choose ASCII (+--+) or Unicode box-drawing borders.
  3. Copy the output into a text editor with a monospaced font. Set a maximum line or cell width if you need the table to wrap.

Example output

+--------+-----+
| Item   | Qty |
+--------+-----+
| Widget | 4   |
| Gadget | 2   |
+--------+-----+

Frequently asked questions

What's the difference between ASCII and Unicode tables?
ASCII tables use characters such as +, - and | for borders. Unicode tables use box-drawing characters. You can switch between them in the Plain Text format settings.
Why does my pasted table look misaligned?
Use a monospaced font to keep the columns aligned. In Markdown, put the table in a fenced code block to preserve its spacing.
Can I limit the table width?
Set Max line width or Max cell width in the format settings. Long cell text wraps to fit the limit you choose.

Loading the editor…