ASCII Table Generator (Text Table Maker)
Free ASCII table generator and text table maker. Turn rows into box-drawing or plain ASCII tables for READMEs, code comments and terminal output.
┌─────────┬───────────────────────────┬─────────┐ │ Command │ Description │ Default │ ├─────────┼───────────────────────────┼─────────┤ │ ls │ List directory contents │ . │ │ grep │ Search text with patterns │ - │ │ tar │ Archive files │ gzip │ └─────────┴───────────────────────────┴─────────┘
What Is an ASCII Table Maker?
An ASCII table maker turns rows of plain text into a table drawn with characters, so it can live in a README, a code comment, a commit message, a terminal log or an email where no HTML or markdown renderer is available. Columns are padded to the widest value, and borders are drawn with either Unicode box-drawing characters or the classic +, - and | of plain ASCII.
This ASCII table generator takes CSV, TSV, markdown tables or pipe-separated lines as input, so you can paste straight from a spreadsheet or a shell command and get a text table without reformatting first.
How to Turn Text into a Table
- Paste your rows in the left pane. Commas, tabs or pipes can separate the cells; the delimiter is detected.
- Choose a style: single, double or rounded box drawing, plain ASCII, markdown-like or compact.
- Set the alignment. From input keeps the colons of a pasted markdown table; Left, Center or Right applies to every column.
- Adjust the cell padding and switch the header separator off when the first line is not a header.
- Copy the text table or download table.txt. Paste it into a monospace context so the columns line up.
Table Styles Reference
Each style uses a different set of border characters. All of them keep the same column widths:
| Style | Corner / line characters | Works in |
|---|---|---|
| Single | ┌ ─ ┬ ┐ │ ├ ┼ ┤ └ ┴ ┘ | Terminals, editors, GitHub code blocks |
| Double | ╔ ═ ╦ ╗ ║ ╠ ╬ ╣ ╚ ╩ ╝ | Terminals, CLI banners |
| Rounded | ╭ ─ ┬ ╮ │ ├ ┼ ┤ ╰ ┴ ╯ | Modern terminals and fonts |
| ASCII | + - + + | + + + + + + | Anywhere, including 7-bit email and legacy systems |
| Markdown-like | | --- | :---: | | Also renders as a real table in markdown |
| Compact | two spaces, dashes under header | Docstrings, help text, changelogs |
Where Text Tables Are Useful
Text to table conversion pays off wherever formatting is not rendered. Command-line tools print box-drawn tables for status output; READMEs use them inside fenced code blocks to show sample output exactly as a user will see it; Python and Go docstrings use compact tables to document parameters; and plain-text email or ticket systems accept the ASCII style when nothing else survives. Because widths are fixed in the text, the table looks the same to every reader as long as the font is monospace.
Choosing Between Box Drawing and Plain ASCII
Use box-drawing styles when you control the destination and know it is UTF-8: a terminal, a modern editor or a code block on GitHub. Use plain ASCII when the text may pass through systems that mangle Unicode, or when it must be typed back by hand. The markdown-like style is a good compromise for READMEs, because it reads as a table in the raw file and renders as one when the file is displayed. Whatever you pick, this table maker keeps the same data and alignment, so switching styles later is one click.
Frequently Asked Questions
What input does the ASCII table generator accept?
Paste CSV, TSV, a markdown table or lines with cells separated by | characters. The delimiter is detected automatically, the first line is treated as the header, and you can untick First row is header when every line is data.
Why do the box-drawing characters look broken in my editor?
The single, double and rounded styles use Unicode box-drawing characters (U+2500 block), which need a UTF-8 file and a font that includes them. Almost every modern terminal and editor renders them; for legacy systems or email, choose the ASCII style, which uses only +, - and |.
Does the table maker handle wide characters such as Chinese or emoji?
Yes. Column widths are computed from display width, so CJK characters and emoji count as two cells and the borders stay aligned in a monospace font.
Can I use the output in a code comment or docstring?
Yes, that is one of the main uses. Pick a cell padding of 1 and the ASCII style so the table survives any encoding, then paste it inside the comment block. The compact style, with no borders, is the smallest option for docstrings.
Is my data uploaded?
No. The text table generator runs entirely in your browser, and nothing you paste leaves your device.