📋 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

ItemFormulaSource / Standard
Table syntax | sep cols, header + separator row GitHub Flavored Markdown
Alignment :--- left / ---: right / :--: center GFM table spec
Escaping Pipe | escaped as \| CommonMark
⚠️ 使用说明与注意事项