Examples
Turn quoted address rows into a Markdown table
Quoted commas belong to a cell, rather than starting a new column.
Input
Name,Age,Address
"Doe, John",30,"New York, NY"
"Smith, Jane",25,"Los Angeles, CA"Expected answer
| Name | Age | Address |
| ----------- | --- | --------------- |
| Doe, John | 30 | New York, NY |
| Smith, Jane | 25 | Los Angeles, CA |
- Cell delimiters
,- Row delimiters
- Make first row header
On- Format
Markdown
Make an ASCII comparison of inner-planet moon counts
Input
Planet Moons
Mercury 0
Venus 0
Earth 1
Mars 2Expected answer
+---------+-------+
| Planet | Moons |
+---------+-------+
| Mercury | 0 |
| Venus | 0 |
| Earth | 1 |
| Mars | 2 |
+---------+-------+
- Cell delimiters
- Row delimiters
- Make first row header
On- Format
ASCII
Create an HTML table from pipe-separated race splits
Input
Leg|Distance km|Minutes
Swim|1.5|30
Bike|40|80
Run|10|50Expected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><thead class='thead-light'><tr><th>Leg</th><th>Distance km</th><th>Minutes</th></tr></thead><tbody><tr><td>Swim</td><td>1.5</td><td>30</td></tr><tr><td>Bike</td><td>40</td><td>80</td></tr><tr><td>Run</td><td>10</td><td>50</td></tr></tbody></table>- Cell delimiters
|- Row delimiters
- Make first row header
On- Format
HTML
Keep a quoted line break inside a notes cell
The line break inside the quotation marks remains inside one cell.
Input
ID,Note
1,"First line
Second line"
2,ReadyExpected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><thead class='thead-light'><tr><th>ID</th><th>Note</th></tr></thead><tbody><tr><td>1</td><td>First line
Second line</td></tr><tr><td>2</td><td>Ready</td></tr></tbody></table>- Cell delimiters
,- Row delimiters
- Make first row header
On- Format
HTML
Render a headerless semicolon log as an ASCII table
Input
200;GET;/health
404;GET;/missingExpected answer
+-----+-----+----------+
| 200 | GET | /health |
| 404 | GET | /missing |
+-----+-----+----------+
- Cell delimiters
;- Row delimiters
- Make first row header
Off- Format
ASCII
HTML cells escape active markup
Input
<img src=x onerror=alert(1)>,safeExpected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><tbody><tr><td><img src=x onerror=alert(1)></td><td>safe</td></tr></tbody></table>- Cell delimiters
,- Row delimiters
\r\n- Make first row header
Off- Format
HTML
Supports the CSV (Comma Separated Values) file format by default. Change the cell delimiter argument to \t to support TSV (Tab Separated Values) or | for PSV (Pipe Separated Values). You can enter as many delimiters as you like. Each character will be treat as a separate possible delimiter.
Format reference: To Table background and specification
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| Cell delimiters | "," | Escape sequences such as \n, \r and \t are supported |
| Row delimiters | "\\r\\n" | Escape sequences such as \n, \r and \t are supported |
| Make first row header | false | On or off |
| Format | ASCII | ASCII, HTML, Markdown |