Go to Sign up
Note: Your files never leave your device. We don't upload, transfer, or store your data.
|
|
|
|
|---|---|---|
|
|
|
An ASCII table is a text-based representation of tabular data using characters from the ASCII character set — pipes (|), dashes (-), plus signs (+), and similar symbols — to draw borders and dividers. ASCII tables render correctly in any plain-text environment: terminals, source code comments, README files, emails, and documentation.
Example (MySQL style):
+--------+-----+--------+
| Name | Age | City |
+--------+-----+--------+
| Alice | 30 | Berlin |
| Bob | 25 | Tokyo |
+--------+-----+--------+
A CSV to ASCII converter transforms comma-separated or tab-separated data into formatted plain-text tables. Instead of manually aligning columns and drawing borders, you paste your data and select a visual style.
This is useful when you need to:
Embed tables in source code comments (Python, SQL, Java, C#, etc.)
Add formatted data to terminal output or CLI applications
Include tables in plain-text emails
Write reStructuredText documentation
Generate text-based diagrams for README files
The converter offers 10 border styles across three categories.
These use only standard ASCII characters (7-bit), making them safe for any terminal or text file.
| Style | Characters Used | Best For |
|---|---|---|
| MySQL | +, -, | | Database documentation, technical docs |
| Separated | |, - | Lightweight tables with visible columns |
| Horizontal | -, | | Minimal horizontal-line tables |
| Compact | | only | Space-constrained output |
| Dots | . | Retro/monospace aesthetics |
| Rounded | /, | Styled borders with rounded corners |
These use Unicode box-drawing characters for cleaner visual output. Best for modern terminals, markdown renderers, and documents that support Unicode.
| Style | Characters Used | Best For |
|---|---|---|
| Unicode | ┌, ─, │, ┐, etc. | Clean modern tables |
| Unicode (single line) | ┌, ─, │ | Thin-line variant |
Native table formats for reStructuredText (RST) documentation, used by Sphinx, Python docs, and many open-source projects.
| Style | Format | Best For |
|---|---|---|
| Grid | Full grid with + intersections | Complex RST tables |
| Simple | = underlines | Simple RST tables |
The comment wrapper prefixes each line of the output table with a language-specific comment character. This lets you paste the table directly into source code as a comment.
| Language | Comment Prefix | Example |
|---|---|---|
| C++ / C# / Java / JavaScript | // | // +------+---+ |
| Python / R / Ruby | # | # +------+---+ |
| SQL / Lua | -- | -- +------+---+ |
| MATLAB | % | % +------+---+ |
| Docblock | * | * +------+---+ |
| VBA | ' | ' +------+---+ |
| BASIC | REM | REM +------+---+ |
| Fortran 90 | ! | ! +------+---+ |
| Style | Wrapping | Example |
|---|---|---|
| CSS / JS block | /* ... */ | Wraps entire table in block comment |
| HTML / XML | <!-- ... --> | Wraps entire table in HTML comment |
| Code block | ``` ... ``` | Wraps entire table in markdown code fence |
Toggle Row Separators to insert horizontal separator lines between every data row (not just between header and body). This improves readability for wide tables.
Set column alignment to Left, Center, or Right. All columns in the table use the same alignment. Center alignment pads content equally on both sides; right alignment left-pads values, useful for numeric data.
After uploading your CSV or TSV file, the built-in editor lets you:
Add, delete, and reorder rows and columns
Transpose rows to columns
Remove empty rows and duplicate rows
Apply case transformations (UPPERCASE, lowercase, Capitalize)
Find and replace values (with regex support)
All processing happens in your browser. Your CSV data is never uploaded to any server.
Drag and drop a .csv or .tsv file onto the upload area, or click to browse. Alternatively, click Enter Data to type values directly into the table editor.
Use the toolbar to modify your data. Insert or remove rows and columns, transpose the table, deduplicate rows, or apply bulk case changes.
In the Properties panel, select a border style from the dropdown. Options range from ASCII MySQL-style to Unicode box-drawing to reStructuredText grid tables.
Row Separators — toggle on to add lines between each row
Comment Wrapper — select a language to prefix each output line with the appropriate comment character
Text Alignment — choose Left, Center, or Right
Click Convert. The formatted ASCII table appears in the Output Data panel.
Click Copy to Clipboard to paste the result into your code or documentation, or use Download File to save it.
Source code documentation — Embed data tables as comments in Python, SQL, Java, C#, or MATLAB files
Terminal/CLI output — Format tabular data for console applications
Plain-text emails — Include tables in emails without HTML formatting
reStructuredText docs — Generate RST tables for Sphinx-based documentation
README files — Add ASCII tables to project READMEs that render in any viewer
Database reference — Document table schemas in MySQL-style formatting
Pull request descriptions — Paste formatted comparison tables into PR comments