Install

MarkItDown extras and install size

Updated 2026-11-15·Upstream source ↗
Markdown view

Since release 0.1.0 the base package converts very little on its own: each family of file formats is switched on by an "extra", a name in square brackets added at install time. This page tells you which extra you need, what each one installs, and how much disk space it takes, measured on three operating systems.

Short answer

Install everything with the everything-extra, or name only the formats you need, comma-separated inside one pair of quotes.

Command
pip install "markitdown[all]"
Command
pip install "markitdown[pdf,docx,pptx,xlsx]"
You want to convertInstall
PDFmarkitdown[pdf]
Word (.docx)markitdown[docx]
Excel (.xlsx, .xls)markitdown[xlsx], markitdown[xls]
PowerPoint (.pptx)markitdown[pptx]

Tested with markitdown 0.1.9 · Python 3.10 to 3.14 · Ubuntu 24.04, Windows Server 2025 and macOS 26 (GitHub runners, plus a Linux lab) · 2026-11-15 · evidence: extras-measured.csv, extras-by-os-python.csv, security-checks.csv, licences-raw.json

Which extra do I need?

Look up what you have in hand. The last two columns come from our own runs: the middle column of with the bare install is what happened when we converted every file of that type in our corpus with no extras installed. Type an extension in the filter box to narrow the table.

Which extra converts which input
You haveExtensionInstall extraAlso needsWith the bare installDetails
PDF.pdfpdfScanned PDFs also need an OCR routefails: 32 of 32 files, the message names [docx, pdf]PDF to Markdown
Word.docxdocxnothingfails: 15 of 15 files, the message names [docx]Word (DOCX)
Word, legacy.docnone (not supported)no extra helps: convert the file to .docx firstunsupported: 1 of 1 filesWord (DOCX)
PowerPoint.pptxpptxnothingfails: 4 of 4 files, the message names [pptx]PowerPoint (PPTX)
Excel.xlsxxlsxnothingfails: 7 of 7 files, the message names [xlsx]Excel (XLSX, XLS)
Excel, legacy.xlsxlsnothingfails: 2 of 2 files, the message names [xls]Excel (XLSX, XLS)
Outlook message.msgoutlooknothingfails: 1 of 1 files, the message names [outlook]Supported formats
Audio: WAV.wavaudio-transcriptioninternet access (speech service)exit 0, but metadata only: no transcriptAudio and video
Audio: MP3, M4A.mp3, .m4aaudio-transcriptionffmpeg and internet accessexit 0, but metadata only: no transcriptAudio and video
YouTube video addressa youtube.com URLyoutube-transcriptioninternet accessnot tested (needs internet access to YouTube)YouTube transcripts
Azure Document Intelligence-d, --endpointaz-doc-intelan Azure resource and credentials (not tested by us)not tested by usLLM image descriptions
Azure Content Understanding--use-cuaz-content-understandingan Azure resource and credentials (not tested by us)not tested by usLLM image descriptions
Web pages and HTML.html, URLsnonenothingconverts (5 of 5 files)HTML, URLs, Wikipedia, RSS
CSV.csvnonenothingconverts (8 of 8 files)CSV, JSON, XML, text
JSON, XML, YAML, plain text, Markdown.json .xml .yaml .txt .mdnonenothing (these are passed through as text)converts (11 of 11 files)CSV, JSON, XML, text
E-books.epubnonenothingconverts (2 of 2 files)Supported formats
ZIP archives.zipnonethe extras of the files insideconverts (2 of 2 files)Supported formats
Jupyter notebooks.ipynbnonenothingconverts (1 of 1 files)Supported formats
Images.jpg, .pngnoneExifTool for metadata; an LLM client for descriptionsconverts (3 of 3 files)Images
Which extra converts which input Source: markitdown 0.1.9 · 2026-11-15 · extras-lookup.csv · Download CSV

What each extra installs, measured

Installed size is the sum of the files each package lists in its own metadata (so it includes compiled bytecode); pip and setuptools are not counted. Every row is a fresh virtual environment with pip's cache switched off.

