Comparison

What Survives Markdown Export to HTML, PDF, DOCX, and TXT?

We inspected HTML, DOCX and TXT exports of one Markdown sample and compared when to choose PDF. See what happens to tables, code, links and images before sharing a document.

Choose a Markdown export by what the recipient needs to do: read a fixed document, edit its contents, or reuse plain text.

This comparison distinguishes format capabilities from Toolit’s export choices. Actual HTML, DOCX and TXT downloads are included; PDF printing and Word layout have a separately stated verification scope.

Decide what must survive the export

Reading and editing have different needs

Start with HTML for browser reading, PDF for submission or printing, DOCX for Word editing, and TXT for plain body text.

TXT is not a reference-link archive

The exported sample retained ‘툴릿 안내 / Toolit about’ but not the address behind that label.

Web images need their own check

HTML retained a remote reference. DOCX stored descriptive text and the URL instead of embedding the image.

Open actual HTML, DOCX and TXT exports of the same document

On October 13 we pasted the public 640-byte MD sample into the actual converter and downloaded HTML, DOCX and TXT. HTML retained a table; TXT placed its values on separate lines. Inspect the raw TXT below for column and link-address differences.

DOCX contains one table and no embedded images. On October 14 we opened the actual file in Word for Windows 16.0.19127.20860 and inspected its single page. The table and two list items remained; the web logo appeared as alt text and a URL rather than a picture. This is Toolit’s export behavior, not a DOCX format limitation.

The two code lines status = ready and count = 2 joined on one line in Word and its printed PDF. Printing the actual HTML in Chrome 155 retained two lines. Word produced one page; HTML produced two, moving the image notices to page 2. A format change need not preserve the original line breaks or pagination.

Below are actual contents rendered from the two PDFs saved by the operator. The HTML print includes a local filesystem path in its print footer, so that original remains private and only unretouched body crops are published. These are observations of two specific files; paper, margins, scale and application versions can change pagination.

Separate HTML downloads show external images blocked and allowed. The allowed logo remains a web reference and may be unavailable offline. Check external-image behavior separately from the document content.

The actual downloaded HTML opened in a browser: table and code retained, external image replaced with a blocked-image notice.
The actual downloaded HTML opened in a browser: table and code retained, external image replaced with a blocked-image notice.
Actual Chrome HTML print, page 1 body: contents, table and two code lines retained. Native-pixel crop excluding print headers and footers.
Actual Chrome HTML print, page 1 body: contents, table and two code lines retained. Native-pixel crop excluding print headers and footers.
Body excerpt from page 2 of the same HTML print: image notices moved here. Only blank space and print headers/footers excluded.
Body excerpt from page 2 of the same HTML print: image notices moved here. Only blank space and print headers/footers excluded.
The whole page of the actual DOCX printed to PDF in Word by the operator. The two code lines join on one line. This is distinct from browser HTML printing.
The whole page of the actual DOCX printed to PDF in Word by the operator. The two code lines join on one line. This is distinct from browser HTML printing.

Exact downloaded TXT

공유 문서 / Sharing note

이 문서는 실제 개인정보가 없는 변환 실험용 샘플입니다.

일정 / Schedule

항목 / Item
상태 / Status

초안 / Draft
완료 / Done

검토 / Review
예정 / Planned

확인 / Checklist

• 첫 문장 확인 / Check the first sentence

• 표 확인 / Check the table

중요 / Important: 원본은 별도로 보관합니다.

status = ready
count = 2

툴릿 안내 / Toolit about

이미지 / Images

문서와 함께 연결된 로컬 이미지는 MD 파일 하나만 열면 표시할 수 없습니다.

What survived in the exported sample

Preservation does not mean pixel-identical appearance. Keeping heading text, retaining a heading structure, and using the same font and position are different tests. The DOCX column reports internal structures, not verified Word rendering.

FeatureHTMLDOCXTXT
Four headingsFour heading tagsFour heading stylesText only
3-row, 2-column tableOne table structureOne table structureCell text only
Two-line codeCode blockCode text and formatting dataCode text
Web linkLabel and destinationHyperlink relationshipLabel without destination
Allowed web imageRemote referenceAlt text/URL; 0 embedded imagesNo image or alt text
Relative imageNoticeNoticeNotice

