แปลง CSV เป็นตาราง Markdown และตาราง Markdown กลับเป็น CSV ได้ทั้งสองทิศทาง
วิธีใช้ ตาราง Markdown
วาง CSV ของคุณ โดยมีแถวแรกเป็นหัวตาราง
เลือกตัวคั่นและการจัดตำแหน่งคอลัมน์
คัดลอกตาราง Markdown ที่สร้างขึ้น
This tool converts CSV data into a clean Markdown table you can drop into READMEs, issues, wikis and documentation, and converts Markdown tables back into CSV. The first row becomes the header, and you can set the column alignment.
Writing Markdown tables by hand is fiddly: every row needs the right number of pipes and the alignment divider has to line up. Pasting CSV and getting a correct table back removes all of that busywork.
Everything is processed locally in your browser; nothing you paste leaves your device.
It reads standard CSV with comma, semicolon or tab delimiters and handles quoted fields, so data exported from a spreadsheet converts without breaking on commas inside values.
The output is a GitHub-Flavored Markdown table: a header row, an alignment divider, then the data rows. It renders in GitHub, GitLab, most wikis and Markdown editors.
Alignment is written into the divider row using colons, :--- for left, :---: for center and ---: for right, which Markdown renderers use to align each column. Pipe characters in the data are escaped and line breaks inside cells are flattened so the table always stays valid.
คำถามที่พบบ่อย
ตาราง Markdown แบบ GitHub: แถวหัวตาราง ตัวแบ่งการจัดตำแหน่ง แล้วตามด้วยแถวข้อมูล แสดงผลได้บน GitHub วิกิส่วนใหญ่ และโปรแกรมแก้ไข Markdown
การจัดตำแหน่งที่คุณเลือกจะถูกเขียนลงในแถวตัวแบ่งโดยใช้โคลอน (:--- ซ้าย, :---: กลาง, ---: ขวา) ซึ่ง Markdown renderer ใช้จัดตำแหน่งทุกคอลัมน์
ฟิลด์ CSV ที่อ้างอิงถูกแยกวิเคราะห์อย่างถูกต้อง และอักขระไปป์ในข้อมูลจะถูก escape เพื่อให้ตารางยังคงถูกต้อง การขึ้นบรรทัดใหม่ภายในเซลล์จะถูกแบน flat เป็นช่องว่าง
ไม่ ตารางถูกสร้างทั้งหมดในเบราว์เซอร์ของคุณ ไม่มีสิ่งที่คุณวางออกจากอุปกรณ์
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/markdown-table-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
จัดรูปแบบ ทำให้สวยงาม และตรวจสอบ JSON ออนไลน์ พร้อมข้อความแสดงข้อผิดพลาดชัดเจนสำหรับข้อมูลที่ไม่ถูกต้อง
ย่อและตรวจสอบ JSON ในเบราว์เซอร์ของคุณ และดูว่าประหยัดได้กี่ไบต์
แปลง JSON เป็น CSV และ CSV กลับเป็น JSON ได้ทั้งสองทิศทาง เลือกตัวคั่น จัดการฟิลด์ที่มีเครื่องหมายอ้างอิง และคัดลอกผลลัพธ์ ทุกอย่างทำงานในเบราว์เซอร์ของคุณ
แปลง YAML เป็น JSON และ JSON กลับเป็น YAML ได้ทั้งสองทิศทาง ตรวจสอบความถูกต้องขณะแปลงและแสดงข้อผิดพลาดที่ชัดเจน ทุกอย่างทำงานในเบราว์เซอร์ของคุณ