Install

Install MarkItDown on Windows 11

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

By the end of this page you will have a markitdown command that works in a PowerShell window and a Word file converted to Markdown with every accent intact. We ran each step on Windows runners (Windows Server 2025, which is the Windows 11 code base, Server 2022 and Windows 11 on ARM64); PowerShell comes first and Command Prompt is shown where it differs. We could not capture screenshots of the Windows desktop in our test setup, so the steps are text and terminal output only.

Short answer

If you already have Python 3.10 or newer, open PowerShell in your folder and run:

Command
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install "markitdown[all]"
markitdown --version

Always save results with -o, never with >: see why.

Tested with markitdown 0.1.9 · Python Windows Server 2025 (Windows 11 era), Windows Server 2022, Windows 11 Enterprise ARM64 · PowerShell 7.6, Windows PowerShell 5.1, Command Prompt, Git Bash · Python 3.13 (GitHub runners) · 2026-11-15 · evidence: windows-latest.log, windows-2022.log, windows-11-arm.log, windows-11-arm-extras.log

The short version

1 Pythonwinget install2 New windowPowerShell3 Environmentvenv + activate4 Installpip install5 Convertmarkitdown -onot recognized(old window)running scriptsis disabled> replacescharacters with ?
Five stations, three places to fall off. Install Python, open a new terminal, create and activate an environment, install MarkItDown, convert. The three failures on Windows: the command is not recognized because the terminal or environment is wrong, activation is blocked by the execution policy, and redirecting output with the greater-than sign loses characters.

Step 1: Install Python (skip if py -0p shows 3.10 or newer)

Which Python to install

We tested the winget route: it installs the python.org build silently, registers it with the py launcher and adds both the Python folder and its Scripts folder to your user PATH. We did not test the python.org installer by hand or the Microsoft Store build, so we cannot compare them; winget is the one we can show working.

Command
winget install --id Python.Python.3.12 --exact
py -0p

py is the Python launcher: it finds installed Pythons even when python is not on PATH. MarkItDown needs 3.10 to 3.14 (version rules and the Python 3.9 trap).

What the installer looks like

The first screen of the Python 3.13.1 installer with the Add python.exe to PATH box unchecked
The Python installer's first screen: the PATH box is unchecked by default · Windows Server 2025 runner (build 26100) · Python 3.13.1 installer · 2026-11-16

The box that adds Python to PATH is unchecked until you tick it. We captured this on a Windows Server 2025 runner, not on Windows 11, so the window frame can differ on your machine.

Step 2: Open PowerShell in your folder

In File Explorer, right-click inside the folder (or the folder itself) and choose Open in Terminal. Everything below runs in PowerShell 7 and in Windows PowerShell 5.1; where Command Prompt differs it has its own tab.

Step 3: Create and activate a virtual environment

A virtual environment keeps MarkItDown and its dependencies in a .venv folder next to your files, so nothing touches your system Python.

Activate it, and the red error you may see

PowerShell may refuse to run the activation script. This is what it prints when script execution is switched off:

markitdown n/a · Windows PowerShell 5.1 · policy Restricted (process scope) · Server 2025 runner · 2026-11-15
PS> .\v\Scripts\Activate.ps1
$ .\v\Scripts\Activate.ps1
& : File D:\a\work\work\results\windows-latest\_c_activate_restricted.ps1 cannot be loaded 
because running scripts is disabled on this system. For more information, see about_Execution_Policies at 
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:74
+ ... d -Force; & 'D:\a\work\work\results\windows-lat ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

raw log

The fix applies to the current window only and disappears when you close it:

Command
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
.venv\Scripts\Activate.ps1

In Command Prompt activation uses a batch file and no policy is involved: use the Command Prompt tab above.

The line from most tutorials, source .venv/bin/activate, is for Linux and macOS. On Windows it fails in PowerShell and in Command Prompt:

markitdown n/a · PowerShell 7.6 · Server 2025 runner · 2026-11-15
PS> source v/bin/activate
$ source v/bin/activate
source: D:\a\work\work\results\windows-latest\_c_activate_bash_style_pwsh.ps1:1
Line |
   1 |  source v/bin/activate
     |  ~~~~~~
     | The term 'source' is not recognized as a name of a cmdlet, function, script file, or executable program. Check
     | the spelling of the name, or if a path was included, verify that the path is correct and try again.

raw log

How to tell it is active

The prompt starts with (.venv), and Get-Command python shows a path inside your .venv\Scripts folder.

The error as it appears

A PowerShell window with the red error that running scripts is disabled on this system when activating a virtual environment
Activating a virtual environment with the Restricted execution policy · Windows Server 2025 runner (build 26100) · PowerShell 5.1 policy Restricted · 2026-11-16

Step 4: Install MarkItDown

Use the install line from the first block. The quotes matter in one place:

