Privacy choices

Git-Stars uses essential storage for site operation. Optional analytics stays disabled unless you accept it. This choice does not enable advertising. Privacy Policy

LogoGit-Stars
Top StarsGrowth SnapshotAI AgentsProject reviewsInsightsTools
LogoGit-Stars

Explore dated GitHub snapshots and independent open-source guides

AboutLogo of Git-StarsGit-Stars
Rankings
  • Top Stars
  • Growth Snapshot
  • AI Agents
  • Explore
Resources
  • Insights
  • Tools
  • Editorial Policy
About
  • About
  • Contact
Legal
  • Privacy Policy
  • Terms of Service
© 2026 Git-Stars. All Rights Reserved.
Back to project reviews
Developer ToolsMicrosoftMarkdownDocument ConversionLLMRAGPythonOpen Source

MarkItDown tested on four documents: why an image-only PDF came back empty

We tested MarkItDown 0.1.8 with four owned files. Word, a two-sheet workbook and text PDF retained the target fields; an image-only PDF produced empty Markdown despite a successful exit. A useful text-normalization entry point, with a clear scan caveat.

Git-Stars EditorialPublished: 8/15/2026Updated: 10/23/2026microsoft/markitdown
View on GitHubBrowse all analyses

What you should know first

Getting started

Python and command line

Commercial conditions

MIT code; other rights remain

Capability limits

Inspect text and every page

Repository facts

Repository snapshot

License

MIT License

Open source

Yes

Historical counters lack a verifiable capture date and are not displayed here. Check GitHub for current stars, forks and issues; article publication and revision dates are not collection dates.

Reference basis: the repository, README, license file and sources linked in the article. Unless a test setup and results are explicitly documented, this is desk research rather than a hands-on benchmark or security audit.

READMEAssessment basis and editorial policy

30-second read

Start with the verdict before you invest more time.

Check setup, commercial conditions, and capability limits for this task. Documentation, attributed accounts, and in-house tests are identified separately; untested outcomes are not guaranteed.

Getting started

Documented

Python and command line

Ask for setup help if you do not use a terminal. Install the extras for the formats you intend to convert.

Commercial conditions

Documented

MIT code; other rights remain

Retain the required notices. Documents, dependencies, optional models, and external services have separate conditions.

Capability limits

Scoped local test

Inspect text and every page

Our text-based examples retained the target fields; the image-only PDF produced an empty file under the tested configuration.

Converting files to inspectable Markdown. Local evidence covers MarkItDown 0.1.8 on four synthetic files, with no OCR service or LLM.

Assessment checked 2026-10-23

  • Official usage and license
  • Test configuration and scope
  • Four-file results

What real problem it solves

MarkItDown offers one interface to normalize documents as Markdown for later text processing. We checked DOCX, a two-sheet XLSX, a text PDF and an image-only PDF: the first three preserved our target text, while the last returned no text without OCR in this CLI configuration.

Why it matters

Markdown is often a prerequisite for knowledge-base ingestion, but a zero exit code says nothing about field retention. In our four owned samples, the image-only PDF exited successfully while yielding zero bytes. That changes whether an automated pipeline should index the result.

Open-source and commercial terms

The MIT license permits commercial code reuse with notices retained. It does not license input documents, dependencies or third-party services. The README distinguishes basic audio transcription from optional LLM image descriptions and Azure integrations: audio does not necessarily require an LLM or Azure. Verify the selected backend's network behavior before processing private material.

How non-coders can use it

Ask a developer or Codex/Claude to install MarkItDown 0.1.8 in an isolated environment and convert one document you have rights to use. Open the original and Markdown side by side. Check model, value, unit and exceptions; stop if the output is empty. The synthetic examples and result table show how to make a field checklist.

How to deploy it with Codex or Claude

Ask Codex or Claude to follow the official installation guide, create an isolated Python 3.12 environment and pin markitdown[pdf,docx,xlsx]==0.1.8. Run the CLI on authorized samples; check exit code, nonempty output and field association before indexing. Our local test did not use an LLM, Azure or OCR, nor deploy a public service. Uploaded files need explicit path, privilege and network boundaries.

