Install
Install MarkItDown
MarkItDown is a Python package, so installing it means choosing a route (pip, uv, pipx, conda or the source) and choosing which file types you want support for. Every command on this page was run in its real shell on clean Windows, macOS and Linux machines, with the versions shown in the badge below.
Short answer
Quote the requirement and ask for everything. This one form worked unchanged in PowerShell, Command Prompt, bash, zsh and fish.
pip install "markitdown[all]"Then check it: markitdown --version prints markitdown 0.1.9. You need Python 3.10 to 3.14. On Python 3.9 the install appears to succeed and installs nothing useful: see the Python 3.9 trap.
Tested with markitdown 0.1.9 · Python 3.10 to 3.14 · Windows Server 2025, macOS 26 (arm64) and Ubuntu 24.04 (GitHub runners, plus a Linux lab) · uv 0.4 to 0.12 · pipx · conda · 2026-11-15 · evidence: builder.json, builder-runs.csv, builder-lifecycle.json, install-lifecycle.csv
Build your install command
Choose your system, installer and shell. The builder only offers combinations that we ran end to end; one that failed or was never run is shown greyed out with the reason. The rest of this page is the same information as plain text.
Install Command Builder
The interactive builder needs JavaScript. These are the default commands for each system (pip in a virtual environment, everything installed); every route and shell is explained in the sections below.
Windows · PowerShell 7
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install "markitdown[all]"
markitdown --version
markitdown report.docxmacOS · zsh
python3 -m venv .venv
source .venv/bin/activate
pip install "markitdown[all]"
markitdown --version
markitdown report.docxLinux · bash
python3 -m venv .venv
source .venv/bin/activate
pip install "markitdown[all]"
markitdown --version
markitdown report.docxChoose your system on the left.
markitdown 0.1.9 · every command below was run in its real shell on a GitHub runner (2026-11-15) · runs in your browser, nothing is uploaded
Check your Python first
MarkItDown needs Python 3.10 or newer. The two most recent releases also declare an upper limit.
Supported versions, release by release
| MarkItDown | Released | Python it declares |
|---|---|---|
| 0.0.1 to 0.1.7 | 2025-03 to 2026-07 | 3.10 and newer, no upper limit |
| 0.1.8 | 2026-09-21 | 3.10 to 3.14 |
| 0.1.9 | 2026-10-21 | 3.10 to 3.14 |
We installed and converted our whole corpus on Python 3.10, 3.11, 3.12, 3.13 and 3.14 on all three operating systems, with identical output in 108 of 113 files (the five differences are listed on the file-format page). The upper limit matters: on Python 3.15, pip does not refuse; it silently installs the old 0.0.2 release, which has no extras and none of today's converters. The same happens with uv and pipx when 3.15 is the newest Python on the machine, which is the case on a Mac with Homebrew's default Python (see below).
The Python 3.9 trap
$ pip install "markitdown[all]"
$ pip install --no-cache-dir "markitdown[all]"
Collecting markitdown[all]
Downloading markitdown-0.0.1a1-py3-none-any.whl (2.6 kB)
WARNING: markitdown 0.0.1a1 does not provide the extra 'all'
Installing collected packages: markitdown
Successfully installed markitdown-0.0.1a1
exit=0
$ pip list | grep -i markitdown
markitdown 0.0.1a1
$ markitdown --version
/bin/bash: line 1: /tmp/claude-0/edge3.9/bin/markitdown: No such file or directory raw log · pip exits 0; no command is created
pip picks the newest release whose declared Python requirement matches your interpreter. Every real release needs 3.10, so pip falls back to the one pre-release that declares no requirement. If markitdown is "not found" straight after an install, check your Python before anything else.
See which Python a command will use
py -0p
python --versionpython3 --version
which -a python3The first line shows every interpreter on Windows, the second the one that will run when you type python. Need a newer Python? Windows, macOS and Linux each show the safest way.
Choose a route
| You want | Use | Why |
|---|---|---|
| Just the command-line tool, kept apart from everything else | uv tool or pipx | An isolated environment with the command put on your PATH |
| To try it once without installing | uvx | Runs from a throw-away cache |
| To call it from Python code in a project | a virtual environment with pip | The package sits next to your code |
| You already work in conda | a conda environment, then pip | conda-forge lags PyPI; see the package-manager table |
| To change MarkItDown itself | the GitHub source | An editable install |
pip in a virtual environment
The default. Linux's system Python refuses global installs (see Linux), and global installs on Windows are where PATH problems start (command not found).
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install "markitdown[all]"python -m venv .venv
.venv\Scripts\activate.bat
pip install "markitdown[all]"python3 -m venv .venv
source .venv/bin/activate
pip install "markitdown[all]"python3 -m venv .venv
source .venv/bin/activate.fish
pip install "markitdown[all]"PowerShell may refuse the activation script until the policy is changed: the Windows page covers it.
uv
uv has three jobs here. uv tool install keeps the markitdown command for you. uvx runs it once. uv add puts it in a project.
uv tool install --python 3.13 "markitdown[all]"
uv tool update-shelluvx --python 3.13 --from "markitdown[all]" markitdown --versionuv tool install and uvx are different: the first leaves a command on PATH, the second leaves nothing behind. uv tool update-shell is what adds uv's tool folder to PATH when it is not there yet.
$ uvx --from "markitdown[all]" markitdown --version
markitdown 0.1.5 Pinning the version does not help on the old uv; it fails with a hint.
$ 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`) The fix is uv self update, or --prerelease=allow on the old uv:
$ uv pip install --prerelease=allow "markitdown[all]"
Installed 52 packages in 57ms
+ azure-ai-contentunderstanding==1.2.0b3
+ markitdown==0.1.9 uv add "markitdown[all]" on the old uv even writes >=0.1.5 into your pyproject.toml. The full table of uv versions is on the extras page.
pipx
For an isolated command without learning uv. Verified on all three systems.
pipx install --fetch-missing-python --python 3.13 "markitdown[all]"
pipx ensurepathpipx ensurepath fixes your PATH, but the change only applies to new terminals. If you installed pipx through uv, pipx inherits the old-uv trap above.
conda
Create an environment with a supported Python, then use pip inside it.
conda create -n markitdown python=3.12 pip -y
conda activate markitdown
pip install "markitdown[all]"From the GitHub source
Clone over HTTPS: the address in the upstream README is an SSH address, which fails with Permission denied (publickey) for anyone without an SSH key on GitHub. Then install the package folder in editable mode.
git clone https://github.com/microsoft/markitdown.git
cd markitdown
python3 -m venv .venv
source .venv/bin/activate
pip install -e "packages/markitdown[all]"We ran three quoting variants of the editable install in every shell, so you do not have to guess:
| System | Shell | Quoted | Unquoted | Backslash |
|---|---|---|---|---|
| windows | PowerShell 7 | works | works | fails |
| windows | Windows PowerShell 5.1 | works | works | fails |
| windows | Command Prompt | works | works | fails |
| macos | zsh | works | fails | works |
| macos | bash | works | works | works |
| macos | fish | works | works | works |
| linux | bash | works | works | works |
| linux | zsh | works | fails | works |
| linux | fish | works | works | works |
Only the quoted form works everywhere. Unquoted fails in zsh; the backslash form fails on Windows.
Verify that it works
Print the version
Command markitdown --versionYou should see markitdown 0.1.9
If the command is not found, run the module instead
Command python -m markitdown --versionYou should see markitdown 0.1.9
Convert a file
Use any of our sample files, for example report.docx, with
markitdown report.docx. The first lines should be a Markdown heading and text from the document.
Installed correctly means: the version printed is the current release; the command is found in a new terminal; one sample converts; and the extras you need are there. If a step fails: command not found, import errors, missing dependency.
What the install does and does not include
File-type support comes from extras: the bare package converts only a handful of types. The table is on the extras page, with measured sizes.
Two system programs cannot be installed by pip: ffmpeg, which MP3, M4A and MP4 audio need, and ExifTool, for image and audio metadata. See ffmpeg and the OS pages.
The MCP server (markitdown-mcp, MCP page) and the OCR plugin (markitdown-ocr, OCR page) are separate packages.
Is there something to download?
No. There is no installer, no .exe, no app from Microsoft and no Microsoft Store entry; winget finds nothing (see the table below). "Downloading MarkItDown" means pip fetching it from PyPI. If you want a program with buttons, MarkItDown does not have one. If you want to convert a file right now with no install, see the online converter. Be careful with websites that offer a "MarkItDown download": the only source for the package is PyPI and the project's GitHub repository.
Homebrew, Snap, winget and other package managers
We asked each manager on the test date. Nothing in this table comes from a search result alone.
| Manager | System | What we found | Version | Verdict |
|---|---|---|---|---|
| Homebrew | macOS | No formula or cask | - | Not available: brew says no formula named markitdown |
| winget | Windows | No package found | - | Not available (exit 20, no package found) |
| Chocolatey | Windows | 0 packages found | - | Not available |
| Snap | Linux | Published by a person, not Microsoft | 0.1.8 stable, 0.1.9 beta | Third party; stable channel one release behind PyPI. Use pipx or uv instead |
| conda-forge | all | Community feedstock | 0.1.8 | Works, one release behind PyPI; the MCP and OCR packages are not there |
| Anaconda defaults | all | Anaconda main channel | 0.1.5 | Four releases behind PyPI: do not use for current work |
| apt (Ubuntu 26.04) | Linux | No package | - | Not available |
| PyPI (pip, uv, pipx) | all | The publisher's own releases | 0.1.9 | The route this page recommends |
$ brew info markitdown
::error::No available formula with the name "markitdown". Did you mean markdown? $ winget search markitdown
No package found matching input criteria. The Snap is published by an individual, not by Microsoft, and its stable channel was one release behind PyPI.
$ snap find markitdown
Name Version Publisher Notes Summary
markitdown 0.1.8 sidaliteir - Convert PDF, Office documents, images and audio to Markdown How big and how slow is the install?
The bare package is 196 MB; everything is 407 MB
Installed size on disk, Linux, Python 3.13 (the same extras on Windows and macOS are within 10%)
- Dependency
- MarkItDown
| Item | MB on disk | Note |
|---|---|---|
| bare package | 196.1 | 62.4 MB to download |
| markitdown[docx] | 208.6 | 67.7 MB to download |
| markitdown[pdf] | 254.4 | 85.2 MB to download |
| markitdown[pptx] | 234.2 | 75.4 MB to download |
| markitdown[xlsx] | 275.9 | 75.1 MB to download |
| markitdown[all] | 407.0 | 138.4 MB to download |
Ubuntu 24.04 container · Python 3.13.18 · markitdown 0.1.9 · 2026-11-15 · extras-measured.csv
Most of the size is not MarkItDown (its own code is under 1 MB) but the libraries it uses to read PDF, Office and other files. The full breakdown is on the extras page.
Installing everything took 11 to 76 seconds
Time for pip install of markitdown[all] on fresh GitHub-hosted runners, per Python version
- Ubuntu
- Windows
- macOS
| Item | Ubuntu (seconds) | Windows (seconds) | macOS (seconds) |
|---|---|---|---|
| Python 3.10 | 20 | 76 | 22 |
| Python 3.11 | 14 | 34 | 18 |
| Python 3.12 | 16 | 39 | 15 |
| Python 3.13 | 17 | 37 | 21 |
| Python 3.14 | 19 | 40 | 11 |
GitHub-hosted runners · markitdown 0.1.9 · 2026-11-15 · platform-matrix.json
These are single cold runs on shared runners, not a benchmark: Windows is slower and noisier than the other two (one Python 3.10 run took 75 seconds).
Upgrade, pin or remove
Upgrade to the latest:
pip install --upgrade markitdownuv tool install --python 3.13 --force markitdown@latestpipx upgrade markitdownInstall an exact version:
pip install "markitdown==0.1.8"uv tool install --python 3.13 --force "markitdown==0.1.8"pipx install --fetch-missing-python --python 3.13 --force "markitdown==0.1.8"Uninstall:
pip uninstall -y markitdownuv tool uninstall markitdownpipx uninstall markitdownWe ran each of these on all three systems, in this order: install the latest, pin 0.1.8, try the upgrade command, go back to the latest, uninstall, and check that the command is gone.
| System | Route | Command | Before | After | Result |
|---|---|---|---|---|---|
| windows | uv-tool | uv tool upgrade markitdown | 0.1.8 | 0.1.8 | did not move |
| windows | pipx | pipx upgrade markitdown | 0.1.8 | 0.1.9 | moved |
| macos | uv-tool | uv tool upgrade markitdown | 0.1.8 | 0.1.8 | did not move |
| macos | pipx | pipx upgrade markitdown | 0.1.8 | 0.1.9 | moved |
| linux | uv-tool | uv tool upgrade markitdown | 0.1.8 | 0.1.8 | did not move |
| linux | pipx | pipx upgrade markitdown | 0.1.8 | 0.1.9 | moved |
Pin in production pipelines, because outputs can change between releases. The release history is on the releases page.
Offline machines and corporate proxies
We tested building a folder of wheels on a connected machine and installing from it with the index switched off, on all three systems.
pip download "markitdown[pdf,docx]" --dest wheelspip install --no-index --find-links wheels "markitdown[pdf,docx]"The wheels must match the offline machine's operating system and Python version. We did not test proxy or certificate settings, so this page does not describe them.
Pick your operating system
externally-managed-environment, ffmpeg and ExifTool.When the install fails
| You see | Cause | Go to |
|---|---|---|
markitdown is not recognized / command not found | Installed, but not on PATH, or wrong Python | command not found |
No module named 'markitdown', cannot import name 'MarkItDown' | Different Python than the one you installed into | import errors |
zsh: no matches found: markitdown[all] | Unquoted brackets in zsh | macOS |
externally-managed-environment | System Python refuses global installs | Linux |
MissingDependencyException | An extra is not installed | missing dependency |
| Version 0.1.5 installed | Old uv, see above | this page |
| Version 0.0.1a1 installed | Python 3.9 or older, see above | this page |