ASCII Table Generator
Turn CSV, TSV, JSON or a Markdown table into an aligned plain-text table for a README, a code comment or a terminal.
Runs entirely in your browser. Nothing you type is uploaded.
About this tool
Paste a table or drop a file and get a plain-text table whose columns line up in any fixed-width font. Choose ASCII borders, box-drawing characters, or Markdown pipes, and set each column's alignment separately. Column widths are measured in display columns rather than characters, so Japanese, Chinese and other full-width text lines up correctly — the thing most ASCII table generators get wrong.
Questions & answers
- What is an ASCII table?
- It is a table drawn with ordinary text characters — dashes, pipes and plus signs — so it lines up in any fixed-width font. It is the usual way to put a table inside a code comment, a commit message, a log file or terminal output.
- Why is my Japanese or Chinese table misaligned elsewhere?
- Most generators pad columns by counting characters, but a full-width character occupies two columns on screen. This tool measures display width instead, so CJK text lines up. It still needs a fixed-width font that renders those characters at double width.
- Which border style should I use?
- ASCII (+ - |) is safest — it survives any encoding and any terminal. Box drawing looks cleaner but needs a Unicode-capable font. Markdown pipes is the right choice when the table is going into a README or an issue.
- Can I align a numeric column to the right?
- Yes. One alignment control appears per column once a table is parsed, and each can be set to left, center or right independently.