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 (American Standard Code for Information Interchange) character set. Characters such as +, -, |, and = draw borders and separators. ASCII tables render correctly in any monospaced environment — terminal output, source code comments, plain-text documentation, and email.
Example:
+------+----------+--------+
| id | name | role |
+------+----------+--------+
| 1 | Alice | Dev |
| 2 | Bob | Design |
+------+----------+--------+
JSON (JavaScript Object Notation) is a lightweight data-interchange format defined by RFC 8259. It represents structured data as arrays and key-value objects. APIs, databases, and configuration files commonly output JSON.
| Use Case | Why ASCII Tables Help |
|---|---|
| Terminal / CLI output | Scripts and command-line tools display ASCII tables natively |
| Code documentation | Embed tables inside source-code comments (C++, Python, SQL, Java, etc.) |
| README files | Plain-text tables that render on any platform without Markdown support |
| Email and plain-text reports | Tables display correctly without HTML formatting |
| reStructuredText (reST) | Grid tables and simple tables are part of the Sphinx/reST specification |
| Database documentation | MySQL-style ASCII tables are the standard format for SQL client output |
| Code review comments | Paste tabular data into PR comments without formatting loss |
Manually formatting JSON data into aligned ASCII tables is tedious and error-prone. This tool automates the conversion instantly in your browser.
File Upload: Drag and drop or select a .json file.
Code Editor: Paste or type raw JSON into the built-in code editor with syntax highlighting and real-time validation.
The tool supports 10 border styles across three categories:
| Style | Description | Characters Used |
|---|---|---|
| MySQL | Classic MySQL command-line client output | +, -, | |
| Separated | Rows separated by horizontal lines only | -, | |
| Horizontal | Horizontal dividers between all rows | +, -, | |
| Compact | Minimal borders, no outer frame | -, | |
| Dots | Dot-style separators | : . | |
| Rounded | Rounded corners using + | +, -, | |
| Style | Description |
|---|---|
| Unicode | Box-drawing characters (U+2500 series): ─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ |
| Unicode (Single Line) | Thin single-line box-drawing characters |
| Style | Description |
|---|---|
| Grid | reST grid table with + intersections — compatible with Sphinx |
| Simple | reST simple table with = column delimiters — minimal formatting |
Control column alignment across the entire table:
Left — default; text aligned to the left edge of each column
Center — text centered within each column
Right — text aligned to the right edge of each column
Wrap the entire ASCII table output in programming-language comment syntax. This lets you paste the table directly into source code as documentation.
| Language | Wrapper | Example |
|---|---|---|
| C++ / C# / Java / JS / Rust / Swift | // | // +------+---+ |
| Python / Ruby / Perl / Shell | # | # +------+---+ |
| SQL / Lua / Haskell / Ada | -- | -- +------+---+ |
| MATLAB | % | % +------+---+ |
| BASIC / DOS | REM | REM +------+---+ |
| Fortran IV | C | C +------+---+ |
| Fortran 90 | ! | ! +------+---+ |
| VBA | ' | ' +------+---+ |
| Language | Wrapper | Example |
|---|---|---|
| CSS | /* ... */ | Wraps table in a CSS block comment |
| Docblock (JSDoc/PHPDoc) | /** ... */ | Wraps table in a documentation block |
| HTML / XML | <!-- ... --> | Wraps table in an HTML comment |
| Code Block | ``` ... ``` | Wraps table in Markdown code fences |
All processing runs entirely in your browser. No data is uploaded to any server. The tool works offline after the initial page load.
Choose one of two input methods:
Upload a file: Click "Choose File" and select a .json file from your computer, or drag the file into the upload area.
Paste data: Click "Enter Data" to switch to the code editor. Paste or type your JSON array. The editor validates syntax in real time — a green "Valid JSON" badge confirms correct formatting.
Use the Properties panel on the right:
Border Style: Select from 10 styles — MySQL, Separated, Horizontal, Compact, Dots, Rounded, Unicode, Unicode Single Line, reST Grid, or reST Simple.
Text Alignment: Choose Left, Center, or Right.
Comment Wrapper: Select a programming language to wrap output in line or block comment syntax (or choose "None" for raw output).
Click the Convert button. The ASCII table output appears in the "Output Data" panel.
Click Copy to Clipboard to paste the result into your document or source code.
Premium users can click Download File to save the output.
[
{"language": "Python", "year": 1991, "creator": "Guido van Rossum"},
{"language": "JavaScript", "year": 1995, "creator": "Brendan Eich"},
{"language": "Go", "year": 2009, "creator": "Robert Griesemer"}
]
+------------+------+--------------------+
| language | year | creator |
+------------+------+--------------------+
| Python | 1991 | Guido van Rossum |
| JavaScript | 1995 | Brendan Eich |
| Go | 2009 | Robert Griesemer |
+------------+------+--------------------+
┌────────────┬──────┬────────────────────┐
│ language │ year │ creator │
├────────────┼──────┼────────────────────┤
│ Python │ 1991 │ Guido van Rossum │
│ JavaScript │ 1995 │ Brendan Eich │
│ Go │ 2009 │ Robert Griesemer │
└────────────┴──────┴────────────────────┘
+------------+------+--------------------+
| language | year | creator |
+============+======+====================+
| Python | 1991 | Guido van Rossum |
+------------+------+--------------------+
| JavaScript | 1995 | Brendan Eich |
+------------+------+--------------------+
| Go | 2009 | Robert Griesemer |
+------------+------+--------------------+
# +------------+------+--------------------+
# | language | year | creator |
# +------------+------+--------------------+
# | Python | 1991 | Guido van Rossum |
# | JavaScript | 1995 | Brendan Eich |
# | Go | 2009 | Robert Griesemer |
# +------------+------+--------------------+
// +------------+------+--------------------+
// | language | year | creator |
// +------------+------+--------------------+
// | Python | 1991 | Guido van Rossum |
// | JavaScript | 1995 | Brendan Eich |
// | Go | 2009 | Robert Griesemer |
// +------------+------+--------------------+
/*
+------------+------+--------------------+
| language | year | creator |
+------------+------+--------------------+
| Python | 1991 | Guido van Rossum |
| JavaScript | 1995 | Brendan Eich |
| Go | 2009 | Robert Griesemer |
+------------+------+--------------------+
*/
JSON arrays of objects (most common): [{"key": "value"}, ...]
JSON arrays of arrays: [["value1", "value2"], ...]
Nested JSON objects (flattened to dot-notation keys)
No. All conversion happens locally in your browser using JavaScript. Your data never leaves your device.
10 styles: MySQL, Separated, Horizontal, Compact, Dots, Rounded, Unicode, Unicode Single Line, reStructuredText Grid, and reStructuredText Simple.
MySQL style uses basic ASCII characters (+, -, |). Unicode style uses box-drawing characters (┌ ─ │ ┐ └ ┘ ├ ┤ ┬ ┴ ┼) for smoother, more visually polished borders.
reStructuredText (reST) is the markup language used by Sphinx and the Python documentation ecosystem. The Grid style uses + intersections compatible with reST grid tables. The Simple style uses = delimiters compatible with reST simple tables.
A comment wrapper adds programming-language comment characters to each line (or wraps the entire table in a block comment). This lets you paste ASCII tables directly into source code as inline documentation without manual formatting.
Line comments: C++/C#/Java/JS/Rust/Swift (//), Python/Ruby/Perl/Shell (#), SQL/Lua/Haskell/Ada (--), MATLAB (%), BASIC/DOS (REM), Fortran IV (C), Fortran 90 (!), VBA ('). Block comments: CSS (/* */), JSDoc/PHPDoc (/** */), HTML/XML (<!-- -->), Code Block (```).
Yes. The tool is responsive and works on smartphones and tablets.
The tool processes data entirely in your browser. Files up to 10 MB typically convert without issues on modern hardware.
The current version applies a single alignment (left, center, or right) to all columns. Per-column alignment may be added in a future update.