↧ Expand ↧↥ Collapse ↥
Result (updated automatically as you edit the table)
Copy to clipboard

Text Tables Generator

How to use the text tables generator?

  1. Enter the data. Copy cells from a spreadsheet (Excel, Google Sheets, LibreOffice Calc) or a table on a web page, click a cell and press Ctrl+V: the table grows to fit them. Or click a cell and type: typing replaces its text, while a double click or Enter edits the text that is there (Esc or a click elsewhere ends the edit). Tab and the arrow keys move to the next cell. Add and remove rows and columns with the Row and Column menus, or by right-clicking a cell. You can also import an Excel workbook or a CSV file with File / Import CSV or Excel file.
  2. Format it. Select cells by clicking them, by dragging over them or with Shift and the arrow keys (Ctrl+click adds a cell), then merge them or align their text with the toolbar and the Cell and Column menus.
  3. Copy the table. It appears under the editor as you edit, its columns lined up: click Copy to clipboard and paste it into a text file, a code comment, an e-mail or a forum post.

What does the table look like?

The table is drawn with +, - and |, in which merged cells and cells with several lines of text are possible:

+---------------------------------------+
|                Results                |
+-------------+-------------------------+
|             |        Contestant       |
| Competition +-------+--------+--------+
|             |  John | Andrea | Robert |
+-------------+-------+--------+--------+
| Swimming    |  1:30 |   2:05 |   1:15 |
+-------------+-------+--------+--------+
| Running     | 15:30 |  14:10 |  15:45 |
+-------------+-------+--------+--------+

Use Unicode symbols for table borders draws it with box drawing characters (╔═╦═╗) instead. With Use reStructuredText syntax the header is underlined with =, which makes it a reStructuredText grid table (for Sphinx and Python documentation). The table lines up only in a monospaced font, and only as long as its lines are not wrapped, so keep wide tables out of places that wrap long lines.