All tools

Table converter Turn tables into text tables

Paste CSV or cells copied from a spreadsheet and get a plain-text table that stays aligned wherever you paste it. Number columns are right-aligned automatically.

4 rows × 4 columns · Comma ,
Style
Delimiter
Align
~/output.txt table
$ csv2table --style box
┌────────┬────────────────┬─────┬───────┐
│ name   │ item           │ qty │ price │
├────────┼────────────────┼─────┼───────┤
│ Alex   │ Latte          │   2 │  4.50 │
│ Sam    │ Green tea      │   1 │  3.80 │
│ Jordan │ Iced Americano │   3 │  4.20 │
└────────┴────────────────┴─────┴───────┘
41 × 7

Copies the text as is. In Notepad, choose a monospaced font such as Consolas and turn off word wrap.

CJK characters and emoji count as two columns. Copying for chat apps re-aligns the table for full-width characters.

HOW TO

How to use

  1. Copy cells from Excel or Google Sheets (Ctrl+C) and paste them above, or open a CSV file. The delimiter is detected for you.
  2. Pick a style such as Box, Heavy, +---+ or Markdown, and an alignment. Columns with only numbers are right-aligned automatically.
  3. Choose where you will paste, then copy it or save it as TXT or PNG.

Frequently asked questions

Can I paste straight from Excel?

Yes. Cells copied from Excel or Google Sheets are separated by tabs, which the converter detects. Quoted cells and commas or line breaks inside a cell are read correctly too.

Which style should I use for a GitHub README?

Choose Markdown. GitHub, Notion and Obsidian render it as a real table, with column alignment (:---:, ---:) included. For a code block, Box or +---+ works best.

Why does my table look misaligned?

Plain-text tables need a monospaced font. They line up in code editors, terminals and code blocks in Discord, Slack or GitHub. In proportional fonts, use the PNG instead.

Is my data uploaded?

No. Pasted tables and opened files are converted in your browser and never sent to a server.

MORE TOOLS