📋 CSV to Markdown Table
📊 CSV → Markdown
📝 Markdown → CSV
左
中
右
Turn CSV content into a Markdown table with alignment, header and whitespace-trimming options, plus a rendered preview.
📚 深度解析:CSV ↔ Markdown 表格互轉
💡 常見使用場景
- 表格貼入文件。
- 把後臺匯出的 CSV 表貼進 Markdown 文件,一鍵生成規範表格。
轉換
CSV 兩行 → `| a | b |
|---|---|
| 1 | 2 |`。
❓ 常見問題(FAQ)
- 對齊?
- `:--` 左、`--:` 右。
- 列數不一致會怎樣?
- 各行列數不一致時按最多列補齊空格,保持表格結構完整;建議先清洗資料避免出現空列。
Formula & Standard References
| Item | Formula | Source / Standard |
|---|---|---|
| Table syntax | | sep cols, header + separator row | GitHub Flavored Markdown |
| Alignment | :--- left / ---: right / :--: center | GFM table spec |
| Escaping | Pipe | escaped as \| | CommonMark |
⚠️ 使用說明與注意事項
- 本工具純前端執行,資料不會上傳到伺服器
- 建議在主流瀏覽器(Chrome/Safari/Firefox/Edge)中使用
- 計算結果僅供參考,請以實際應用場景為準