Plain text can lose information even when the words remain

The sample displayed the link label ‘툴릿 안내 / Toolit about’ with https://toolit.kr/about/ behind it. Only the label survived in TXT. For references that must be opened later, write important URLs into the body as well, or choose HTML or DOCX.

Cell text such as ‘초안 / Draft’ and ‘완료 / Done’ survived, but in this sample the cells became lines without tab separators. Do not treat TXT as an Excel-ready table or CSV. Use a format that preserves the table when column relationships matter.

This output extracts visible text; it does not reconstruct missing information. It is useful for removing formatting, but keep the original MD when links, table relationships and images must remain available for later use.

Why a shared HTML file may lose its pictures

With external images off, the saved HTML contained a blocking notice. With them on, it retained the web image URL. The image bytes were not embedded in the HTML, so connectivity and the image server's access conditions can affect later display.

The basic document styles are inside the HTML. That does not mean every image or font file is bundled too. Fonts available on another device can also change line wrapping.

A relative reference such as ‘./figure.png’ cannot be resolved from an MD file alone. It became a local-image notice in this sample regardless of the external-image setting. If pictures are essential, check their actual presence in the final document.

DOCX is for editing, not an exact copy of a web page

The DOCX contained four heading styles, one table, code text and a web hyperlink relationship. The web image became alternative text and an address, with zero embedded image entries. That is a choice in Toolit's current conversion, not a limitation of the DOCX format.

Insert essential pictures in Word and check table widths and code wrapping. The inspected Word output joined two code lines into one. A page observed in one version does not establish identical rendering in every app or font.

When should you choose PDF, and what should you check?

PDF is a practical starting point when the recipient needs fixed pages to read, submit or print rather than edit. Toolit uses the browser's printing workflow, which divides a continuous web document into paper-sized pages.

As MDN's printing documentation explains, screen and print styles can differ. Preview width is not the same as PDF paper width. Check paper size, orientation, scale and margins; check the background-graphics setting if colors matter.

The inspected HTML print had two pages; the Word print had one. Those counts apply to this sample and its settings. Not every PDF link, font or paper setting was verified. Inspect the table’s rightmost column, code wrapping and pictures in the copy you plan to submit.

Choose for the recipient's next action

Start with what the recipient will do, rather than the smallest file or the most familiar extension.

PurposeStart withCheck before sending
Read and follow links in a browserHTMLRemote images; allowed attachment types
Submit or printPDFAccepted format; page breaks; clipping
Edit text and tables in WordDOCXReinsert images; inspect tables and code
Paste body text elsewhereTXTWhether links and table relationships matter
Maintain the original documentKeep the MD tooKeep linked images and attachments
Test conditions and reproduction

What we checked with one shared sample

  1. 1

    On September 26, 2026, we pasted a bilingual sample into the local Toolit build in Chrome on Windows. It contained four headings, a three-row/two-column table, a list, emphasis, a two-line code block, one web link, one web image, and one relative image.

  2. 2

    We used Clean style, Standard width and a table of contents. The extra document title was off because the source already had an H1. We saved HTML with external images off and on, then DOCX and TXT with that setting still on.

  3. 3

    We inspected actual HTML tags and addresses, DOCX heading/table/hyperlink/image entries, and the saved TXT strings. We did not treat the browser preview as proof of the final Word layout.

  4. 4

    The September 26 check inspected document structures; actual HTML, DOCX and TXT were saved on October 13. On October 14 the DOCX was opened in Word and PDFs printed from Word and Chrome HTML were inspected. The structural table and the actual page comparison answer different questions.

Raw reproducibility records (JSON)

The main results are explained above. These raw records contain processing conditions and file hashes. Opening a link displays JSON text, not an illustrated article.

Official documentation used for this analysis

Choose by the information that must survive, not just the extension

In this sample, HTML and DOCX retained heading and table structures, while TXT retained readable words. Link destinations and web images particularly deserved a separate check.

Choose for reading, submission, editing or plain-text copying, then verify a table, a link and an image in the saved file. Keeping the MD source lets you make a different export without starting from a reduced version.