Convert Excel table to Markdown
📋 Conversion settings
💡 Instructions for use
- Content copied from spreadsheet software is separated by tab characters by default. This tool can automatically identify tab characters, commas and vertical bars.
- If the cell content is in quotation marks, it will be parsed according to the general rules, and the delimiters within the quotation marks will not be regarded as column boundaries.
- Vertical bars within cells will be escaped to avoid conflict with table column separators; line breaks within cells will be replaced with spaces.
- When the tab version is reversely converted and output, it can be directly pasted back into the spreadsheet software without further column separation.
- The content is only converted within the browser and is not uploaded or saved; if you need to keep it as a file, please copy or download the results.
Converting Excel tables to Markdown does not require exporting intermediate files: select the area in the spreadsheet software, copy it, and paste it in to get the source code.
Why just pasting it directly is enough
When copying a range from a spreadsheet software, the clipboard is saved as tab-delimited plain text that corresponds to the column structure, so there is no need to go through the comma-delimited file step. The tool automatically recognizes tab characters, splits it into rows and columns, and then outputs a Markdown table. No temporary files are generated during the whole process, thus avoiding common encoding and formatting problems during export. If the table contains commas, it will still be parsed according to the tab character, and there will be no misjudgment.
Three points to note when copying
- Make sure you do not miss the first row of headers, otherwise the generated table will be missing column names.
- Merged cells will be expanded into duplicate content, and you need to first confirm whether the expansion result is acceptable. Cells with formulas copy the displayed values. If you need the formula itself, please process it separately in the spreadsheet software.
Content copied from spreadsheet software usually has tab characters, which can be recognized by pasting it directly. If the number of columns is abnormal after pasting, it is probably because the cells contain line breaks, causing the content of one line to be split into multiple lines.
It is recommended to unmerge the area containing merged cells and fill in the content first, otherwise there will be gaps after conversion, which will appear as some rows and columns missing in the marked table.
Wrapping in a cell will cause one row to be split into multiple rows. It is recommended to replace or delete before conversion.
Cancel filtering and hiding columns before copying to avoid bringing in hidden content.
📖 Glossary
- Markdown table
- A plain text table is written with vertical lines separating cells and a line of short horizontal lines marking the table header. After rendering, it becomes a web table.
- delimiter
- The character used to separate columns, tabs are used for content copied by spreadsheet software, and commas are used for comma-delimited files.
- escape
- Add a backslash before special characters so that they are not interpreted as syntax symbols. For example, vertical bars in cells need to be escaped.
- alignment mark
- The colon in the header delimiter line is written on the left to indicate left alignment, both sides indicate centering, and the colon on the right indicates right alignment.
- wrapped in quotation marks
- When the field content contains delimiters or quotation marks, use double quotation marks and write two internal quotation marks. This is a general rule for delimiting text.
- Header
- Markdown tables must have a row of headers, and placeholder column names should be automatically filled in if missing.
- Column width padding
- Fill in spaces in the source code to align the columns for easier reading, but does not affect the final rendering effect.
- cell
- The smallest unit formed by the intersection of rows and columns in a table. Markdown table cells do not support crossing rows and columns.
- automatic recognition
- Which delimiter is used is inferred based on the number of occurrences of each delimiter in the previous lines.
- plain text table
- A tabular expression that does not contain format information and only relies on characters to divide rows and columns is convenient for version management and difference comparison.
🔗 All keywords and tutorials
❓ FAQ
- Do I need to export the table to a file first??
- No need. Just copy the area and paste it, and the tool will parse it according to the tab structure in the clipboard.
- Will the number format change??
- The content shown during copying shall prevail. Formatting such as date and percentage will be entered into the table as display text. If you need to keep it as is, you can convert it to text first.