What every extra adds to the bare install
ExtraDistributionsOn disk (MB)Added (MB)Download (MB)Compiled packagesPackages it adds
bare (no extras)19196.10.062.44
pdf26254.458.385.28cffi, cryptography, pdfminer.six, pdfplumber, pillow, pycparser, pypdfium2
docx22208.612.567.75cobble, lxml, mammoth
pptx23234.238.175.46lxml, pillow, python-pptx, xlsxwriter
xlsx24275.979.875.15et_xmlfile, openpyxl, pandas, python-dateutil, tzdata
xls23274.678.574.95pandas, python-dateutil, tzdata, xlrd
outlook20196.60.562.54olefile
audio-transcription24241.645.595.45SpeechRecognition, audioop-lts, pydub, standard-aifc, standard-chunk
youtube-transcription20198.52.462.94youtube-transcript-api
az-doc-intel29219.022.968.26PyJWT, azure-ai-documentintelligence, azure-core, azure-identity, cffi, cryptography, isodate, msal, msal-extensions, pycparser
az-content-understanding29218.922.868.26PyJWT, azure-ai-contentunderstanding, azure-core, azure-identity, cffi, cryptography, isodate, msal, msal-extensions, pycparser
all52407.0210.9138.41133 packages (see the install-packages.json)
What every extra adds to the bare install Source: markitdown 0.1.9 · Python 3.13.18 · 2026-11-15 · extras-measured.csv · Download CSV

Every extra adds to a 196 MB baseline

Installed size per extra on Linux with Python 3.13; the baseline is the bare install

  • bare install
  • added by the extra
Every extra adds to a 196 MB baseline
Itembare installadded by the extraTotal (MB on disk)
pdf19658254
docx19613209
pptx19638234
xlsx19680276
xls19679275
outlook1961197
audio-transcription19646242
youtube-transcription1962199
az-doc-intel19623219
az-content-understanding19623219
[all]196211407

Ubuntu 24.04 container · Python 3.13.18 · pip 26.2.2 · markitdown 0.1.9 · 2026-11-15 · extras-measured.csv

The complete list of packages and versions for every row is in install-packages.json. Install times in a shared lab container vary too much to publish; on the GitHub runners the bare install took 4 to 22 seconds and [all] 8 to 43 seconds (install-footprint.csv).

Why the bare install is already about 200 MB

Where the megabytes go

Three packages are 95% of the bare install