What its real ceiling looks like

Our text PDF, Word and simple two-sheet workbook retained the preset fields; the image-only PDF yielded empty Markdown without OCR. The tool targets text analysis rather than high-fidelity layout restoration or guaranteed field correctness. Scans and high-stakes documents require a separate OCR or specialist evaluation; four files do not establish overall accuracy.

Full article

Reading basis · Local functional experiment

2026-10-15 (Asia/Shanghai) · MarkItDown 0.1.8 / Python 3.12.13

Windows 11, isolated Python 3.12 environment; CLI with PDF, DOCX and XLSX extras, without an OCR service or LLM.

Four owned synthetic files: a Word manual, a two-sheet workbook, a text PDF and an image-only PDF. We checked known model, value, unit and warning strings against raw Markdown.

This does not measure OCR add-ons, complex layouts, production accuracy or other parsers. The image-only PDF returned an empty file despite exit code 0.

  • Preset criteria and method
  • Four-case result table
  • Synthetic Word sample
  • Synthetic workbook
  • Image-only PDF sample
  • Workbook conversion output

These are observations within the stated scope, not certification or a comprehensive quality verdict.

A successful command can still yield an empty document

We made the same fictional product facts in four formats to answer a practical question: after conversion to Markdown, can a knowledge base still cite the model, value, unit and safety exception correctly? AX-17, 280 V, 48 h and the below-0 C charging warning are invented sample fields, not real product specifications. These are the details an equipment support answer must not silently lose.

On October 15, 2026, we ran MarkItDown 0.1.8's CLI on Windows 11 with Python 3.12.13 in an isolated environment. We installed the PDF, DOCX and XLSX extras, without an LLM, Azure service or OCR service. We defined the target strings before conversion and then compared each raw output with the source. The preset criteria and method are public. The result table gives exit codes, output sizes and field counts.

What survived, and what did not

The owned Word sample retained all four target strings. Its model and voltage also appeared in a Markdown table. The two-sheet workbook produced separate Specifications and Exceptions headings. In the raw workbook output, 280 sits beside V and 48 beside h in the same row, while the exception appears on the second sheet. The text PDF retained all four target strings. Each command exited with code 0. These observations concern small, simple documents; they do not establish accuracy for merged cells, multi-column reading order or a production corpus.

The image-only PDF is the instructive failure. We drew the same text into an image and placed it in a PDF. The command exited with code 0 again, but the Markdown file was zero bytes and all four target strings were absent. In this configuration, a successful process exit is therefore an unsafe acceptance rule for indexing. We did not test an OCR add-on, and this result does not claim all scanned PDFs are unsupported.

When this route earns its place

The official usage guide shows a CLI and Python API with format-specific extras. If a workflow mostly ingests text-bearing Office files and PDFs, one conversion interface may simplify downstream processing. Our small trial gives a reproducible starting point, not a promise of layout preservation. When source documents are mostly scans, require exact field extraction, or encode meaning in spatial layout, evaluate the same owned files through an OCR or structure-aware path before adoption.

A non-coder can ask a developer or Codex/Claude to pin 0.1.8 in an isolated Python environment and run markitdown input.pdf -o output.md on one document they have the right to use. Compare the Markdown side by side with the original. Require the model, value, unit and exception to remain associated, and stop on an empty result. A fluent downstream AI answer cannot repair missing source text. For uploaded files, restrict paths and network destinations: the project's security guidance says conversion inherits the process's I/O privileges. This trial used local CLI files only; it did not deploy a service.

Alternatives and commercial conditions

If layout or structured output is the gap, evaluate Docling on the same documents. For scan-heavy inputs, evaluate an OCR path. Unstructured is another option when document partitioning and downstream metadata matter. We did not run these alternatives against the four files, so we cannot rank their accuracy or speed. MarkItDown's MIT code license permits commercial reuse with notices retained. It does not grant rights to input documents, dependencies, model weights or hosted services. The synthetic trial supports a narrow conversion observation, not legal clearance for a reader's workload.

