What is ASCII Table Generator?
ASCII Table Generator turns pasted CSV or spreadsheet data into a text table you can drop into code comments, READMEs, emails and chat. Use a monospaced font where you paste the table, or the columns will not line up. Wide characters such as Japanese and most emoji count as two columns.
How It Works
- Enter pasted data separated by commas, tabs, semicolons or pipes in the input fields on this page.
- Press the button to run ASCII Table Generator.
- Read a plain-text table in grid, database, box, rounded, double or simple style in the result area, and copy or download it.
Common Uses
- Putting a table in a code comment or a README.
- Pasting results into an email or chat that has no table support.
- Printing a small table in a terminal.
Good to Know
Copy cells straight from a spreadsheet and paste them in; tab-separated data is detected for you.
How it works
Paste your data (or copy cells from a spreadsheet), say whether the first row is a header, choose a style and alignment, and copy the table.
Styles: grid (+---+ with = under the header), database (like psql), box, rounded, double and simple (dashes only). Cells with line breaks become several lines inside one row.
Worked example
Output was compared character for character with Python's tabulate module (using wcwidth for wide characters) on 240 random tables, in all six styles and four alignments, with and without a header, using accents, Japanese, Korean, full-width letters, emoji, combining marks, empty cells and multi-line cells.
Limits
Text is lined up by how many columns it takes up, so Japanese and most emoji count as two. Some emoji and rare scripts may still be off by one in your editor. Numbers are right-aligned only in the automatic setting. Up to 3 million characters.
Frequently Asked Questions
Why is my table crooked?
Paste it into a monospaced font such as Consolas or Courier. A proportional font cannot line up columns.
Can I get a Markdown table?
Use the Markdown Table Generator or CSV to Markdown Table tools for the pipe format.
Is my data uploaded?
No. It is processed in your browser.
What does ASCII Table Generator do?
ASCII Table Generator turns pasted CSV or spreadsheet data into a text table you can drop into code comments, READMEs, emails and chat. Use a monospaced font where you paste the table, or the columns will not line up. Wide characters such as Japanese and most emoji count as two columns.
What do I need to enter in ASCII Table Generator?
Pasted data separated by commas, tabs, semicolons or pipes.
Is my data private in ASCII Table Generator?
Your data stays in your browser and is not uploaded.
Is MyToolDock ASCII Table Generator free to use?
Yes, MyToolDock ASCII Table Generator is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.