📄 Markdown 表格转 CSVMarkdown Table to CSV
把 Markdown(GitHub 风格)表格转换成 CSV:跳过对齐行,\| 转义的竖线留在单元格里,空行保留,需要时自动加引号。本地处理。Turn a Markdown (GitHub-style) table into CSV. The alignment row is skipped, pipes escaped as \| stay inside the cell, empty rows are kept and cells are quoted when needed. Runs locally.
使用说明与常见问题How-to & FAQ
「Markdown 表格转 CSV」是什么?What is the Markdown Table to CSV tool?
把 Markdown(GitHub 风格)表格转换成 CSV:跳过对齐行,\| 转义的竖线留在单元格里,空行保留,需要时自动加引号。本地处理。Turn a Markdown (GitHub-style) table into CSV. The alignment row is skipped, pipes escaped as \| stay inside the cell, empty rows are kept and cells are quoted when needed. Runs locally.
如何使用「Markdown 表格转 CSV」?How do I use the Markdown Table to CSV tool?
在「Markdown 表格转 CSV」中,先在上方输入或粘贴内容,然后点击「转换」、「复制」按钮即可。Paste a Markdown table into the box and click "Convert". The CSV appears below; click "Copy" to copy it.
对齐行会怎样?What happens to the alignment row?
像 |---|:--:| 这样的对齐行会跳过,不会变成数据。Alignment rows such as |---|:--:| are skipped and never become data.
单元格里的竖线怎么写?How do I put a pipe inside a cell?
按 GitHub 表格写法写成 \|(代码 `a\|b` 里也一样),转换后单元格里就是普通的 |,不会被拆成两格;输出时含逗号、引号的单元格会自动加引号。Escape it as \| the GitHub way (also inside code such as `a\|b`); the cell then contains a plain | and is not split in two. Cells with commas or quotes are quoted automatically in the CSV.
空行会被删掉吗?Are empty rows removed?
不会。像 | | | 这样只有空单元格的行会保留为 CSV 里的空行(例如 ,)。行长度不一致时按原样输出,不补也不删单元格,结果下方会提示。No. A row with only empty cells such as | | | stays as an empty CSV row (for example ,). Rows of uneven length are written as they are, with no cells added or removed, and a note below the result says so.
表头里有重名的列会怎样?What if two header cells have the same name?
照常转换,不会改名也不会合并;结果下方会提示哪些列重名(例如“表头里有 2 列都叫「A」(第 1、2 列)”),因为之后按列名查找时只会找到第一列。The table is converted as usual, with nothing renamed or merged, and a note below the result names the repeated columns (for example: the header has 2 columns named "A" (columns 1, 2)), because looking a column up by that name later finds the first one only.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「Markdown 表格转 CSV」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Markdown Table to CSV tool runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「Markdown 表格转 CSV」免费吗?需要注册吗?Is the Markdown Table to CSV tool free? Do I need an account?
「Markdown 表格转 CSV」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Markdown Table to CSV tool is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.