Follow-up: same PDFs, different extraction failures

On October 16, 2026 we ran MarkItDown 0.1.8, pypdf 6.21.0 and PyMuPDF 1.28.2 against the same five owned synthetic PDFs, without OCR. This extends the earlier four-file check; it does not change that check's date. Every converter completed all five calls, but all three missed the image-only page and the image page in a mixed two-page document. A nonempty output therefore failed to prove that the whole document had been read.

The two-column sample retained all four numbered blocks but none of the tested extraction settings reproduced its intended column-by-column reading order. MarkItDown returned blocks 1, 3, 2, 4; pypdf followed the deliberately right-first PDF writing order; sorted PyMuPDF interleaved the visible rows. The simple price table also showed why finding every number is weaker than retaining the product-price relationship. This is not an accuracy leaderboard or an OCR test.

Read the PDF layout case study for the five downloadable PDFs, fifteen raw outputs and the checks a non-programmer can make. Before feeding extracted text into a knowledge base, check row pairing, reading order and every page, not just whether Markdown exists.

Open the repository

Python tool for converting files and office documents to Markdown.

View on GitHub

Continue your evaluation

Insight

Text extracted, task complete? Five PDFs expose order and missing-page problems

A hands-on comparison of MarkItDown, pypdf and sorted PyMuPDF extraction on five owned PDFs, with raw outputs, preset checks and missing-page failures.

Read article
Repository analysis

Qdrant tested locally: can similarity search exclude other tenants and withdrawn records?

We tested qdrant-client 1.19.1 local mode with four synthetic points. An unfiltered query included another tenant and a withdrawn item; preset filters returned the eligible IDs. Deletion persisted after reopen and a wrong-dimensional query failed. The application must enforce eligibility; this was not a server security or performance test.

Read article
Insight

RAGFlow Review: Evaluate the Evidence Pipeline, Not Just the Chat

What RAGFlow documents about parsing, retrieval, deployment, and Apache-2.0 licensing, plus an acceptance test for document-heavy teams.

Read article

Alternative projects

If you are close to adoption, compare these alternatives on deployment and commercial fit first.

docling-project/docling

Docling parses PDFs, Office files, and complex documents into Markdown, JSON, and other structured outputs.

Strengths

Docling documents layout-aware parsing and structured JSON as well as Markdown; code and model terms are separate.

Weaknesses

The selected OCR/layout pipeline determines model downloads and resource needs; comparative accuracy and speed were not tested.

Verdict

Compare Docling when page structure or JSON is required, using the same tables and scans; do not assume a quality winner.

docling-project/docling

opendatalab/MinerU

MinerU targets papers, scanned documents, and complex layouts, with a focus on recovering structured content.

Strengths

Documents layout/OCR processing paths that can be evaluated against scientific papers and scans.

Weaknesses

Current license terms add commercial-threshold and online-attribution conditions; review model and release terms separately.

Verdict

Include MinerU when layout recovery is the actual requirement, then compare selected backends on authorized documents.

opendatalab/MinerU

datalab-to/marker

Marker converts PDFs into Markdown, JSON, and HTML, fitting workflows that need visual parsing support.

Strengths

Marker offers layout-aware conversion and structured output; its code is Apache-2.0.

Weaknesses

Model weights have separate commercial conditions. It also supports Office files, rather than being PDF-only.

Verdict

Worth testing when PDFs are the core input; MarkItDown remains useful for mixed-format ingestion.

datalab-to/marker

Unstructured-IO/unstructured

Unstructured is a broader document-processing framework covering multi-format parsing, cleanup, and enterprise pipeline integration.

Strengths

Unstructured documents multi-format partitioning for downstream data workflows.

Weaknesses

Separate the open library from platform services; requirements depend on the chosen formats and inference path, not the product label.

Verdict

Compare partitioning, metadata and integration requirements before deciding whether another processing layer is needed.

Unstructured-IO/unstructured