Largest distributions in the bare install, Linux, Python 3.13 (MarkItDown's own code is under 1 MB)

Three packages are 95% of the bare install
ItemMB on diskNote
onnxruntime79.940.8% of the bare install
numpy68.234.8% of the bare install
magika37.819.3% of the bare install
protobuf2.41.2% of the bare install
packaging1.00.5% of the bare install
14 other packages6.6

Ubuntu 24.04 container · Python 3.13.18 · markitdown 0.1.9 · 2026-11-15 · total 195.9 MB · bare-breakdown.csv

Almost all of it is three packages: a machine-learning runtime, a numerical library that the runtime needs, and magika, the model-based file-type detector. MarkItDown's own code is a rounding error.

Why they are there

MarkItDown asks magika to look at the content of a file instead of trusting its name. That is why a PDF with no extension converts, and why a DOCX that was renamed .pdf still converts correctly. A known extension still wins for text-like content: a PDF renamed .txt is echoed as raw bytes.

What file-type detection does with a wrong or missing extension
FileGradeWhat happened
synthetic/no-extension-pdfCContent sniffing (magika) recognised the PDF without an extension; same output as pdf-text.pdf.
synthetic/edge-wrong-extension.pdfBA DOCX renamed .pdf converts correctly: content detection wins over a wrong binary extension here (compare pdf-renamed-as.txt).
synthetic/pdf-renamed-as.txtDA PDF named .txt is echoed as raw PDF bytes (the extension beats content detection).
What file-type detection does with a wrong or missing extension Source: ubuntu-latest runner, Python 3.13, markitdown 0.1.9, ffmpeg 8.0.1, ExifTool 13.50 · 2026-11-15 · format-matrix.csv

Can I install without it?

No. magika is a hard dependency of the current release: with it removed, MarkItDown does not even import.

markitdown 0.1.9 · Ubuntu 24.04 · after pip uninstall -y magika · 2026-11-15
$ python -c "import markitdown"
  File "/tmp/tmp.yFqzXE6lOx/v3/lib/python3.13/site-packages/markitdown/_markitdown.py", line 17, in <module>
    import magika
ModuleNotFoundError: No module named 'magika'

raw log

Making it optional is a long-standing upstream request. Our browser converter runs the unmodified library with a small stand-in for the detector, which is not a supported setup for a local install: do not stub it yourself.

The biggest additions in [all]

Ranked by size, among the packages that are not already in the bare install:

Largest packages added by the extras
PackageMBBrought byLicence
pandas76.5xlsx, xlsBSD-3-Clause
SpeechRecognition44.9audio-transcriptionBSD-3-Clause
pillow21.8pdf, pptxMIT-CMU
cryptography15.6pdf, az-doc-intel, az-content-understandingApache-2.0 OR BSD-3-Clause
lxml12.0docx, pptxBSD-3-Clause
pdfminer.six9.4pdfMIT
pypdfium29.3pdfBSD-3-Clause, Apache-2.0, dependency licenses
python-pptx2.5pptxMIT License
Largest packages added by the extras Source: see data file · extras-package-origin.csv · Download CSV

The spreadsheet extras are the heaviest single choice, because they bring the data-frame library. The audio extra is next, because its speech library bundles an acoustic model and FLAC programs inside the package (43 MB).

Smallest set for common jobs

Sizes of combinations are computed as the union of the package sets, never by adding table rows: the baseline would be counted several times. We checked the method against the eight combinations we also installed for real. The union matched every one to the first decimal place, while the naive sum of rows over-counted by up to 78 MB.

Smallest install for common jobs (Linux, Python 3.13)
JobInstallMBSaving vs [all] (MB)Method
Office documents and PDF (pdf, docx, pptx, xlsx)markitdown[pdf,docx,pptx,xlsx]350.956.1measured
PDF onlymarkitdown[pdf]254.4152.6measured
Spreadsheets only (xlsx)markitdown[xlsx]275.9131.1measured
Word only (docx)markitdown[docx]208.6198.4measured
Everything except audio, YouTube and Azure (pdf, docx, pptx, xlsx, xls, outlook)markitdown[pdf,docx,pptx,xlsx,xls,outlook]352.154.9union
Audio and YouTube transcriptsmarkitdown[audio-transcription,youtube-transcription]244.0163.0measured
MCP server (markitdown-mcp)markitdown-mcp427.9-20.9measured
OCR plugin (markitdown-ocr)markitdown-ocr420.1-13.1measured
Everything ([all])markitdown[all]407.00.0measured
Smallest install for common jobs (Linux, Python 3.13) Source: Python 3.13.18 · 2026-11-15 · extras-jobs.csv · Download CSV
Method check: union of package sets against a real install
CombinationMeasured (MB)Union (MB)Sum of rows (MB)
audio-transcription+youtube-transcription244.0244.0244.0
docx+pptx+xlsx314.5314.5326.5
pdf+audio-transcription299.9299.9299.9
pdf+docx+pptx+xlsx+outlook351.4351.4385.3
pdf+docx+pptx+xlsx350.9350.9384.8
pdf+docx+pptx271.1271.1305.0
pdf+docx266.9266.9266.9
xlsx+xls276.7276.7354.4
Method check: union of package sets against a real install Source: see data file · extras-union-validation.csv · Download CSV

Two rows have a negative saving: the MCP server and the OCR plugin are larger than [all]. The MCP server installs everything plus the server stack. The OCR plugin declares its own list of document libraries on top of the bare package, including PyMuPDF, which is published under the GNU Affero GPL 3.0 or a commercial licence from Artifex. MarkItDown itself is MIT-licensed; check the dependency licence before you ship the plugin. Every package's licence as published is in dependency-licences.csv.

Things an extra cannot install

What each extra pulls in, and what pip cannot install. Left: the extra you name. Middle: the largest Python packages it adds beyond the bare install (measured). Right: programs and services outside pip; a dashed box means the network is involved.

ffmpeg

The audio extra needs ffmpeg for MP3 and M4A files; a WAV file does not need it, and neither does any PDF or Office file. In every release we tested, converting an MP3 without ffmpeg fails with AudioConverter threw FileNotFoundError (the missing file is ffprobe). The well-known warning is a separate matter: releases 0.1.4 to 0.1.7 print it on every run, whatever file you convert, and 0.1.8 and 0.1.9 do not. Details on the ffmpeg page.

ExifTool

ExifTool is optional. Without it, a JPEG or PNG converts to an empty file (unless you configure an LLM client); with it, MarkItDown prints a few metadata lines. It refuses an ExifTool older than 12.24: with one that reports 12.16 the conversion fails with ExifTool version 12.16 is vulnerable to CVE-2021-22204. More in the images page.

Accounts and keys

The two Azure extras install client libraries only. You still need an Azure resource and credentials, and we did not test Azure (upstream documentation covers it). LLM image descriptions need no extra at all, but need a client library you install yourself: see the LLM page.

Extras that send data off your machine

We ran one conversion per file type under a system-call trace with every web request routed to a local proxy that refuses it, so nothing left the machine and we saw only what the library tried to reach. Document formats made no network request at all.

What each conversion tried to contact
ConversionExtraRequest seenWhat leaves the machine
DOCXdocxnoneNothing: no network request was made
PDFpdfnoneNothing: no network request was made
XLSXxlsxnoneNothing: no network request was made
PPTXpptxnoneNothing: no network request was made
CSVnone needednoneNothing: no network request was made
HTML filenone needednoneNothing: no network request was made
EPUBnone needednoneNothing: no network request was made
ZIPnone needednoneNothing: no network request was made
Jupyter notebooknone needednoneNothing: no network request was made
RSS feednone needednoneNothing: no network request was made
plain textnone needednoneNothing: no network request was made
Outlook MSGoutlooknoneNothing: no network request was made
image with metadata (no LLM)none needednoneNothing: no network request was made
WAV audioaudio-transcriptionPOST http://www.google.com/speech-api/v2/recognizeYour audio, sent in the request body to Google's speech endpoint over plain HTTP
MP3 audioaudio-transcriptionPOST http://www.google.com/speech-api/v2/recognizeYour audio (converted to WAV first), sent to Google's speech endpoint over plain HTTP
web page URLnone (built in)CONNECT example.com:443A request to the address you gave, from your machine
YouTube URLyoutube-transcriptionCONNECT www.youtube.com:443Requests to youtube.com for the page and the transcript
PDF with -d and an Azure endpointaz-doc-intelCONNECT mobile.events.data.microsoft.com:443; GET http://169.254.169.254/metadata/identity/oauth2/tokenWith an Azure endpoint configured it tried the Azure sign-in route (instance-metadata address 169.254.169.254) and a Microsoft telemetry host; the document was not sent because sign-in failed first
What each conversion tried to contact Source: markitdown 0.1.9 · 2026-11-15 · security-checks.csv · Download CSV

Audio transcription deserves a second look: the request goes to Google's speech endpoint as plain http://, not https://. For strictly local use, install only the document extras. The security page covers the rest.

Writing it down: requirements files and project files

The same syntax works everywhere. In a requirements file, pin the version together with the extras:

Configrequirements.txt
markitdown[pdf,docx,pptx,xlsx]==0.1.9
markitdown 0.1.9 · Ubuntu 24.04 · pip 26.2.2 · 2026-11-15
$ pip install --dry-run -r requirements.txt
Would install beautifulsoup4-4.15.0 certifi-2026.10.23 cffi-2.1.1 charset-normalizer-3.5.2 click-8.5.1 cobble-0.1.4 cryptography-50.0.2 defusedxml-0.7.1 et_xmlfile-2.0.0 flatbuffers-25.12.19 idna-3.20 lxml-6.1.3 magika-1.0.3 mammoth-1.13.0 markdownify-1.2.3 markitdown-0.1.9 numpy-2.5.4 onnxruntime-1.32.0 openpyxl-3.1.5 packaging-26.3 pandas-3.1.1 pdfminer.six-20260107 pdfplumber-0.11.10 pillow-13.

raw log · dry run, nothing installed

In a pyproject.toml dependency list:

Configpyproject.toml
[project]
name = "demo"
version = "0.0.0"
requires-python = ">=3.10"
dependencies = ["markitdown[pdf,docx]>=0.1.9,<0.2"]

With uv, uv add writes the extras into the project file:

Command
uv add "markitdown[pdf,docx]==0.1.9"

To add an extra to an existing install, repeat the install with the longer list. pip keeps what is installed and adds only what is missing:

markitdown 0.1.9 · Ubuntu 24.04 · pip 26.2.2 · 2026-11-15
$ pip install "markitdown[pdf,docx]==0.1.9"
Requirement already satisfied: markitdown==0.1.9 in /tmp/tmp.yFqzXE6lOx/v2/lib/python3.13/site-packages (from markitdown[docx,pdf]==0.1.9) (0.1.9)
Collecting lxml (from markitdown[docx,pdf]==0.1.9)
Collecting mammoth<2,>=1.12.2 (from markitdown[docx,pdf]==0.1.9)
Requirement already satisfied: pdfminer-six>=20251230 in /tmp/tmp.yFqzXE6lOx/v2/lib/python3.13/site-packages (from markitdown[docx,pdf]==0.1.9) (20260107)
Collecting cobble<0.2,>=0.1.3 (from mammoth<2,>=1.12.2->markitdown[docx,pdf]==0.1.9)
Successfully installed cobble-0.1.4 lxml-6.1.3 mammoth-1.13.0

raw log · markitdown[pdf] was already installed

Quoting differs by shell: see the Windows page for PowerShell and the macOS page for zsh.

The [all] pre-release catch

pip accepts that. uv before 0.12.0 refuses pre-releases by default, and it does not fail: it quietly installs MarkItDown 0.1.5, the last release whose [all] needs no pre-release. We tested the last release of every uv series from 0.4 to 0.13, plus three 0.12 releases: the series up to 0.11 (last tested 0.11.33) all fell back, and 0.12.0 and later resolve 0.1.9.

markitdown resolved 0.1.5 · Ubuntu 24.04 · uv 0.11.32 · 2026-11-15
$ uvx --from "markitdown[all]" markitdown --version
markitdown 0.1.5

raw log

uv add records the damage in your project file:

markitdown resolved 0.1.5 · Ubuntu 24.04 · uv 0.11.32 · 2026-11-15
$ uv add "markitdown[all]"
$ grep -A3 dependencies pyproject.toml
dependencies = [
    "markitdown[all]>=0.1.5",

raw log · the line written to pyproject.toml

Pinning the version turns the silent downgrade into a clear error:

markitdown 0.1.9 requested · Ubuntu 24.04 · uv 0.11.32 · 2026-11-15
$ uv pip install "markitdown[all]==0.1.9"
  × No solution found when resolving dependencies:
  ╰─▶ Because only azure-ai-contentunderstanding<1.2.0b1
      is available and markitdown[all]>=0.1.9 depends on
      azure-ai-contentunderstanding>=1.2.0b1, we can conclude that
      markitdown[all]>=0.1.9 cannot be used.
      And because you require markitdown[all]==0.1.9, we can conclude that
      your requirements are unsatisfiable.

hint: `azure-ai-contentunderstanding` was requested with a pre-release marker (e.g., azure-ai-contentunderstanding>=1.2.0b1), but pre-releases weren't enabled (try: `--prerelease=allow`)

raw log

Two safe options: use uv 0.12.0 or newer, or tell the old uv to allow pre-releases:

markitdown 0.1.9 · Ubuntu 24.04 · uv 0.11.32 · 2026-11-15
$ uv pip install --prerelease=allow "markitdown[all]"
Installed 52 packages in 57ms
 + azure-ai-contentunderstanding==1.2.0b3
 + markitdown==0.1.9

raw log

Or leave out the Content Understanding extra and list the others yourself:

Command
pip install "markitdown[pdf,docx,pptx,xlsx,xls,outlook]"

The full note, including uvx and pipx (pipx inherits the problem when uv is on your PATH), is on the install page.

Size by operating system and Python version

One global number would mislead. The same install is 341 MB on Windows and 416 MB on Linux, because the platform-specific packages (compiled wheels) differ, and Python 3.10 adds a few extra packages of its own.

markitdown[all] takes 341 to 416 MB depending on system and Python

Installed size per Python version on GitHub runners (the bare install: 148 to 220 MB)

  • Ubuntu
  • Windows
  • macOS
markitdown[all] takes 341 to 416 MB depending on system and Python
ItemUbuntu (MB on disk)Windows (MB on disk)macOS (MB on disk)
Python 3.10412361376
Python 3.11416349375
Python 3.12407342369
Python 3.13407341368
Python 3.14412346374

GitHub-hosted runners (Ubuntu 24.04, Windows Server 2025, macOS 26 arm64) · pip, no cache · markitdown 0.1.9 · 2026-11-15 · extras-by-os-python.csv

What you see when an extra is missing

The message names the converter, the file type and the exact extra to install, after the wrapper line FileConversionException.

markitdown 0.1.9 · Ubuntu 24.04 · bare install · 2026-11-15
$ markitdown pdf-text.pdf
markitdown._exceptions.FileConversionException: File conversion failed after 1 attempts:
 - PdfConverter threw MissingDependencyException with message: PdfConverter recognized the input as a potential .pdf file, but the dependencies needed to read .pdf files have not been installed. To resolve this error, include the optional dependency [pdf] or [all] when installing MarkItDown. For example:

* pip install 'markitdown[pdf]'
* pip install 'markitdown[all]'
* pip install 'markitdown[pdf, ...]'
* etc.

raw log · base package, no extras

How to read that nested message, and what UnsupportedFormatException means instead, is on the missing-dependency page.

History of the extras

When each extra first appeared in a release
ExtraFirst seen inDate
all0.1.0a12025-03-06
audio-transcription0.1.0a12025-03-06
az-doc-intel0.1.0a12025-03-06
docx0.1.0a12025-03-06
outlook0.1.0a12025-03-06
pdf0.1.0a12025-03-06
pptx0.1.0a12025-03-06
xls0.1.0a12025-03-06
xlsx0.1.0a12025-03-06
youtube-transcription0.1.0a12025-03-06
az-content-understanding0.1.62026-05-26
When each extra first appeared in a release Source: 2025-03-06 · extras-history.csv · Download CSV
  • Before 0.1.0, installing MarkItDown installed every format library; that is why older tutorials say plain pip install markitdown is enough. From the 0.1.0 pre-releases (March 2025) the formats moved into extras.
  • az-content-understanding is the only extra added since: release 0.1.6, May 2026.
  • Minimum versions have been raised for security and compatibility: ExifTool 12.24 in 0.1.3, and in 0.1.9 mammoth 1.12.2 and a current certifi. Every release is explained in the releases page.

Choosing extras: a checklist

  1. List the file types you will really convert, and install only those extras.
  2. Add the programs pip cannot: ffmpeg for MP3 and M4A, ExifTool if you want image metadata.
  3. Check which features leave the machine (the table above) before you install the audio or YouTube extras.
  4. Pin the version together with the extras, and record the installed size if you have an image budget (the Docker page uses these numbers).
  5. If you only want to try it without installing anything, use the online converter.