ASCII Box & Table Generator
Turn CSV or tab-separated rows into an aligned ASCII table, drawn with Unicode box-drawing characters (┌─┬─┐) or plain ASCII (+, -, |). Auto-detects the delimiter and pads every column to a common width.
Input
Output
Guides
What this tool does
The ASCII Box & Table Generator turns plain CSV or tab-separated rows into a neatly aligned text table, bordered with either Unicode box-drawing characters (┌─┬─┐, │, ├─┼─┤, └─┴─┘) or plain ASCII (+, -, |). Paste tabular data and get back a table you can drop straight into a code comment, a terminal banner, a README, a chat message, or a plain-text email — anywhere Markdown or HTML tables aren't rendered.
Every column is padded to the width of its widest cell, so columns line up even when values are different lengths. The first row is always treated as the header and gets its own separator line beneath it.
How to use it
- Paste your data into Input Data (CSV or TSV) — one row per line, with values separated by commas or tabs.
- Choose a Delimiter: leave it on Auto-detect and the tool counts commas versus tabs on the first line to guess, or force Comma or Tab explicitly.
- Pick a Border Style: Unicode for crisp box-drawing characters (best in terminals, code editors, and most modern chat apps), or ASCII for maximum compatibility (renders correctly in any font, any plain-text context, and older systems).
The table regenerates automatically as you type or change an option — there's no button to click.
Example
Input:
Name,Age
Alice,30
Bob,7
Unicode output:
┌───────┬─────┐
│ Name │ Age │
├───────┼─────┤
│ Alice │ 30 │
│ Bob │ 7 │
└───────┴─────┘
FAQ
What if my rows have different numbers of columns? Short rows are padded with empty cells up to the width of the longest row, so the table still renders as a clean rectangle instead of breaking.
Can I wrap quoted values that contain a comma?
Yes — wrap a field in double quotes ("Doe, John",42) and the comma inside it is kept as part of the value rather than treated as a new column. A doubled quote ("") inside a quoted field becomes a literal ".
Why does alignment look off with emoji or CJK text? Column widths are measured in UTF-16 code units. That's accurate for plain Latin/European text, but emoji, combining marks, and "wide" East Asian characters can occupy more visual space than code units, which may shift alignment by a column or two.
Which border style should I use?
Unicode box-drawing characters look sharper and are supported almost everywhere text is monospaced (terminals, code blocks, Slack, Discord). Plain ASCII (+, -, |) is the safer choice for legacy systems, plain-text emails, or fonts that don't include box-drawing glyphs.
Does this create HTML or Markdown tables? No — the output is a fixed-width plain-text table meant for monospace display, not a Markdown or HTML table.
Privacy
This tool runs entirely in your browser. Your data is never uploaded to a server.