Skip to main content

CSV to ASCII Table Converter

Convert CSV data to a plain-text ASCII table

Convert CSV data into a plain-text ASCII table with aligned columns and drawn borders. It renders correctly anywhere a monospaced font is used: a terminal, a code comment, a plain-text README, a commit message, or a chat message in a code block.

Column widths are calculated from the longest value in each column, so borders line up regardless of how uneven the data is. That alignment is the entire point — an ASCII table with ragged columns is harder to read than the raw CSV.

Line breaks inside cells are flattened to spaces, since a table row has to occupy a single line for the alignment to hold.

Files stay on this deviceRuns entirely in your browserFree — no signup

Drop your file here or browse from your device

Accepts CSV, TSV, TXT. Maximum input: 10 MiB. Files above this hard limit are rejected before local processing.

How to Convert

  1. Upload your CSV file or paste CSV data
  2. Review the aligned ASCII table
  3. Copy the text
  4. Paste it into a terminal, comment, README, or chat message

Features

  • Column widths sized to the longest value in each column
  • Drawn borders above, below, and between header and data
  • Header row separated from the data
  • Flattens line breaks within cells to keep rows aligned
  • Copy as plain text or download a .txt file
  • Runs entirely in your browser — no upload

Use Cases

  • Include a data table in a code comment or docstring
  • Add a readable table to a plain-text README or changelog
  • Paste results into a commit message or issue in plain text
  • Share tabular output in a chat tool using a code block
  • Produce terminal-friendly output from a spreadsheet

Frequently Asked Questions

Why does my table look misaligned?

Almost always the font. ASCII table alignment depends on every character occupying the same width, so it only lines up in a monospaced font — use a code block rather than ordinary prose formatting.

How are column widths decided?

Each column is measured against its longest value, including the header, so nothing is truncated and the borders line up.

What happens to line breaks inside a cell?

They become spaces. A row must stay on one line for the column alignment to survive.

Will a wide table wrap badly?

A table wider than the surrounding view will wrap and lose its alignment. Reduce the number of columns, or shorten long values, before generating it for a narrow context.

Can I use this in a Markdown file?

Yes, inside a fenced code block. For a rendered Markdown table instead, use the CSV to Markdown converter.

Is my data uploaded?

No. The conversion runs in your browser and the file contents are not sent to the app server.