# Converting PowerPoint (PPTX) to Markdown with MarkItDown

> How MarkItDown 0.1.9 converts PPTX: slide markers, titles, speaker notes, tables, charts as data, and what happens to pictures, with tested output per slide.

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

A deck becomes one Markdown document with a marker before each slide; titles, text, tables, speaker notes and even chart data come through. Layout, animation and anything that is only a picture do not. We built one small deck per behaviour and recorded what version 0.1.9 did with each.

> **Short answer**
>
> Install the extra, convert, save with `-o`:
> 
> ```bash
> pip install "markitdown[pdf]"
> ```
> 
> ```bash
> markitdown report.docx -o report.md
> ```
> 
> (Use `pptx` instead of `pdf` in the first command, and a `.pptx` file in the second.) Slide numbers, titles, text, tables, notes and chart data are kept. Bullet indentation is flattened, and pictures become file-name placeholders unless you add an LLM.

Tested with markitdown 0.1.9 · Python 3.13 · markitdown\[all\] 0.1.9 · Linux lab (LibreOffice 24.2 for legacy files); vision models run by Ollama 0.40 on a CPU-only Ubuntu runner (T10) · 2026-11-15 · evidence: [office-features.csv](https://markitdown.dev/data/office-features.csv), [llm-providers.csv](https://markitdown.dev/data/llm-providers.csv), [pptx-features.jsonl](https://markitdown.dev/evidence/T07/pptx-features.jsonl), [llm-providers.json](https://markitdown.dev/evidence/T10/llm-providers.json)

## Anatomy of a converted slide

This is the output for a two-slide deck with a title slide, bullets at three levels and speaker notes:

````markdown
<!-- Slide number: 1 -->
# Deck title
A subtitle

<!-- Slide number: 2 -->
# Key points
Level one
Level two
Level three
Back to one

### Notes:
These are the speaker notes.
````

*pptx-S01.md · 172 bytes*

1.  The HTML comment `<!-- Slide number: N -->` opens every slide.
2.  The slide title is a first-level heading, so a deck has one `#` per slide. For chunking that means every slide is a natural section ([split recipe below](#split)).
3.  Body text is one line per paragraph, with no bullet marker.
4.  `### Notes:` precedes the speaker notes.
5.  Tables, pictures and charts follow in the same way, shown below.

[Download the deck](https://markitdown.dev/samples/pptx-basic.pptx).

## Behaviour by behaviour

PowerPoint behaviours, one test deck each, markitdown 0.1.9
| Behaviour | Result | What came out | Note |
| --- | --- | --- | --- |
| Slide markers and titles | kept | `<!-- Slide number: 1 -->↵# Deck title↵A subtitle↵↵<!-- Slide number: 2 -->↵# Key points↵Level one↵Level two↵Level three↵Back to one↵↵### Notes:↵These are the speaker notes.` | Every slide opens with <!-- Slide number: N --> and the title is a # heading. |
| Nested bullets | changed | `Level one↵Level two↵Level three↵Back to one↵↵### Notes:↵These are the speaker notes.` | Every level comes out as a flush plain line: no list marker, no indentation. |
| Speaker notes | kept | `### Notes:↵These are the speaker notes.` | Notes follow a ### Notes: heading. |
| Empty notes pane | kept | `<!-- Slide number: 1 -->↵# Empty notes↵body` | No empty ### Notes: heading. |
| Table | changed | `<!-- Slide number: 1 -->↵# A table↵| Station | Rainfall | Notes |↵| --- | --- | --- |↵| Alpha | 412.5 | OK | stable |↵| Bravo | 388.0 | line one line two |` | A proper header row (unlike Word); check how the pipe and the two-paragraph cell came out. |
| Merged table cells | changed | `<!-- Slide number: 1 -->↵# Merged↵| Merged header | | |↵| --- | --- | --- |↵| a | b | c |` | The merged text appears once. |
| Pictures with and without alt text | changed | `<!-- Slide number: 1 -->↵# Pictures↵↵![A bar chart of quarterly revenue](Picture2.jpg)↵↵![chart.png](Picture3.jpg)` | Each picture becomes an image reference to a file name that is not written anywhere; the alt text is the only content. |
| keep\_data\_uris on slide pictures | kept | `<!-- Slide number: 1 -->↵# Pictures↵↵![A bar chart of quarterly revenue](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAFoCAIAAABIUN0GAAAgmUlEQVR4nO3dd1yV5f/H8QsPIgii4gAHigriwJl7pObELe7ZMCvN3KY2rF+WWZm5MsscmFsEBPeepaLIcCGomOY` | Output grows from 114 to 22542 characters. |
| Chart: column | kept | `<!-- Slide number: 1 -->↵# column chart↵↵### Chart: Column of revenue↵↵| Category | Revenue | Cost |↵|---|---|---|↵| Q1 | 10.5 | 6.0 |↵| Q2 | 14.0 | 7.5 |↵| Q3 | 9.0 | 5.0 |↵| Q4 | 12.0 | 8.0 |` | The chart becomes its data table under ### Chart. |
| Chart: bar | kept | `<!-- Slide number: 1 -->↵# bar chart↵↵### Chart: Bar of revenue↵↵| Category | Revenue | Cost |↵|---|---|---|↵| Q1 | 10.5 | 6.0 |↵| Q2 | 14.0 | 7.5 |↵| Q3 | 9.0 | 5.0 |↵| Q4 | 12.0 | 8.0 |` | The chart becomes its data table under ### Chart. |
| Chart: line | kept | `<!-- Slide number: 1 -->↵# line chart↵↵### Chart: Line of revenue↵↵| Category | Revenue | Cost |↵|---|---|---|↵| Q1 | 10.5 | 6.0 |↵| Q2 | 14.0 | 7.5 |↵| Q3 | 9.0 | 5.0 |↵| Q4 | 12.0 | 8.0 |` | The chart becomes its data table under ### Chart. |
| Chart: pie | kept | `<!-- Slide number: 1 -->↵# pie chart↵↵### Chart: Pie of revenue↵↵| Category | Revenue |↵|---|---|↵| Q1 | 10.5 |↵| Q2 | 14.0 |↵| Q3 | 9.0 |↵| Q4 | 12.0 |` | The chart becomes its data table under ### Chart. |
| Chart: stacked column | kept | `<!-- Slide number: 1 -->↵# stacked column chart↵↵### Chart: Stacked Column of revenue↵↵| Category | Revenue | Cost |↵|---|---|---|↵| Q1 | 10.5 | 6.0 |↵| Q2 | 14.0 | 7.5 |↵| Q3 | 9.0 | 5.0 |↵| Q4 | 12.0 | 8.0 |` | The chart becomes its data table under ### Chart. |
| Chart: scatter | kept | `<!-- Slide number: 1 -->↵# Scatter chart↵↵### Chart↵↵| Category | Points |↵|---|---|` | X and Y values are output as a table. |
| Hidden slide | changed | `<!-- Slide number: 1 -->↵# Visible slide↵visible body↵↵<!-- Slide number: 2 -->↵# Hidden slide↵hidden body` | Hidden slides are included. |
| Title in a text box (no title placeholder) | changed | `<!-- Slide number: 1 -->↵Title written in a text box↵Body text box` | No heading is produced: the text is a plain line. |
| Reading order of shapes | changed | `<!-- Slide number: 1 -->↵Created second but placed at the top↵Created first but placed at the bottom` | Order observed in the output: see the excerpt (positional or creation order). |
| Text inside a grouped shape | kept | `<!-- Slide number: 1 -->↵Text inside a group` | Text in groups is read. |
| Legacy .ppt | lost | `UnsupportedFormatException: Could not convert stream to Markdown. No converter attempted a conversion, suggesting that the filetype is simply not supported.` | No converter for .ppt. |
| .ppt converted to .pptx with LibreOffice first | kept | `<!-- Slide number: 1 -->↵# Deck title↵A subtitle↵↵<!-- Slide number: 2 -->↵# Key points↵Level one↵Level two↵Level three↵Back to one↵↵### Notes:↵These are the speaker notes.` | Identical to the original conversion |
| .odp (OpenDocument presentation): directly and through LibreOffice | kept | `directly: UnsupportedFormatException: Could not convert stream to Markdown. No converter attempted a conversion, suggesting that the filet | via .pptx: <!-- Slide number: 1 -->↵# Deck title↵A subtitle↵↵<!-- Slide number: 2 -->↵# Key points↵Level one↵Le` | Directly: refused. Through LibreOffice to .pptx: identical to converting the original. |
| .odp (OpenDocument presentation) | lost | `UnsupportedFormatException: Could not convert stream to Markdown. No converter attempted a conversion, suggesting that the filetype is simply not supported.` | No converter for .odp. |

*PowerPoint behaviours, one test deck each, markitdown 0.1.9 Source: Test T07 · Linux lab · 2026-11-15 · office-features.csv · Download CSV*

## Text, titles and reading order

-   **Titles:** the slide's title placeholder becomes the `#` heading. A slide that uses a big text box instead of a title placeholder gets no heading: the text is a plain line.
-   **Order:** shapes are output by position, top to bottom, not by creation order. Our deck with a box created first but placed lower came out in visual order.
-   **Bullets:** every level is a flush plain line, with no marker and no indentation. If hierarchy matters, parse the deck with `python-pptx` yourself.
-   **Grouped shapes:** the text inside a group is read.

## Speaker notes

Notes follow a `### Notes:` heading; a notes page that was opened but is empty produced no heading. To drop them or keep only them:

```python
import re
from markitdown import MarkItDown

markdown = MarkItDown().convert("samples/pptx-basic.pptx").markdown
without_notes = re.sub(r"\n### Notes:\n.*?(?=\n<!-- Slide number|\Z)", "", markdown, flags=re.S)
only_notes = re.findall(r"### Notes:\n(.*?)(?=\n<!-- Slide number|\Z)", markdown, flags=re.S)
print("with notes:", len(markdown), "characters; without notes:", len(without_notes), "characters")
print("only the notes:", [n.strip() for n in only_notes])
```

Output · markitdown 0.1.9 · Python 3.13.18 · 2026-11-15

```
with notes: 172 characters; without notes: 132 characters
only the notes: ['These are the speaker notes.']
```

[captured result](https://markitdown.dev/evidence/snippets/api-pptx-notes/result.json)

## Tables

A slide table becomes a pipe table with a proper header row, unlike Word. A `|` in a cell is not escaped and a two-paragraph cell is joined with a space; a merged header's text appears once:

````markdown
<!-- Slide number: 1 -->
# A table
| Station | Rainfall | Notes |
| --- | --- | --- |
| Alpha | 412.5 | OK | stable |
| Bravo | 388.0 | line one line two |
````

*pptx-S05.md · 155 bytes*

## Charts become data tables

The differentiator: a native chart is output as its underlying category and series table, with its title:

````markdown
<!-- Slide number: 1 -->
# column chart

### Chart: Column of revenue

| Category | Revenue | Cost |
|---|---|---|
| Q1 | 10.5 | 6.0 |
| Q2 | 14.0 | 7.5 |
| Q3 | 9.0 | 5.0 |
| Q4 | 12.0 | 8.0 |
````

*pptx-S10.md · 193 bytes*

Column, bar, line, pie, stacked and scatter charts all produced such a table, with the chart title and the series names. Charts pasted as pictures are pictures (next section). [Sample deck with a chart](https://markitdown.dev/samples/pptx-chart-column.pptx).

## Pictures on slides: three outcomes

1.  **Default.** The picture becomes an image reference using its alt text, pointing at a name like `Picture2.jpg` that is not written anywhere; a picture with no alt text uses its file name. Only the alt text is useful:

````markdown
<!-- Slide number: 1 -->
# Pictures

![A bar chart of quarterly revenue](Picture2.jpg)

![chart.png](Picture3.jpg)
````

*pptx-S07.md · 114 bytes*

2.  **Keep the image data.** With `keep_data_uris=True` the picture is embedded as base64: the output of that two-picture deck grew from 114 to 22,542 characters ([image page](https://markitdown.dev/formats/images/)).
3.  **Describe it with an LLM.** When an LLM client is configured, the description is merged with the alt text. We ran this with two small vision models served by Ollama on a CPU-only machine (no hosted service, no key):

````markdown
<!-- Slide number: 1 -->
# Nested bullets
Level 0
Level 1
Level 2
Level 3

<!-- Slide number: 2 -->
# Hidden slide

<!-- Slide number: 3 -->
# Picture without alt text

!["Quarterly revenue chart showing a significant increase from Q1 to Q4, with Q4 being the highest quarter. This indicates a strong performance in the latter part of the year." chart.png](Picture2.jpg)
````

*qwen2.5vl-pptx-with-a-picture-pptx-nested-hidden-picture.md · 370 bytes*

Two local vision models on the same images (Ollama, 4 CPU cores)
| Model | Image | Seconds | Description starts |
| --- | --- | --- | --- |
| `moondream` | `chart.png` | 8.9 | \# Description: The image features a bar graph that displays the quarterly revenue of a company. The graph is divided into four bars, each representing a quarter of the year. The bars are colored in red, with the first ba |
| `moondream` | `photo-exif.jpg` | 7.9 | \# Description: The image features a bar graph that displays quarterly revenue (Q4) for a company. The graph is divided into four bars, each representing a quarter of the year. The bars are colored in red, with the first |
| `moondream` | `scan-page.png` | 7.0 | \# Description: The image shows a page of a document that has been marked as "scanned" and "field station Alpha". The page is white and has a gray border. The text on the page is in black, and it appears to be a list of i |
| `qwen2.5vl:3b` | `chart.png` | 31.9 | \# Description: "Quarterly revenue (sample chart) shows a significant increase in Q4 compared to the other quarters, indicating a strong performance in the fourth quarter." |
| `qwen2.5vl:3b` | `photo-exif.jpg` | 27.9 | \# Description: "Quarterly Revenue Growth: A Sample Chart Showing a Steady Increase from Q1 to Q4" |
| `qwen2.5vl:3b` | `scan-page.png` | 91.0 | \# Description: "Field Station Alpha: A Milestone in Environmental Monitoring - Rainfall Surges by 12% Year-on-Year, Highlighting the Precision and Reliability of Our Sensor Uptime, Which Reached an Exceptional 99.2%." |

*Two local vision models on the same images (Ollama, 4 CPU cores) Source: Test T10 · run 43763286968 · llm-providers.csv · Download CSV*

`moondream` was faster (about 8 seconds per image) but gave the same long description for a custom one-sentence prompt, and answered the Spanish prompt in English; `qwen2.5vl:3b` took 28 to 91 seconds and followed both. Hosted models are described on [the LLM page](https://markitdown.dev/llm/); we did not test them. Slides that are entirely a screenshot of text: [OCR](https://markitdown.dev/ocr/).

## Hidden slides, sections, animations, video and audio

Hidden slides are included. Animations and transitions are ignored. We did not test sections, embedded video or audio, links on shapes, SmartArt or comments.

## When one bad shape stops the whole deck

Upstream reports show a single unusual shape aborting a conversion. We did not reproduce those fixtures, so we cannot say which still fail on 0.1.9; releases 0.1.3, 0.1.7 and 0.1.8 each fixed such cases ([version notes](#versions)).

## `.ppt`, `.pps`, `.odp`, Keynote and Google Slides

`.ppt` and `.odp` raise `UnsupportedFormatException`. The tested route is LibreOffice in headless mode to `.pptx`, then MarkItDown; for our deck the result was identical to converting the original:

```bash
soffice --headless --convert-to docx report.doc
```

(Use `--convert-to pptx` and the `.ppt` file.) We did not test Google Slides or Keynote exports. Slides saved as PDF lose the slide structure and the notes ([PDF page](https://markitdown.dev/formats/pdf/)).

## Big decks

A synthetic 150-slide deck converted in 1.4 seconds on a CI runner and produced 9,274 characters ([format matrix](https://markitdown.dev/formats/)). We did not measure a picture-heavy deck.

## Splitting the output per slide

Each slide starts with a predictable comment line, so splitting is a one-line regular expression, and the result feeds chunking directly:

```python
import re
from markitdown import MarkItDown

markdown = MarkItDown().convert("samples/pptx-basic.pptx").markdown
# every slide starts with a comment line: split on it and keep the number
parts = re.split(r"<!-- Slide number: (\d+) -->\n", markdown)
slides = {int(n): body.strip() for n, body in zip(parts[1::2], parts[2::2])}
for n, body in slides.items():
    print(f"--- slide {n}: {len(body)} characters, first line: {body.splitlines()[0]!r}")
```

Output · markitdown 0.1.9 · Python 3.13.18 · 2026-11-15

```
--- slide 1: 23 characters, first line: '# Deck title'
--- slide 2: 97 characters, first line: '# Key points'
```

[captured result](https://markitdown.dev/evidence/snippets/api-pptx-split/result.json)

## Version notes for PowerPoint

-   since 0.1.3 Fix for shapes without a position.
-   since 0.1.7 SVG pictures without a raster fallback, and faster chart conversion.
-   since 0.1.8 Many PPTX fixes; empty titles and notes no longer produce headings. A failed LLM image call now raises an error instead of being swallowed.

## Related

- [Supported formats](https://markitdown.dev/formats/): How every file type converts, graded.
- [LLM image descriptions](https://markitdown.dev/llm/): Setting up image descriptions with an LLM client.
- [Images](https://markitdown.dev/formats/images/): Keeping, extracting and describing images.
- [Word (DOCX)](https://markitdown.dev/formats/word/): Word: the same kind of feature table.
- [OCR and scanned files](https://markitdown.dev/ocr/): Text inside pictures (OCR).

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