Developer Tools
ASCII Table Generator
Turn CSV, TSV, or pasted cells into a clean monospace text table with box-drawing or ASCII borders. For code comments, README, CLI, and email.
ASCII table generator
Table options
Detected comma separated values from the first row.
Unicode and rounded use box-drawing characters. ASCII uses only +, -, and | for the strictest plain text.
Right alignment is the usual choice for tables of numbers.
Spaces added on each side of every cell, inside the borders.
ASCII table
┌────────────────────┬────────────────────┬────────────────┐ │ Name │ Role │ Country │ ├────────────────────┼────────────────────┼────────────────┤ │ Ada Lovelace │ Mathematician │ United Kingdom │ │ Grace Hopper │ Computer Scientist │ United States │ │ Hamilton, Margaret │ Software Engineer │ United States │ └────────────────────┴────────────────────┴────────────────┘
Table shape
Rows
4
Columns
3
Output lines
7
Output chars
426
Where a text table is useful
- In a code comment or docstring, where a Markdown table would not render and a real table makes a constants list or a state machine readable.
- In a README or a wiki page that shows raw text, and in a plain-text email where rich formatting is stripped.
- In a terminal session, a log line, or a CLI help screen, where the box-drawing characters line up in any monospace font.
- In a git commit body or an issue description, to summarize results without depending on a renderer.
How the columns line up
- Each column is padded to the widest cell in that column, measured in monospace display columns, not character count.
- Wide characters such as CJK text and most emoji count as two columns, and combining accent marks count as none, so the borders stay straight.
- Tabs inside a cell are expanded to spaces, and quoted fields keep an embedded comma or line break as data.
- For a GitHub-style pipe table instead of a drawn box, use the Markdown table generator. To read a CSV file in a grid, use the CSV viewer.
How to use
- Paste your data as CSV, TSV, semicolon or pipe separated rows, or copy a block of cells out of a spreadsheet, or load one of the samples.
- Leave the input format on auto-detect, or pick the delimiter yourself if the guess is wrong.
- Choose a border style (Unicode box, rounded, strict ASCII, Markdown grid, or spaces only), the column alignment, and the cell padding.
- Toggle First row is a header to draw a separator rule under the heading, and Trim cell whitespace to clean up padded fields.
- Read the generated table in the output panel and copy it with the copy button to paste into a comment, a README, the terminal, or an email.
About this tool
ASCII Table Generator turns rows of delimited data into a clean, copy-ready monospace text table drawn with border characters, the kind you can paste straight into a code comment, a README, a terminal session, a plain-text email, or a git commit body and have it still line up. It is the opposite job to a Markdown table tool. A Markdown table writes pipe rows such as a single bar, a, a bar, b, a bar that a Markdown renderer turns into a grid; this tool draws the grid itself, including the horizontal rules and the corners, so the result reads as a table even in places where nothing renders Markdown, such as source code, a log line, or a CLI help screen. Paste your data as CSV, as tab-separated values, as semicolon or pipe separated rows, or simply copy a block of cells out of a spreadsheet, and the tool auto-detects the delimiter from the first row, or you can choose it yourself. The input is read with a proper RFC 4180 quote-aware parser, so a comma or a line break inside a double-quoted field is kept as data and does not split a column, and a doubled quote inside a quoted field is decoded correctly. You control how the table looks. Pick a border style: a Unicode box using the light box-drawing characters, a rounded variant with curved corners, a strict ASCII style that uses only the plus, hyphen, and pipe characters for the most portable plain text, a Markdown-grid style, or a spaces-only style with no borders at all for the lightest possible columns. Choose left, center, or right alignment for every column, with right alignment being the usual choice for tables of numbers, set how much padding sits inside each cell, and toggle whether the first row is treated as a header, which draws a separator rule beneath it. A key detail that makes the output actually align is that column widths are measured in monospace display columns rather than character count: a wide character such as CJK text or most emoji counts as two columns and a combining accent mark counts as none, and tabs inside a cell are expanded to spaces, so the borders stay straight where a naive length-based table would come out crooked. Rows that have fewer fields than the widest row are padded with empty cells so the table stays rectangular and the right border does not jump, and the tool tells you when it has done this so you can check the delimiter. The result is shown in a scrollable monospace panel with a one-click copy button, alongside a small summary of the row count, the column count, and the size of the generated text. Everything runs locally in your browser with native string handling, so the data you paste is never uploaded, logged, or stored.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Markdown Table Generator
Editable grid, column alignment, paste from spreadsheet, live preview.
Open tool
DeveloperMarkdown Table Formatter
Realigns GFM pipe tables in source view with per-column alignment.
Open tool
ConverterCSV Viewer
View any CSV as a sortable, filterable, paginated table.
Open tool
ConverterCSV to Markdown Table Converter
Turn CSV or TSV into a clean Markdown pipe table with alignment and a live preview.
Open tool
DeveloperASCII Table
Searchable ASCII reference plus a two-way text-to-code converter.
Open tool