Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 4 min read

markitdown: the Chinese translation that removes the README barrier

The Chinese translation of microsoft/markitdown was published on 2026-11-30. The original repository has 199,086 stars at the time of translation and is written in Python under the MIT license. The translated repo is at

The Chinese translation of microsoft/markitdown was published on 2026-11-30. The original repository has 199,086 stars at the time of translation and is written in Python under the MIT license. The translated repo is at https://github.com/yangshun2005/markitdown-cn.

That's the whole pitch, and it's a narrow one. This article is not about a fork with new features. It's about a documentation translation, what it actually contains, and where it stops being useful.

What MarkItDown does

MarkItDown converts files into Markdown for LLM and text-analysis pipelines. The upstream README describes it as closest to textract, but focused on preserving document structure β€” headings, lists, tables, links β€” rather than producing high-fidelity output for human reading. The output is meant for tools, not for people.

Supported input formats, per the README:

  • PDF
  • PowerPoint
  • Word
  • Excel
  • Images (EXIF metadata and image descriptions)
  • Audio (EXIF metadata and speech transcription)
  • HTML
  • Text-based formats (CSV, JSON, XML)
  • ZIP files (walks their contents)
  • YouTube URLs
  • EPub
  • and more

Two of those need a caveat the README states plainly: image descriptions and speech transcription depend on network-hosted services. They are not local operations.

Why Markdown at all

The upstream reasoning is short and worth repeating because it explains the design. Markdown sits close to plain text with minimal markup, but still represents document structure. Mainstream LLMs such as GPT-4o natively "use" Markdown and often produce it in replies, which suggests they were trained on a lot of it and understand it well. A side benefit: Markdown conventions are token-efficient.

That's the tradeoff MarkItDown makes. You lose layout fidelity, you keep structure and token economy.

What the Chinese version adds

The repo has two layers, and the README is explicit about the split.

The first layer is a translation of the upstream README, kept faithful to the original. The second layer is a "δΈ­ζ–‡εΏ«ι€ŸδΈŠζ‰‹" section marked as supplementary guidance, not part of the original document. Its stated purpose: let a Chinese-speaking developer get the tool running without reading the entire README.

That second layer is where the practical value sits. It covers:

Environment requirements. Python 3.10 to 3.14. The official Dockerfile is based on python:3.13-slim-trixie (Debian). Docker runtime dependencies include ffmpeg and libimage-exiftool-perl.

Optional dependency mapping. The extras are listed by format: [pdf], [docx], [pptx], [xlsx], [xls], [outlook], [audio-transcription], [youtube-transcription], [az-doc-intel], [az-content-understanding], or [all].

Network notes for mainland China. Image descriptions and speech transcription rely on hosted services; pip mirrors or download acceleration may be needed. This is the kind of sentence that never appears in an upstream README and saves an hour of confusion.

Pitfalls. Four are listed, and they're the ones that actually bite:

  1. Security: MarkItDown performs I/O with the current process's permissions and reaches whatever the process can reach. In untrusted environments, sanitize input and call the narrowest convert_* function available β€” convert_stream() or convert_local().
  2. Image description and speech transcription are not local.
  3. Installing markitdown without [all] or the matching format extra means that format may not convert.
  4. Plugins are off by default; enable with --use-plugins. The markitdown-ocr plugin silently skips OCR and falls back to the built-in converter if no llm_client is supplied.

Point 4 is the one I'd flag hardest. A silent fallback is worse than an error, because you get output that looks fine and isn't what you asked for.

Install and run

The shortest path, as given in the Chinese quick-start:

python -m venv .venv
source .venv/bin/activate
pip install 'markitdown[all]'
markitdown path-to-file.pdf > document.md

Or write to a file directly:

markitdown path-to-file.pdf -o document.md

Or pipe:

cat path-to-file.pdf | markitdown

From source:

git clone [email protected]:microsoft/markitdown.git
cd markitdown
pip install -e 'packages/markitdown[all]'

The upstream README also documents uv and Anaconda environment setup, including the reminder that inside a uv venv you must use uv pip install rather than pip install. Python 3.10 through 3.14 is the supported range.

Who this is for

If you read English documentation comfortably, use the upstream repo. The translation adds nothing you need, and the upstream is where issues get filed and fixes land.

If you're onboarding a team whose working language is Chinese, or you're evaluating the tool and want the security and dependency caveats in your own language before you commit, the translated README is a reasonable first stop. The security section in particular is easy to skim past in a second language and expensive to get wrong.

The translation date is 2026-11-30. Upstream moves. If you're reading this well after that date, diff the translated README against README_en.md in the same repo before trusting a specific detail β€” the repo keeps the English original alongside the translation for exactly this reason, and the README invites issues and PRs for inaccurate translations.

What it isn't

It is not a fork. No code changes, no patches, no additional formats. The repo is documentation plus a getting-started layer. Star count on the translated repo is zero as of publication; all 199,086 stars belong to microsoft/markitdown.

I have not benchmarked conversion quality on Chinese-language documents, and the README makes no claims about it either β€” MarkItDown's parsing behavior is whatever upstream does, and the translation doesn't change it. If your source files are Chinese PDFs or Word documents with complex tables, test on your own corpus before wiring it into a pipeline. My sample there is small enough that I won't state a conclusion.

One more thing worth internalizing from the security note: the tool runs with your process's permissions. That's the same contract as open() or requests.get(). It is not a sandbox, and treating it like one because it "just converts files" is how you end up converting something you didn't mean to.

Chinese documentation: https://github.com/yangshun2005/markitdown-cn

I'm an independent enterprise AI delivery consultant β€” private LLM deployment, RAG, agent workflows, AIOps. If your team is stuck somewhere in that stack, my inbox is open.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.