PowerPoint to Markdown
Operator: Abdulla Al Fahad. How tools are built and checked
Slide decks hold a lot of a team's thinking: the quarterly review, the training course, the pitch that was rewritten nine times. Getting that text into a language model, a wiki or a search index usually means copying it slide by slide, and copying from PowerPoint loses the structure that made the slides readable. Bullet levels flatten, tables turn into runs of words, and the speaker notes, often the most useful part, stay behind in the notes pane.
PowerPoint to Markdown reads the .pptx package itself and writes one "## Slide N: Title" section per slide. Bullets keep their nesting, numbered lists keep their numbers, tables become pipe tables, speaker notes follow each slide under a "Notes:" line, and pictures can be marked with a short placeholder so the reader knows a visual was there. The result is plain text that can be pasted into a prompt, saved next to the deck, or split into chunks for retrieval, with an estimated token count shown before you copy it.
Key features
- One "## Slide N: Title" heading per slide, in the deck's real order rather than file-name order
- Bullets and numbered lists with their nesting, worked out from the slide, the layout and the master
- Tables as Markdown pipe tables, with merged cells left empty and pipes escaped
- Speaker notes under a "Notes:" line after each slide (on by default)
- Placeholders for pictures, charts, SmartArt without text, video and audio (on by default)
- Hidden slides kept and labelled "(hidden)", or left out
- Option to skip untitled slides that have nothing else to write: no text, table, placeholder or included notes
- Footer, date and slide-number placeholders dropped so they do not repeat on every slide
- Estimated token range for the whole Markdown, using the site's shared estimator
- Clipboard copy, or a .md download that takes the deck's file name
Slide order and what each shape becomes
Input is one .pptx file of up to 50 MB. The first bytes must be a ZIP signature and the package must contain ppt/presentation.xml. Files saved in the old binary .ppt format, and .pptx files protected with a password to open, are stored as a different container; both are recognised and refused with a message asking for an unprotected .pptx.
Slides are taken in the order of the p:sldIdLst list in ppt/presentation.xml, resolved through ppt/_rels/presentation.xml.rels. That is the order PowerPoint shows in the thumbnail pane, which is not always the order of the file names: after slides are dragged around, slide9.xml can easily be the second slide. Slide numbers in the headings are positions in the deck, hidden slides included, and they do not change when a slide is skipped.
Output is Markdown with LF line endings and no front matter. The title placeholder (type title or ctrTitle) becomes the heading; a slide without one gets "## Slide N" alone. Other text frames become paragraphs or list items, tables (a:tbl) become pipe tables whose first row is the header row, and SmartArt text becomes a flat bulleted list. Pictures, charts, video, audio and embedded objects become placeholders such as [image: Photo of the loading bay] or [chart: Revenue by quarter], using the alt text, the chart title or the shape name. Bold, italics, colours, fonts and hyperlink addresses are not written; link text stays as ordinary text.
How it works
The deck is opened with JSZip and each part is parsed with the browser's DOMParser. For every slide the tool reads the slide XML, its relationship file, the slide layout it uses and that layout's slide master. Shapes are walked in the order they appear in the slide's shape tree, including shapes inside groups.
Deciding whether a paragraph is a bullet takes a few steps, because most decks never store the bullet on the slide itself. The paragraph's own properties come first, then the shape's list style, then the matching placeholder on the layout, then the master's placeholder and its body text style. A paragraph that ends up with buChar or buBlip becomes "- ", one with buAutoNum becomes a numbered item, and buNone or no setting at all leaves a plain paragraph. That is why the body text of a standard "Title and Content" slide comes out as a list even though the slide XML contains no bullet character.
The paragraph property lvl sets the nesting. Markdown cannot start a list two levels deep, so if a text box jumps from level 0 straight to level 2, the item is placed one level below the previous one. Numbers restart when the list is interrupted by a plain paragraph or by a bullet at the same level, and a startAt value on the numbering is honoured.
Speaker notes come from the slide's notesSlide relationship. Only the notes body is read; the thumbnail of the slide and the page number on the notes page are ignored.
Common use cases
- Giving a language model last quarter's review deck, notes included, so it can draft the written summary
- Turning a training course built in PowerPoint into Markdown pages for an internal wiki
- Indexing a folder of sales decks for retrieval, one Markdown file per deck
- Pulling the speaker notes out of a conference talk to edit them into a blog draft
- Checking which slides of an inherited deck actually carry text before deciding what to rewrite
How to use this tool
- Save the deck as a .pptx if it is still an older .ppt, and remove any password that is needed to open it.
- Click Choose file and pick the .pptx, or drag it straight from your file manager onto the upload panel. The Use sample deck button loads a five-slide bird-survey briefing, with one hidden slide and one blank slide, so you can watch each option change the output.
- Decide on the four options: speaker notes, picture placeholders, hidden slides and skipping untitled slides with no content. The preview updates as soon as you change one.
- Read through the preview, paying attention to slides with several text boxes, where the reading order may need a manual fix.
- Check the estimated token range against the context window of the model you plan to use.
- Press Download .md or Copy Markdown.
Example
warehouse-review.pptx (3 slides)
Slide 1, Title Slide layout
Title: Q3 Warehouse Review
Subtitle: Leeds site, 9 October
Slide 2, Title and Content layout
Title: Pick rates
Body (level 0): Average 142 lines per hour
Body (level 1): Night shift 151
Body (level 1): Day shift 137
Body (level 0): Target for Q4: 150
Notes: Say the night figure includes overtime.
Slide 3
Title: Damage claims
Table: Month | Claims | Cost / Jul | 14 | 2,310 / Aug | 9 | 1,480
Picture with alt text: Photo of a crushed palletwarehouse-review.md
## Slide 1: Q3 Warehouse Review
Leeds site, 9 October
## Slide 2: Pick rates
- Average 142 lines per hour
- Night shift 151
- Day shift 137
- Target for Q4: 150
Notes:
Say the night figure includes overtime.
## Slide 3: Damage claims
| Month | Claims | Cost |
| --- | --- | --- |
| Jul | 14 | 2,310 |
| Aug | 9 | 1,480 |
[image: Photo of a crushed pallet]Tips for best results
- Write alt text for charts and photos before converting. The placeholder carries it, so [image: Map of the three depots] tells a model far more than [image: Picture 7].
- If two text boxes come out in the wrong order, open the Selection Pane in PowerPoint and reorder the shapes there. The file stores shapes in stacking order, so the shape at the bottom of that list comes out first.
- Turn off hidden slides when the deck holds backup material you do not want a model to quote.
- For a long deck, compare the token estimate with your model's limit before pasting, and split the Markdown at a "## Slide" heading if it is too large.
- Keep the slide numbers in the headings when you ask questions about the deck; they let you and the model refer to the same slide.
Edge cases to watch
Text order inside a slide is the order of the shapes in the file, not the order you read on screen. A caption added late in editing may appear after the body text even though it sits above it.
Text that is part of a picture, such as a screenshot of a spreadsheet or a scanned page, is not read. Only real text in shapes, tables, notes and SmartArt is extracted.
Chart values are not written out. A chart becomes a placeholder with its title, so paste the underlying numbers separately if the model needs them.
Every table gets its first row as the Markdown header row, because a pipe table needs one. If your table has no header row, the first data row will look like headings when the Markdown is rendered.
Only text in a title placeholder becomes the slide title. A title typed into an ordinary text box is written as a paragraph, and that slide's heading reads "## Slide N" with no title after it.
Roman numerals and letters used for numbering are written as 1., 2., 3., since Markdown lists only count with digits.
Text that would read as Markdown at the start of a line, such as a paragraph beginning "- " or "1. ", is escaped with a backslash so it stays text.
Common errors and how to fix them
- "This file is an older .ppt presentation or a password-protected .pptx, which are stored in a format this tool cannot open."
- The file starts with the signature of the old compound-file format, which PowerPoint uses both for .ppt files and for encrypted .pptx files. Open it in PowerPoint, remove the open password (File, Info, Protect Presentation) or use Save As with the .pptx type, and load the new file.
- "This file is not a .pptx presentation: a .pptx is a ZIP package and this file does not start like one."
- The file was probably renamed from another format, such as a PDF export or a .key file. Export or save the deck as a PowerPoint Presentation and pick that file instead.
- "This ZIP has no ppt/presentation.xml, so it is not a PowerPoint deck."
- The package is a ZIP but not a presentation; Word and Excel files are also ZIP packages. Check that you picked the right file, or export the deck to .pptx from the program that made it.
- "This presentation is larger than the 50 MB limit."
- The size of a deck is nearly always pictures and video, which do not reach the Markdown anyway. Save a copy, compress or delete the large media in that copy, and convert it.
- Body text comes out as plain paragraphs when the slide shows bullets.
- The bullets may come from a theme setting this reader does not follow, such as a style on a shape that is not a placeholder. Apply bullets to the paragraphs directly in PowerPoint, or add the dashes by hand in the Markdown.
Best practices
- Give every slide a real title in the title placeholder, not in a free text box, so each section of the Markdown has a meaningful heading.
- Keep the downloaded .md next to the .pptx with the same name, so it is clear which version of the deck the text came from.
- Remove confidential speaker notes, or turn notes off, before sharing the Markdown outside the team.
- Read the slides with tables in the preview; merged cells are left empty and may need a word or two added for context.
What counts as an empty slide
The skip option drops a slide only when it has no title and nothing else would be written for it with the options you chose: no text, no table, no SmartArt text, no picture placeholder and no included speaker notes. A section divider with only a title is always kept, because the title carries structure. An untitled slide holding only a photo is skipped while picture placeholders are off and kept while they are on, and an untitled slide whose only content is its notes stays as long as notes are included.
Skipping empty or hidden slides never renumbers the rest. If slide 4 is skipped, the Markdown jumps from "## Slide 3" to "## Slide 5", which keeps the numbers in step with the deck when someone opens it to check a point.
SmartArt, charts and other graphics
SmartArt stores its words in a separate data part. The tool follows the diagram's relationship to that part and lists each node's text as a bullet, in the order the diagram stores its points. The shape of the diagram, such as which box feeds which in a process chart, is not kept, so a cycle and a list come out the same way.
Charts are written as [chart: title], using the chart's own title when it has one and the alt text or shape name otherwise. Embedded spreadsheets and other objects become [object: name]. With the picture option off, all of these placeholders are left out, while SmartArt text is still written because it is text.
Frequently asked questions
Are bold, italics and links kept?
No. Slides use bold and colour mostly for visual emphasis, and carrying it over would fill the Markdown with asterisks. Hyperlinks keep their visible text; the web address is not written.
Why does the token estimate move when I change an option?
The estimate is taken from the Markdown in the preview at that moment, so speaker notes, picture placeholders and hidden slides add to it while they are switched on and drop out when they are off. It comes from character and word counts rather than any model's tokenizer, which is why it is shown as a range; before pasting a long deck, keep the high end of that range comfortably below the limit of the model you use.
Can I attach the .md file to a chat with an AI assistant?
Pasting always works, because the output is plain text, and splitting at a "## Slide" heading keeps each pasted part self-contained. Whether a service accepts a .md attachment, and how large, is set out in that service's own documentation at any given time, so look it up for the assistant you use before counting on an upload.
Where is the deck processed?
In this browser tab. The deck is read from your disk through the File API, unzipped with JSZip and parsed with DOMParser, and it is never uploaded. Afterwards the page holds only the file name, the parsed slide text and the Markdown built from it, in the tab's memory, so reloading the page or loading another deck discards them. The .md download is handed over through a short-lived object URL that the page revokes once the save has begun.