테이블로 인코딩

는 해당 표준에 따라 “테이블로 인코딩”로 입력을 인코딩합니다.

입력: 텍스트결과: 샌드박스에서 미리 보는 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)