How to convert online tables to Markdown tables

Explains how to convert online tables or Excel data into Markdown tables: first organize the data, choose the conversion method, check the table header and number of columns, and deal with common problems such as merging cells and vertical lines, with a checklist attached.

Key points of this article

  • Open the merged cells and replace the formulas with numerical values before conversion, otherwise the generated Markdown table will be misaligned.
  • The Markdown table must have a header row and a separator row, and the number of columns in each row must be consistent with the header.
  • Vertical bars in cells should be escaped, and line breaks in cells should be changed to spaces or split into multiple lines.
  • If the amount of data is small, you can write it manually or use a general online conversion website. If the amount of data is large, it is recommended to organize it in a table before converting.
  • After conversion, check the number of columns, table headers, and Chinese display in an editor that supports Markdown, and correct problems line by line if found.

Markdown tables are a common way of presenting data in technical documents, READMEs, knowledge bases and writing notes. The data at hand for many people is actually in an online spreadsheet or Excel. After copying it, they find that the format is messed up: columns are misaligned, merged cells become blank, and vertical lines in the text split one row into two. People who search for "convert online forms to markdown" usually get stuck at this step.

This article is written for people who need to put table content into Markdown files, including developers who write technical documents, researchers who organize data, and operations and administrative personnel who need to display data in documents. After reading, you will know what to check before conversion, which method is more stable for conversion, how to check item by item after conversion, and how to deal with merged cells, formulas and vertical bars.

The method itself does not depend on a particular piece of software. Regardless of whether the data comes from an online table or desktop Excel, the idea is the same: first organize the data into a regular rectangle, then generate a table according to Markdown syntax, and finally check. OmniDoc supports the processing of Markdown files and Excel files. The steps in this article will mention these capabilities where necessary.

How to convert online forms to Markdown forms? One sentence conclusion

Let’s talk directly about the conclusion: first organize the table into a rectangular data with no merged cells, no formulas, and the first row of table headers, then generate a Markdown table by row, and finally check it item by item. If you skip the sorting and convert directly, the probability of error is high.

your situationRecommended practicesreason
A small table with only a few rows and columnsCopy to a plain text editor and manually rewrite in vertical line formatLess data, controllable handwriting, no additional tools required
The table is large and the data is organizedOrganize in a table first, then use a general online conversion website or table export and then convert.Manual conversion is easy to miss columns, and tool batch generation is more trouble-free.
There are merged cells or formulas in the tableFirst split and merge, replace the formula results with numerical values, and then convertMarkdown tables do not support merging cells, and formulas usually only remain with the original text after conversion.
Need to translate table text into another languageFirst generate the Markdown file, then upload it to omnidoc.top for translation, choose bilingual comparison or translation onlyThe Markdown structure is still maintained after translation, making it easy to put directly into the document.
Requires online editing and retains Markdown formatPaste the results into the UniDoc web editor (app.unidoc.top) to continue modificationThe editor supports Markdown, making it easy to continue adjusting content in the same place

Before you start: Confirm these points first

The table is not rectangular. Markdown tables require the same number of rows and columns in each table. If there are blank columns in the middle of the table or one extra cell in a row, they will be misaligned after conversion. Read it over before you start, delete the extra empty columns, and fill in the blank headers with names.

Are there any merged cells? Cross-row titles and cross-column classifications that are common in online tables have no corresponding syntax in Markdown. When merging cells, only the content in the upper left corner will be retained, and the remaining positions will become blank. It is recommended to split the merged part and fill in the category name repeatedly in each cell, or to use the category as a separate column.

Whether the formula needs to be retained. When copying a formula result to plain text, you usually get the calculated value, or you may get the formula itself. When publishing a document, you need stable numerical values, so it is recommended to copy and then paste only the numerical values to fix the formula results and avoid equal signs and brackets that should not appear in the document.

Are there any special symbols in the content? Pipes, asterisks, underlines, backticks, and newlines may affect Markdown rendering. Pay special attention to the vertical bar, which is the separator of the table. The vertical bar in the cell needs to be escaped into a backslash plus a vertical bar. Line breaks need to be changed to spaces or split into two lines of data.

What the target editor supports. Different platforms have different levels of support for Markdown tables. Before writing, you can test a small table with two rows and three columns in the target editor to confirm that the header, alignment and Chinese display are normal, and then process the complete data.

