Markdown Table to CSV Tool
Quickly convert Markdown tables to CSV files, with support for batch processing, custom delimiters, and multiple export options.
Browser execution mode: Your data is processed in your browser and is not uploaded to the server.
Speed and Stability: Processing speed depends on your device and browser. For large batch work, the desktop version may be more stable.
Loading tool, please wait...
Loading tool, please wait...
If the online tool fails to load or run, try the desktop tool.https://tools.yikeaigc.com/
Tool Usage
Return to old version
i
Set conversion options first, then import or paste table content.Supports single Markdown blocks, multi-table extraction, and batch file conversion. Batch results are saved as CSV by original filename and downloaded as a ZIP.
GFM table
Multi-table detection
UTF-8 / GBK
Savable settings
Input data
Single-file mode is for pasting Markdown tables directly; batch mode lets you select multiple .md, .markdown, or .txt files at once.
Data Source
All conversion is done locally
Files and detection
No files selected
After pasting content, go straight to the next step to set options. After selecting batch files, the first 20 filenames and sizes are shown here.
Conversion settings
Confirm delimiter, quotes, and encoding before converting. Frequently used options can be saved locally.
CSV output formatWorks with Excel, database imports, and data scripts
Table extraction and content processingFor documents with multiple tables
Preview & download
After conversion, view table stats, copy CSV, download a file, or download a ZIP batch.
Detect tables0
Output lines0
Output columns0
Processing files0
CSV result
Waiting
Table preview
Show first converted rows
No preview data yet. Click “Start conversion” first.
Batch conversion results
Waiting
Ready
CSV preview
Instructions
Software Usage Instructions
- Select a data source: You can directly paste Markdown table content, or select multiple .md, .markdown, or .txt files for batch conversion.
- Set conversion parameters first: It is recommended to confirm the delimiter, quote strategy, line endings, output encoding, table extraction method, and empty cell handling before conversion.
- Configure table extraction: Supports extracting all tables, the first table, the last table, the table with more data, or a specified table by index.
- Handle content details: You can choose to include headers, trim leading and trailing spaces in cells, skip empty rows, recognize escaped vertical bars, ignore code blocks, and remove basic Markdown markers.
- Start conversion: After clicking “Start Conversion,” the tool will parse the Markdown table and generate CSV content, while displaying the number of rows, columns, and tables.
- Preview and download: In single-file mode, you can copy the CSV or download the CSV file; in batch mode, CSV files are generated using the original file names, numeric suffixes are automatically added for duplicate names, and ZIP download is provided.
- Save settings: You can click “Save Settings” for frequently used parameters, and they will be automatically restored the next time you use the tool, reducing repeated configuration.
FAQ
A: Common GitHub Flavored Markdown pipe table formats are supported, such as using vertical bars to separate columns and using |---|---| as the header separator row. The table must include a header row and a separator row.
A: Please check whether the table contains vertical bar separators, whether the header separator row is complete, and whether the number of columns in each row is roughly consistent. If the table is written inside a code block and “Ignore code blocks” is enabled, tables inside code blocks will not be extracted.
A: You can select “UTF-8 with BOM” or “GBK” in the output encoding. If it still displays incorrectly, import it in Excel via “Data - From Text/CSV” and manually select the corresponding encoding.
A: In “Table Selection,” you can choose to extract all tables, the first table, the last table, the table with more data, or a specified table by index. Multi-table output can be separated with blank lines, appended continuously, or include an additional table source column.
A: CSV output handles quotes and delimiters according to the settings. Fields containing commas, line breaks, or quotes are quoted and escaped according to CSV rules; escaped vertical bars in Markdown such as A\|B can be restored to A|B.
A: After conversion, the source file name is preserved whenever possible, for example report.md becomes report.csv. If output file names conflict, names such as report_1.csv and report_2.csv are generated automatically and packaged together into a ZIP file.
A: No. Table parsing, CSV generation, and ZIP packaging are all completed on the current device, and file contents are not uploaded to the server.
Related Tools
User Agent Detection Analysis Tool
Detect and analyze current and custom User Agent informat...