Skip to content

ASCII Table Generator

Renders a table as monospaced ASCII, Markdown or box-drawing borders for READMEs and comments.

Turns tab- or comma-separated data into a text table you can paste into a terminal, a README or a code comment. The column widths are measured in terminal cells rather than characters, which is the only way Hangul and CJK line up.

🔒 Runs entirely in your browserasciitableformattext
Style
Align

Data in

Detected

TSV — 4 rows

Table out

Column widths are computed in terminal cells, not characters — Hangul and CJK count as two, combining marks as zero — so 한글 headers line up in a monospace font exactly as they do in a terminal. Paste straight from a spreadsheet (tabs), a CSV export, or an existing Markdown table.

How to use it

  1. Paste the rows

    Copy straight out of a spreadsheet and you get tabs; a CSV export and an existing Markdown table are both read too. The detected format is shown under the box.

  2. Pick the border style

    Box-drawing characters for a terminal, plus-and-dash ASCII where the font might not have them, or Markdown pipes for a README or a GitHub comment.

  3. Set the alignment

    Auto puts numeric columns right and text left, which is what a reader expects. Override it when a column of codes happens to be all digits.

Common questions

Why do my Korean columns line up here but not in my editor?

Because the widths assume a font where Hangul takes exactly two cells, as a terminal does. A proportional font has no such rule and nothing will line up in it; an editor whose monospace font renders CJK at some other width will also drift.

Can it read a Markdown table back in?

Yes — paste one and it is parsed as data, so this is also how you convert a Markdown table into a box-drawn one or realign a table someone has edited by hand.

What about a cell containing a newline?

There is no support for it — a row is a line. A quoted CSV field with an embedded newline will split into two rows. Replace the newlines before pasting, or accept the split.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.