CSV to Markdown Table Converter
Quoted CSV in. A clean Markdown table out.
Local text conversion only. UTF-8 CSV / TSV / TXT · 5 MiB · 10,000 rows · 100 columns. Binary .xlsx is not supported. Your input is never uploaded.
Convert to see the Markdown table and safe text preview.
Safe text preview
Quoted line breaks become <br> in Markdown. Literal HTML is escaped, formulas are kept as text, and absent cells are padded with empty strings.
Convert CSV to a Markdown table
Turn UTF-8 CSV or TSV text into a GitHub Flavored Markdown table in your browser. A quote-aware parser preserves commas, escaped quotes, empty trailing cells, leading zeros and formula text. No input is uploaded.
How to Use
- Paste text or choose a UTF-8 .csv, .tsv or .txt file, up to 5 MiB.
- Confirm the delimiter, choose whether the first row is the header and set column alignment.
- Select Convert, inspect the text preview, then copy Markdown or download the .md file.
Frequently Asked Questions
Can I upload XLSX?
No. This tool accepts UTF-8 CSV, TSV and TXT text only, up to 5 MiB, 10,000 rows and 100 columns. Binary .xlsx workbooks are not supported.
Are quoted commas and newlines supported?
Yes. The RFC4180-style quote state machine handles commas inside quotes, doubled quotes and quoted CRLF or LF line breaks. Cell line breaks become <br> in Markdown; support may vary by Markdown renderer.
Are numbers or formulas evaluated?
No. Every cell remains a string: 001 stays 001 and =1+1 stays literal text. The HTML preview uses textContent, and literal HTML and Markdown characters are escaped in the exported table.
How does delimiter detection work?
Auto-detect counts commas, tabs and semicolons outside quoted fields on the first record. The detected suggestion is shown and can be overridden manually.
Related Tools
Split plain text · Join text lines · Remove HTML tags
Plain text splitting does not parse CSV quoting. This page converts text and does not evaluate spreadsheet formulas.
CSV 转 Markdown 的用途
在浏览器中把 UTF-8 CSV 或 TSV 文本转为 GitHub 风格 Markdown 表格。引号状态机保留引号内逗号、转义引号、空尾列、前导零与公式文本,输入不会上传。
使用步骤
- 粘贴文本,或选择不超过 5 MiB 的 UTF-8 .csv、.tsv、.txt 文件。
- 确认分隔符,选择是否把首行作为表头,并设置列对齐方式。
- 点击转换,检查文本预览,再复制 Markdown 或下载 .md 文件。
常见问题
可以上传 XLSX 吗?
不可以。本工具只接收 UTF-8 CSV、TSV、TXT 文本,上限为 5 MiB、10,000 行与 100 列,不支持二进制 .xlsx 工作簿。
支持引号内逗号与换行吗?
支持。RFC4180 风格引号状态机处理引号内逗号、双写引号与引号内 CRLF 或 LF 换行。单元格换行在 Markdown 中转为 <br>,不同 Markdown 渲染器的支持可能不同。
会计算数字或公式吗?
不会。单元格始终是字符串:001 保持 001,=1+1 保持文本。HTML 预览使用 textContent,导出表格会转义原始 HTML 与 Markdown 字符。
怎样自动检测分隔符?
自动检测只统计首条记录引号外的逗号、制表符与分号,回显检测建议,并允许手动覆盖。
相关工具
拆分普通文本 · 合并文本行 · 移除 HTML 标签
普通文本拆分不解析 CSV 引号。本页只进行文本转换,不计算电子表格公式。