Does pip install markitdown[pdf] work? Each form in each Windows shell
ShellFormResultError
PowerShell 7"markitdown[pdf]"works
PowerShell 7'markitdown[pdf]'works
PowerShell 7markitdown[pdf] (no quotes)works
Windows PowerShell 5.1"markitdown[pdf]"works
Windows PowerShell 5.1'markitdown[pdf]'works
Windows PowerShell 5.1markitdown[pdf] (no quotes)works
Command Prompt"markitdown[pdf]"works
Command Prompt'markitdown[pdf]'failsERROR: Invalid requirement: "'markitdown[pdf]'": Expected package name at the start of dependency specifier
Command Promptmarkitdown[pdf] (no quotes)works
Git Bash"markitdown[pdf]"works
Git Bash'markitdown[pdf]'works
Git Bashmarkitdown[pdf] (no quotes)works
Does pip install markitdown[pdf] work? Each form in each Windows shell Source: evidence/T28/windows-latest.log · windows-quoting.csv · Download CSV

Double quotes work in every shell. Single quotes fail in Command Prompt, because it passes them to pip literally:

markitdown pip 26.2.2 · Command Prompt · Server 2025 runner · 2026-11-15
$ pip install -q 'markitdown[pdf]'
ERROR: Invalid requirement: "'markitdown[pdf]'": Expected package name at the start of dependency specifier
    'markitdown[pdf]'
    ^

raw log

Then check it: markitdown --version prints markitdown 0.1.9. The [all] install took 34 to 40 seconds on the Windows runners (one Python 3.10 run took 75) and about 340 MB; choose fewer extras to make that smaller.

Step 5: Convert your first file

Download report.docx into your folder, then:

Command
markitdown report.docx -o report.md
markitdown report.docx

The first line writes report.md, which you can open in Notepad or VS Code; the second prints the result in the window. What to do next: the quickstart.

A PowerShell window in Windows Terminal showing markitdown 0.1.9 and the first lines of a converted Word report
markitdown report.docx -o report.md, then the first lines of report.md · Windows Server 2025 runner (build 26100) · markitdown 0.1.9 · 2026-11-16

Always save with -o on Windows

One Word file saved different ways (default settings, Windows runners)
ShellHow it was savedFile is東京Emojicafé
cmd> outWindows-1252lostlostkept
cmd-oUTF-8keptkeptkept
pwsh 7> outWindows-1252lostlostkept
pwsh 7| Out-FileUTF-8lostlostlost
pwsh 7| Out-File -Encoding utf8UTF-8lostlostlost
pwsh 7| Set-ContentUTF-8lostlostlost
pwsh 7-oUTF-8keptkeptkept
pwsh 7> out after setting OutputEncoding to UTF-8Windows-1252lostlostkept
Windows PowerShell 5.1> outUTF-16lostlostlost
Windows PowerShell 5.1| Out-FileUTF-16lostlostlost
Windows PowerShell 5.1| Out-File -Encoding utf8UTF-8 + BOMlostlostlost
Windows PowerShell 5.1| Set-ContentUTF-8lostlostlost
Windows PowerShell 5.1-oUTF-8keptkeptkept
Windows PowerShell 5.1> out after setting OutputEncoding to UTF-8UTF-16lostlostlost
One Word file saved different ways (default settings, Windows runners) Source: evidence/T17 · run 43740808452 · windows-redirect-table.csv · Download CSV

Setting PYTHONUTF8=1 first makes most redirects safe, but not Windows PowerShell 5.1 (it still writes UTF-16 or loses characters), so the rule stays: use -o. The complete experiment with code-page variants is on the UnicodeEncodeError page. We could not test a real non-Western Windows installation, only emulated code pages.

Notepad showing a converted file with Arabic, Hebrew, Cyrillic and Greek text intact, saved as UTF-8
Converted with -o: the same file, text intact, UTF-8 · Windows Server 2025 runner (build 26100) · markitdown 0.1.9, Notepad · 2026-11-16
Notepad showing a converted file in which the non-Latin letters have become question marks, saved as UTF-16 LE
Converted with > in Windows PowerShell 5.1: the letters are lost and the file is UTF-16 · Windows Server 2025 runner (build 26100) · markitdown 0.1.9, Windows PowerShell 5.1 · 2026-11-16

The file written by > in Windows PowerShell 5.1 opens as UTF-16 LE in Notepad (see its status bar) and every non-Latin letter is a question mark. The -o version of the same conversion keeps the text (encoding errors).

"markitdown is not recognized" after a successful install

Three causes, most likely first: you are in a window where the environment is not active; the install went to a user Scripts folder that is not on PATH; the window was open before Python was installed. The fastest workaround needs no PATH at all:

Command
python -m markitdown --version

We tried to reproduce the PATH warning with pip install --user on the runners and could not, because their user Scripts folder was already on PATH (it is %APPDATA%\Python\Python313\Scripts); on a machine where it is not, pip prints that folder in a warning at the end. The full diagnosis is on the command-not-found page. The first fix is a virtual environment or a tool installer, not editing PATH by hand.

The PATH variable is edited here:

The Windows Environment Variables dialog with the user Path variable selected
Where the PATH variable is edited · Windows Server 2025 runner (build 26100) · Windows build 26100 · 2026-11-16

Prefer one command, no environments? Use uv or pipx

These put markitdown on your PATH once, with nothing to activate. Both were run end to end on Windows (see the install page, which also explains the uv 0.12 requirement).

Command
winget show --id astral-sh.uv --exact
uv tool install --python 3.13 "markitdown[all]"
uv tool update-shell
Command
pipx install --fetch-missing-python --python 3.13 "markitdown[all]"
pipx ensurepath

Things that are different on Windows

Line endings

Files written with -o use Windows line endings: our test output had 36 CRLF in 886 bytes. The text is otherwise identical to Linux and macOS output (the cross-platform test). It matters for Git diffs and hashes.

Paths

A file name with spaces and Japanese characters (my report 東京.docx) converted normally and -o wrote a similarly named file. Quote paths that contain spaces.

Network paths: the upstream release notes suggest UNC and device paths are rejected from 0.1.8. We did not see that. Both a UNC path (through the loopback share \\localhost\D$) and a \\?\ device path converted on 0.1.9, on the command line and from Python, and on 0.1.7:

markitdown 0.1.9 · PowerShell 7.6 · Server 2025 runner · 2026-11-15
PS> markitdown "\\localhost\D$\...\my report 東京.docx"
Pilot Report: Field Station Alpha

# 1. Summary

This report covers **three sites** during *spring 2026* <u>with underlined</u> ~~and struck text.~~

raw log · Same on 0.1.9 and, run separately, on 0.1.7

Command
markitdown "\\server\share\report.docx"

We only tested the loopback share, not a remote file server; a mapped drive test did not run properly, so we say nothing about it.

ffmpeg and ExifTool

Only audio (MP3, M4A, MP4) needs ffmpeg and only image and audio metadata needs ExifTool. Both exist in winget and installed on our runner:

Command
winget install --id Gyan.FFmpeg --exact
winget install --id OliverBetz.ExifTool --exact
markitdown ffmpeg 9.0.2, ExifTool 13.61 · Windows Server 2025 runner · winget · 2026-11-15
$ winget install --id Gyan.FFmpeg --exact; winget install --id OliverBetz.ExifTool --exact
Path environment variable modified; restart your shell to use the new value.
Successfully installed
                                                                                                                        
Successfully installed
C:\Users\runneradmin\AppData\Local\Microsoft\WinGet\Links\ffmpeg.exe
C:\Users\runneradmin\AppData\Local\Programs\ExifTool\ExifTool.exe
ffmpeg version 9.0.2-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers
13.61

raw log

winget adds them to PATH for new windows only. The ffmpeg page explains the warning.

Windows on ARM

On a Windows 11 ARM64 machine with Python 3.13 for ARM64, every extra installed except pdf, and therefore all. pip picks the newest cryptography, which has no ARM64 wheel, tries to build it from source and fails for lack of OpenSSL:

markitdown 0.1.9 · Windows 11 Enterprise ARM64 runner · Python 3.13 ARM64 · 2026-11-15
$ pip install "markitdown[pdf]"
  ERROR: Failed building wheel for cryptography
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: C:\a\work\work\v7\Scripts\python.exe -m pip install --upgrade pip
Failed to build cryptography
error: failed-wheel-build-for-install

raw log

Asking pip for wheels only makes it choose the older cryptography that does have one, and everything installs and converts:

Command
pip install --only-binary=:all: "markitdown[all]"
markitdown 0.1.9 · Windows 11 Enterprise ARM64 runner · Python 3.13 ARM64 · 2026-11-15
$ pip install --only-binary=:all: "markitdown[all]"
### pip install --only-binary=:all: markitdown[all] [pwsh]
[exit 0]
version: markitdown 0.1.9
cryptography                  46.0.3

raw log

Windows 10 and older

We ran the same steps on Windows Server 2022, which shares its code base with Windows 10 version 21H2; everything passed. We did not test Windows 10 itself. Python 3.13 supports Windows 8.1 and later and Python 3.14 and 3.15 support Windows 10 and later, according to the Python documentation, and python.org marks its 3.13 installers as not usable on Windows 7.

Should you use WSL instead?

Use WSL if you already work in it or need Linux tools; otherwise native Windows is simpler, and desktop apps such as Claude Desktop launch Windows programs. We did not test WSL. The Linux steps are on the Linux page.

Is there a Windows app or a download from Microsoft?

No installer, no Store app and no winget package for MarkItDown exists. On the test date winget search markitdown answered:

markitdown n/a · Windows Server 2025 runner · winget · 2026-11-15
$ winget search markitdown
No package found matching input criteria.

raw log

A search of the Microsoft Store source for "microsoft markitdown" found nothing either. Programs with buttons: third-party apps. To convert a file now with no install: the online converter.

Next steps on Windows

Checklist: Python 3.10 or newer shows in a new window; the environment is active or the tool is installed; markitdown --version prints; the sample converted with -o; the file opens with accents intact.