# Which file formats does MarkItDown support?

> The full tested list for MarkItDown 0.1.9: which file types convert, which need an extra, which are only echoed back unchanged, and which fail, with fixes.

Source: https://markitdown.dev/formats/ · Updated 2026-11-15·Upstream source ↗

MarkItDown has a dedicated converter for about twenty file types. Everything else is either echoed back as text or refused, and the difference is not obvious from the exit code. We tested 38 extensions with 113 files on three operating systems and five Python versions.

> **Short answer**
>
> -   **Converted:** PDF, Word (`.docx`), Excel (`.xlsx`, `.xls`), PowerPoint (`.pptx`), HTML, CSV, images (metadata only), audio, ZIP, EPUB, Outlook `.msg`, Jupyter notebooks, RSS and Atom, plain text and Markdown.
> -   **Echoed unchanged** (no error, no conversion): RTF, SVG, `.eml`, JSON, YAML, TOML, source code, TSV.
> -   **Refused** with `UnsupportedFormatException`: `.doc`, `.ppt`, OpenDocument, GIF, WebP, TIFF, BMP.
> 
> One install enables everything:
> 
> ```bash
> pip install "markitdown[all]"
> ```
> 
> Look up your own extension in [the matrix](#matrix).

Tested with markitdown 0.1.9 · Python 113 files on Ubuntu 24.04, Windows and macOS runners with Python 3.10 to 3.14 (T03, T05); legacy-format routes in a Linux lab with LibreOffice 24.2 (T07) · 2026-11-15 · evidence: [format-matrix-summary.csv](https://markitdown.dev/data/format-matrix-summary.csv), [format-matrix.csv](https://markitdown.dev/data/format-matrix.csv), [format-support.json](https://markitdown.dev/data/format-support.json), [legacy-features.jsonl](https://markitdown.dev/evidence/T07/legacy-features.jsonl)

## Find your file type

Every extension we tested: outcome, converter, extra, system tool and the range of fidelity grades (A is best, X is failure)
| Extension | Outcome | Converter | Extra | System tool | What you get | Grades | Details | Tested workaround |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `(none)` | Converted | none |  |  | Detected from the content | C |  |  |
| `.csv` | Converted | CsvConverter |  |  | A Markdown table | A to D | [CSV, JSON, XML, text](https://markitdown.dev/formats/csv-json-xml/) |  |
| `.docx` | Converted | DocxConverter | `docx` |  | Headings, lists, tables, links; header-row and pipe caveats | A to X | [Word (DOCX)](https://markitdown.dev/formats/word/) |  |
| `.epub` | Converted | EpubConverter |  |  | Metadata block, then chapters | A |  |  |
| `.html` | Converted | HtmlConverter |  |  | Readable Markdown without navigation | A to D | [HTML, URLs, Wikipedia, RSS](https://markitdown.dev/formats/html/) |  |
| `.ipynb` | Converted | IpynbConverter |  |  | Markdown cells and code cells; outputs dropped | B |  |  |
| `.jpg` | Converted | ImageConverter |  | ExifTool for metadata | Metadata lines only (needs ExifTool); no description | C | [Images](https://markitdown.dev/formats/images/) |  |
| `.m4a` | Converted | AudioConverter | `audio-transcription` | ffmpeg | Metadata and a transcript (needs ffmpeg) | A | [Audio and video](https://markitdown.dev/formats/audio/) |  |
| `.md` | Converted | PlainTextConverter |  |  | Passed through | A |  |  |
| `.mp3` | Converted | AudioConverter | `audio-transcription` | ffmpeg | Metadata and a transcript (needs ffmpeg) | A | [Audio and video](https://markitdown.dev/formats/audio/) |  |
| `.msg` | Converted | OutlookMsgConverter | `outlook` |  | From, To, Subject and body | A |  |  |
| `.pdf` | Converted | PdfConverter | `pdf` |  | Text, no headings; tables only when words align | A to X | [PDF to Markdown](https://markitdown.dev/formats/pdf/) |  |
| `.png` | Converted | ImageConverter |  | ExifTool for metadata | Metadata lines only (needs ExifTool); no description | D | [Images](https://markitdown.dev/formats/images/) |  |
| `.pptx` | Converted | PptxConverter | `pptx` |  | Slide markers, titles, notes, tables, charts as data | A to B | [PowerPoint (PPTX)](https://markitdown.dev/formats/powerpoint/) |  |
| `.txt` | Converted | PlainTextConverter |  |  | Passed through | A to D |  |  |
| `.wav` | Converted | AudioConverter | `audio-transcription` | ffmpeg not needed for WAV | Metadata and a transcript | A | [Audio and video](https://markitdown.dev/formats/audio/) |  |
| `.xls` | Converted | XlsConverter | `xls` |  | Same as .xlsx | B | [Excel (XLSX, XLS)](https://markitdown.dev/formats/excel/) |  |
| `.xlsx` | Converted | XlsxConverter | `xlsx` |  | One table per sheet, values not formulas, NaN for blanks | B to C | [Excel (XLSX, XLS)](https://markitdown.dev/formats/excel/) |  |
| `.xml` | Converted | PlainTextConverter or RssConverter for feeds |  |  | Echoed, or a feed converted if it is RSS or Atom | A to D | [CSV, JSON, XML, text](https://markitdown.dev/formats/csv-json-xml/) |  |
| `.zip` | Converted | ZipConverter |  |  | Each member converted under its own heading | A to B |  |  |
| `.eml` | Echoed unchanged | PlainTextConverter |  |  | Raw message text, not converted | D |  |  |
| `.json` | Echoed unchanged | PlainTextConverter |  |  | The file's own text, unchanged | D | [CSV, JSON, XML, text](https://markitdown.dev/formats/csv-json-xml/) |  |
| `.jsonl` | Echoed unchanged | PlainTextConverter |  |  | The file's own text, unchanged | D | [CSV, JSON, XML, text](https://markitdown.dev/formats/csv-json-xml/) |  |
| `.py` | Echoed unchanged | PlainTextConverter |  |  | The file's own text | D |  |  |
| `.rtf` | Echoed unchanged | PlainTextConverter |  |  | Raw control codes, not converted | D |  | LibreOffice to .docx first (tested, identical) |
| `.svg` | Echoed unchanged | PlainTextConverter |  |  | The XML source, not converted | D |  |  |
| `.toml` | Echoed unchanged | PlainTextConverter |  |  | The file's own text | D |  |  |
| `.tsv` | Echoed unchanged | PlainTextConverter |  |  | The file's own text, not a table | D |  |  |
| `.yaml` | Echoed unchanged | PlainTextConverter |  |  | The file's own text | D |  |  |
| `.bmp` | Refused | none |  |  | UnsupportedFormatException | X |  | Convert to PNG with Pillow (then metadata only) |
| `.doc` | Refused | none |  |  | UnsupportedFormatException | X |  | LibreOffice to .docx first (tested, identical) |
| `.gif` | Refused | none |  |  | UnsupportedFormatException | X |  | Convert to PNG with Pillow (then metadata only) |
| `.odp` | Refused | none |  |  | UnsupportedFormatException | X |  | LibreOffice to .pptx first (tested, identical) |
| `.ods` | Refused | none |  |  | UnsupportedFormatException | X |  | LibreOffice to .xlsx first (tested, identical) |
| `.odt` | Refused | none |  |  | UnsupportedFormatException | X |  | LibreOffice to .docx first (tested, identical) |
| `.ppt` | Refused | none |  |  | UnsupportedFormatException | X |  | LibreOffice to .pptx first (tested, identical) |
| `.tiff` | Refused | none |  |  | UnsupportedFormatException | X |  | Convert to PNG with Pillow (then metadata only) |
| `.webp` | Refused | none |  |  | UnsupportedFormatException | X |  | Convert to PNG with Pillow (then metadata only) |

*Every extension we tested: outcome, converter, extra, system tool and the range of fidelity grades (A is best, X is failure) Source: Test T05 · 113 files · markitdown 0.1.9 · 2026-11-15 · format-matrix-summary.csv · Download CSV*

A grade of **A** means the structure survived, **B** that the content is complete but some structure was lost, **C** text only, **D** exit code 0 but nothing useful, **X** failure.

## How MarkItDown decides what a file is

### Extension first, content second

The extension wins when it names a text type: a PDF renamed `.txt` was echoed as raw PDF bytes. The content wins when the extension is binary or missing: the same PDF with no extension converted correctly, and a DOCX renamed `.pdf` converted as a DOCX.

````markdown
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R
>>
````

*synthetic_pdf-renamed-as.txt.md · 1,972 bytes · first 6 of 75 lines shown*

### Hints you can give

The extension, MIME type and charset hints exist on the command line and as stream information in Python: [CLI](https://markitdown.dev/cli/) and [Python API](https://markitdown.dev/python-api/).

### What "converted" does not promise

Exit code 0 means a converter accepted the file, not that the output is useful: scanned PDFs and bare images give nothing, and unknown text types are echoed. The two lists below cover those cases.

## The main formats, in one line each

The grade on each card is the median over our test files of that type.

- [PDF .pdf](https://markitdown.dev/formats/pdf/): Text is clean; headings are not detected and tables need aligned columns.
- [Word .docx](https://markitdown.dev/formats/word/): Best results; tables get an empty header row unless the header is flagged.
- [Excel .xlsx](https://markitdown.dev/formats/excel/): One table per sheet, values not formulas, blanks as NaN.
- [PowerPoint .pptx](https://markitdown.dev/formats/powerpoint/): Slides, notes and charts as data; bullets flattened.
- [Images .jpg .png](https://markitdown.dev/formats/images/): Metadata only, unless you add an LLM.

HTML, CSV, JSON and XML, audio and YouTube have their own pages as they are built.

## ZIP archives

Each member is converted in turn under a `## File:` heading with the member's name. Nested archives are opened (our nested sample produced the inner archive's members too), and a member that cannot be converted is skipped silently: the `.gif` in our test archive is simply absent. Members need the extras their own type needs, so a bare install silently drops the Word file ([example](https://markitdown.dev/errors/missing-dependency/)).

The first line contains the path you gave, so the output differs between machines and between runs from different folders. That matters for caching and for tests that compare output.

````markdown
Content from the zip file `corpus/synthetic/bundle.zip`:

## File: report.docx

Pilot Report: Field Station Alpha

# 1. Summary

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

## 1.1 Key findings

* Rainfall rose 12% year on year
* Sensor uptime reached 99.2%
````

*synthetic_bundle.zip.md · 1,363 bytes · first 14 of 71 lines shown*

## EPUB e-books

A metadata block (title, authors, language, date, identifier), then the chapters with headings, emphasis and tables. No extra is needed. Our generated EPUB was grade A, as was a public-domain book.

````markdown
**Title:** Pilot Book
**Authors:** Pilot Lab
**Language:** en-US
**Date:** 2026-11-15T14:56:21Z
**Identifier:** urn:uuid:a0de2859-d147-444c-a047-eae6f52e77eb

# Pilot Book

Pilot Lab

# Chapter One
````

*synthetic_book.epub.md · 319 bytes · first 12 of 21 lines shown*

## Outlook messages (.msg)

A heading, `From`, `To` and `Subject`, then the body. It needs the `outlook` extra. We tested one message (a test file from the upstream project), so we do not know about attachments, Cc, HTML bodies or meeting invitations.

````markdown
# Email Message

**From:** test.sender@example.com
**To:** test.recipient@example.com
**Subject:** Test Email Message

## Content

This is the body of the test email message
````

*synthetic_test_outlook_msg.msg.md · 173 bytes*

**`.eml` is not `.msg`:** an `.eml` file is echoed as its raw text, and we have no tested route inside MarkItDown that converts it.

## Jupyter notebooks (.ipynb)

Markdown cells pass through and code cells become fenced Python blocks, but cell outputs are dropped: the printed result of our code cell is missing. A notebook whose value is in its charts and tables loses it. We did not test an R notebook or a workaround for keeping outputs.

````markdown
# Pilot Notebook
Some *markdown*.

```python
print(6*7)
```
````

*synthetic_notebook.ipynb.md · 59 bytes*

## RSS and Atom feeds

A feed becomes a title and one section per entry. Other XML is echoed ([CSV, JSON and XML](https://markitdown.dev/formats/csv-json-xml/)).

````markdown
# Atom feed

## Entry one
Summary one
````

*synthetic_feed-atom.xml.md · 37 bytes*

## Echoed unchanged: types that "work" but are not converted

Accepted by the plain-text converter and printed back as they are
| Type | What you get | Tested workaround |
| --- | --- | --- |
| `.eml` | Raw message text, not converted |  |
| `.json` | The file's own text, unchanged |  |
| `.jsonl` | The file's own text, unchanged |  |
| `.py` | The file's own text |  |
| `.rtf` | Raw control codes, not converted | LibreOffice to .docx first (tested, identical) |
| `.svg` | The XML source, not converted |  |
| `.toml` | The file's own text |  |
| `.tsv` | The file's own text, not a table |  |
| `.yaml` | The file's own text |  |

*Accepted by the plain-text converter and printed back as they are Source: Test T05 · T07 · format-matrix-summary.csv · Download CSV*

The RTF example is the dangerous one: our small RTF file came out as 47,000 characters of control codes, exit code 0. Converting it through LibreOffice to `.docx` first gave exactly the output of converting the original DOCX.

````markdown
{\rtf1\ansi\deff4\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\froman\fprq2\fcharset0 Cambria;}{\f5\froman\fprq2\fcharset0 Calibri;}{\f6\froman\fprq2\fcharset0 Courier{\*\falt Courier New};}{\f7\fswiss\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f8\fnil\fprq2\fcharset128 \'82\'6c\'82\'72 \'96\'be\'92\'a9;}{\f9\fnil\fprq2\fcharset128 \'82\'6c\'82\'72 \'83\'53\'83\'56\'83\'62\'83\'4e;}{\f10\fnil\fprq2\fcharset0 WenQuanYi Zen Hei;}{\f11\fnil\fprq2\fcharset0 ;}{\f12\fnil\fprq2\fcharset0 FreeSans;}{\f13\fswiss\fprq0\fcharset128 FreeSans;}}
{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red192\green80\blue77;\red64\green64\blue64;\red23\green54\blue93;\red79\green129\blue189;\red36\green63\blue96;\red54\green95\blue145;}
{\stylesheet{\s0\snext0\rtlch\af11\afs22\alang1025 \ltrch\lang1033\langfe1033\hich\af4\loch\sl276\slmult1\ql\widctlpar\sb0\sa200\ltrpar\hyphpar0\cf0\f4\fs22\lang1033\kerning0\dbch\af8\langfe1033 Normal;}
````

*synthetic_report.rtf.md · 47,312 bytes · first 4 of 344 lines shown*

## Not supported, and what to do instead

Types with no converter: they raise UnsupportedFormatException
| Type | Result | Tested workaround |
| --- | --- | --- |
| `.bmp` | UnsupportedFormatException | Convert to PNG with Pillow (then metadata only) |
| `.doc` | UnsupportedFormatException | LibreOffice to .docx first (tested, identical) |
| `.gif` | UnsupportedFormatException | Convert to PNG with Pillow (then metadata only) |
| `.odp` | UnsupportedFormatException | LibreOffice to .pptx first (tested, identical) |
| `.ods` | UnsupportedFormatException | LibreOffice to .xlsx first (tested, identical) |
| `.odt` | UnsupportedFormatException | LibreOffice to .docx first (tested, identical) |
| `.ppt` | UnsupportedFormatException | LibreOffice to .pptx first (tested, identical) |
| `.tiff` | UnsupportedFormatException | Convert to PNG with Pillow (then metadata only) |
| `.webp` | UnsupportedFormatException | Convert to PNG with Pillow (then metadata only) |

*Types with no converter: they raise UnsupportedFormatException Source: Test T05 · T07 · format-matrix-summary.csv · Download CSV*

-   **Legacy Office and OpenDocument:** convert with LibreOffice in headless mode, then MarkItDown. For `.doc`, `.ppt`, `.odt`, `.odp` and `.ods` this gave exactly the output of converting the original OOXML file ([Word](https://markitdown.dev/formats/word/), [PowerPoint](https://markitdown.dev/formats/powerpoint/)). `.xls` is supported with its own extra.
-   **Images other than JPEG and PNG:** convert to PNG first, and you then get metadata only ([images](https://markitdown.dev/formats/images/)). We did not test HEIC; [heic.fyi](https://heic.fyi/), another site of ours, covers converting it.
-   **Apple iWork, OneNote, Visio, Publisher, other video containers:** we did not test a route, so we cannot recommend one.
-   A plugin is the supported way to add a converter ([Python API](https://markitdown.dev/python-api/)).

## Formats in the browser converter

Our [in-browser converter](https://markitdown.dev/online/) runs the same library in WebAssembly. On 88 of our files it matched the native result on 80, failed the same way as the native library on 5 (corrupt, empty and password-protected files), and differed on 3: two ZIP archives, where image metadata needs ExifTool and the browser has none, and a Word file renamed `.pdf`, which the browser engine could not identify without its file-type model. Image metadata, audio and other formats that need a system tool are not available in the browser.

## Which extra does my format need?

The `docx`, `pdf`, `pptx`, `xlsx` and `xls` extras, `outlook` and `audio-transcription` are in the matrix above; [the extras page](https://markitdown.dev/install/extras/) has the sizes. These need no extra at all: CSV, HTML, EPUB, ZIP, text, Markdown, notebooks, feeds and the echoed types. System tools are separate: ffmpeg for MP3 and M4A, ExifTool for image metadata.

## Related

- [PDF to Markdown](https://markitdown.dev/formats/pdf/): PDF in depth.
- [Word (DOCX)](https://markitdown.dev/formats/word/): Word in depth.
- [Excel (XLSX, XLS)](https://markitdown.dev/formats/excel/): Excel in depth.
- [PowerPoint (PPTX)](https://markitdown.dev/formats/powerpoint/): PowerPoint in depth.
- [Extras and install size](https://markitdown.dev/install/extras/): Which extra each format needs.

---
Independent guide to the open-source MarkItDown library. Not affiliated with or endorsed by Microsoft. Official source: https://github.com/microsoft/markitdown