Steps to Move from Table to Markdown Table

  1. Organize the original spreadsheet. Remove unnecessary blank rows and columns, confirm that the first row is the column name, and only one type of data is stored per column. Break down the merged cells and complete the content in each cell.
  2. Replace the formula with a numerical value. For calculation results that need to be retained, copy them and paste them using only the values to avoid the original formula text appearing after conversion.
  3. Handle special characters. In the organized table, find the vertical line, replace the vertical line in the cell with a full-width symbol, or write the escape form when converting. Change line breaks inside cells to spaces.
  4. Choose the conversion method. When data is scarce, simply write by hand in the following format: the first row is the header, separated by column names with vertical lines; The second row is a separator, with short horizontal lines representing each column; Then each line is one data sheet. When there is a large amount of data, you can use a general online conversion website, paste table content, and select the output Markdown format.
  5. Generate Markdown files. Save the converted text as a .md file. If you only use it temporarily, you can save it in the text editor first and then paste it into the target location.
  6. Upload translations when needed. If the explanatory text in the table needs to be translated into another language, you can upload the .md file to omnidoc.top, choose bilingual or just translation, and download the result. Translation results require manual verification, especially for technical terms and numbers.
  7. Open the check in the editor. Paste Markdown text into a Markdown-supported editor, such as the web editor in app.unidoc.top, confirm that the table displays correctly, and check item by item in the next section's checklist.
  8. Save and archive the original forms. Save the pre-converted table and the converted Markdown file together. In the future, when updating data, directly modify the original table and convert it again, which is less likely to cause errors than manually modifying Markdown.

After completion, check each item one by one

Inspection itemsHow to see itWhat should you do if there's a problem?
Header and separator rowIs the first row of the table a column name, and the second row is made up of short horizontal lines?If separated rows are missing, they should be added; the number of columns in the separated rows should match the header
Each row is arranged in a rowCount the number of vertical lines per row, and whether they match the header of the tableIf a row has extra or missing cells, go back to the original table to check if those rows are merged or blank
Merged contentWhether the merged header in the original table appears only in one cellFill in the category name or add a new column in each required cell
Vertical lines and symbolsCheck if the text in the cell has been incorrectly truncatedEscape the vertical lines within the cells or replace them with other symbols
Numbers and formulasCheck whether the numbers match the original table, and if there are any residual formula textsReturn to the original table to verify and repaste the values with the values
Chinese displayCheck if the Chinese characters are normal, and whether there are garbled or misaligned charactersCheck if the file encoding is UTF-8, then try a different editor and reopen it
Translation accuracyCheck whether the translated numbers, units, and technical terms match the originalEach item is manually corrected against the original table, and the machine translation results need to be verified before publication

📊 Core Comparison

There are three methods: manual writing, general online website conversion, and organizing before converting, each suitable for different scenarios.

MethodSuitable data volumeAdvantagesPoints to note
Manually writtenA few rows and columns of small tablesFully controllable, without relying on any toolsWhen there is a lot of data, it's easy to miss columns, and modification costs are high
Universal online conversion websitesMedium-sized regular formsFast operation, and generated results are immediately availableBefore uploading, check whether the data is sensitive and verify the processing results for special characters
Organize first, then convertAny scale, especially tables containing merged cellsThe result is stable, and after modifying the original table, it can be regeneratedOrganizing in the early stages is time-consuming and requires familiarity with the structure of the table itself

🎯 Which method suits you?

If you just want to put a small sheet in a README, handwriting is fast and no extra steps are needed. If you need to regularly update a larger data table, it is recommended to save the original data in the table. After each update, regenerate the Markdown instead of changing the numbers directly in the Markdown. If the table content needs to be aimed at readers in other languages, it can be created as a markdown, then processed using translation functions, and finally manually checked the terminology.

❓ Frequently Asked Questions (FAQ)

1. Why do online forms get misaligned after copying to Markdown?

Most of the time, the table contains merged cells, blank columns, or extra blank rows, resulting in inconsistent cell counts per row. After arranging into a regular rectangle, the misalignment usually disappears.

2. Can formulas from tables be kept in Markdown tables?

Markdown tables themselves do not calculate formulas; after conversion, what is usually seen is the original text or calculation results. When publishing documents, it is recommended to first replace formula results with numerical values to avoid readers seeing formula text that should not appear.

3. What to do if there are vertical lines in a cell?

The vertical line is used as a column separator. You can use a backslash and vertical line to escape in a cell, or replace the vertical line with other symbols, such as a full-width vertical line or a comma mark, provided the original meaning is not changed.

4. How to handle the slow display after converting large tables?

Markdown tables themselves are not large, and slow progress is usually caused by the editor's rendering. You can split the table into several smaller tables and place them under different chapters, or preview the full version only at release.

5. Can the converted table be used directly for translation?

Yes, you can. First, upload the Markdown file to omnidoc.top Translation, then choose bilingual or just translation. After translation, manual verification of numbers and technical terminology is still required; do not publish unchecked translations directly.

📝 Summary

The key to converting an online table into a Markdown table lies in the organization before conversion: splitting and merging cells, fixing formula results, handling vertical lines and line breaks, then generating text according to the rules for headers, separating rows, and the number of columns per row. After conversion, check each item with the checklist to obtain a stable table that can be directly used in documents.

Open OmniDoc, edit Markdown, and export Word

Updated 2026-11-12