表としてエンコード

対応する標準に従って “表としてエンコード” で入力をエンコードします。

入力: テキスト結果: サンドボックスでプレビューする HTML

テキスト入力

ツールの設定

使用例

Turn quoted address rows into a Markdown table

Quoted commas belong to a cell, rather than starting a new column.

入力

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 |
セル区切り文字
,
行区切り文字
最初の行をヘッダーにする
On
形式
Markdown
Make an ASCII comparison of inner-planet moon counts

入力

Planet	Moons
Mercury	0
Venus	0
Earth	1
Mars	2

Expected answer

+---------+-------+
| Planet  | Moons |
+---------+-------+
| Mercury | 0     |
| Venus   | 0     |
| Earth   | 1     |
| Mars    | 2     |
+---------+-------+
セル区切り文字
行区切り文字
最初の行をヘッダーにする
On
形式
ASCII
Create an HTML table from pipe-separated race splits

入力

Leg|Distance km|Minutes
Swim|1.5|30
Bike|40|80
Run|10|50

Expected 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>
セル区切り文字
|
行区切り文字
最初の行をヘッダーにする
On
形式
HTML
Keep a quoted line break inside a notes cell

The line break inside the quotation marks remains inside one cell.

入力

ID,Note
1,"First line
Second line"
2,Ready

Expected 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>
セル区切り文字
,
行区切り文字
最初の行をヘッダーにする
On
形式
HTML
Render a headerless semicolon log as an ASCII table

入力

200;GET;/health
404;GET;/missing

Expected answer

+-----+-----+----------+
| 200 | GET | /health  |
| 404 | GET | /missing |
+-----+-----+----------+
セル区切り文字
;
行区切り文字
最初の行をヘッダーにする
Off
形式
ASCII
HTML cells escape active markup

入力

<img src=x onerror=alert(1)>,safe

Expected answer

<table class='table table-hover table-sm table-bordered table-nonfluid'><tbody><tr><td>&lt;img src=x onerror=alert(1)&gt;</td><td>safe</td></tr></tbody></table>
セル区切り文字
,
行区切り文字
\r\n
最初の行をヘッダーにする
Off
形式
HTML

パラメーター

パラメーター既定値入力と選択肢
セル区切り文字","\n、\r、\t などのエスケープシーケンスに対応
行区切り文字"\\r\\n"\n、\r、\t などのエスケープシーケンスに対応
最初の行をヘッダーにするfalseオンまたはオフ
形式ASCIIASCII, HTML, マークダウン

関連ツール

ユーティリティ

操作の参考資料

元の技術文書を見る (English)