Glossary

PPTX

The default Microsoft PowerPoint format since 2007: a ZIP archive of XML parts holding each slide’s shapes, text, images, charts and speaker notes.

A PPTX file is a Microsoft PowerPoint presentation saved in the Office Open XML format, the default for PowerPoint since 2007. Like a DOCX, it is a ZIP archive of XML files: one part per slide, plus parts for layouts, masters, speaker notes, charts and embedded media. Software can read it without PowerPoint, but turning a deck into usable text is harder than for most documents, because so much of a slide’s meaning sits in layout and images rather than sentences.

What is inside a PPTX file

Open a PPTX as a ZIP and the ppt folder holds the presentation. presentation.xml lists the slides in order and points to the slide size and masters. Each slide is its own part, such as ppt/slides/slide1.xml, and refers to a slide layout, which in turn refers to a slide master that sets shared backgrounds, fonts and placeholders. Speaker notes live in separate notesSlide parts. Images, audio and video sit in ppt/media, charts in ppt/charts with their data often embedded as a small spreadsheet, and the docProps folder carries metadata such as title, author and revision dates.

Slides are built from shapes rather than paragraphs. Each text box, title placeholder, table, picture, chart and diagram is a shape positioned on the slide with its own coordinates and z-order. Text inside a shape uses DrawingML markup, with paragraphs and runs much like a DOCX file, but there is no single flow of text through the slide. A title, three bullet boxes, a caption and a footer are six separate objects that happen to sit on the same canvas.

The family resemblance with Word is close. Both formats share the Open Packaging Conventions container, the same metadata parts and the same approach to relationships, which is why file type detection has to open the archive and look for ppt/presentation.xml to tell a PPTX from a DOCX or a plain ZIP. The MIME type is application/vnd.openxmlformats-officedocument.presentationml.presentation.

Why slide decks are hard to extract

The first problem is reading order. A slide has no defined sequence for its shapes beyond the order they were added and stacked, so an extractor that walks the XML may return the footer before the title, or a caption before the chart it describes. Good extractors sort shapes by position, top to bottom and left to right, and treat titles specially, which is a simple form of layout analysis. Two-column slides and diagrams still need judgement about reading order.

The second is that text is sparse and visual content carries the message. A slide reading “Q3: +18%” next to a bar chart says little on its own; the chart says the rest. Screenshots, photos, scanned pages pasted into slides and text rendered as images all contain information that plain XML extraction misses entirely. Recovering it needs OCR for text in images and image captioning or a vision language model for charts, diagrams and photos.

The third is content that lives outside the visible slide. Speaker notes often hold the real explanation behind terse bullets, and including them can double the useful text in a deck. Hidden slides may contain outdated or confidential material that should not be indexed. SmartArt diagrams store their text in separate data parts. Charts store both the drawn shape and the underlying numbers, so the data can be read directly rather than recognised from pixels. Grouped shapes, master-slide text repeated on every slide, and slide numbers add noise that needs filtering.

How to make a deck useful to an AI system

Most teams combine two paths. The structural path reads the XML: slide titles, text boxes, tables, chart data and speaker notes, in a sensible order, with each slide kept as a unit. The visual path renders each slide to an image and runs OCR or a vision model over it, which catches text in pictures, describes diagrams and gives a fallback for decks built mostly from screenshots. Merging the two, and noting which slide every piece came from, gives text that a model can use and a citation that points back to a slide number. This is a common pattern in multimodal RAG.

Chunking usually follows the slide boundary. One slide, with its title, body text, notes and a description of its visuals, makes a natural retrieval unit, small enough to be precise and large enough to carry context. Very dense slides can be split; very sparse ones can be grouped with their section. Keeping the deck title and section title on each chunk helps retrieval tell apart near-identical slides from different decks, a common situation with sales and training material that is copied and adapted.

Output format matters too. Markdown with a heading per slide reads well in a prompt and keeps tables as tables, while JSON with one object per slide gives code a reliable structure for filtering by deck, section or slide number. Tables on slides are real table objects in the XML, so table extraction from PPTX is more reliable than from a picture of the same table.

Converting a deck to PDF first is a common shortcut. Each slide becomes a page with a proper PDF text layer, page numbers equal slide numbers, and the result can go through the same pipeline as other documents. The cost is losing speaker notes and chart data unless they are exported separately, which is why the trade-offs in DOCX vs PDF apply to decks as well.

Security and governance for decks

Decks travel further than most documents. They are emailed to prospects, uploaded to shared drives and pasted into new decks, so they often carry material nobody meant to share: confidential speaker notes, hidden slides from an earlier version, reviewer comments, and author names and revision counts in the metadata. A pipeline that indexes decks should decide which of these to include, strip or flag, and keep the original file alongside the extracted text so a reviewer can check what was indexed.

Metadata extraction can surface author and modification dates for filtering, and malware scanning belongs on any upload path that accepts macro-enabled files. Search across many teams’ decks also raises access questions, since a sales deck and a board deck may sit in the same library but should not answer the same people.

A worked example

Imagine a sales team with 900 decks: pitch decks, case studies, product overviews and quarterly business reviews, many of them variations on the same template. Reps want an assistant that can answer “which case study covers a logistics customer that cut onboarding time” and link to the right slide.

A text-only extraction produces short, repetitive chunks: slide titles, a few bullets and the same footer on every slide. Case study results shown as charts and customer logos shown as images are invisible, so the assistant cannot find the logistics example. Adding speaker notes, chart data and captions for images changes the picture. The case study slide now carries the customer’s industry from its notes, the before and after figures from its chart, and a description of the logo. Retrieval finds the slide, and the answer cites deck and slide number.

It also helps to apply deduplication. Hundreds of near-copies of the same slide can crowd results, so keeping one canonical version per slide, or ranking the newest first, makes answers cleaner. The pattern is close to the sales copilots use case, and the post on turning slide decks into knowledge your agent can use goes further into it.

Legacy and related formats

The older binary .ppt format, used before 2007, is not a ZIP archive and needs a different parser; many pipelines convert it to PPTX or PDF first. Some organisations still hold thousands of .ppt files from before 2007, and converting them in bulk is usually the first step of any archive project. Macro-enabled presentations use .pptm and can carry VBA code, so upload paths usually scan or block them. Show files (.ppsx) open straight into slideshow mode but share the PPTX structure. Google Slides and Keynote both export PPTX, though complex animations and some fonts do not survive the round trip, which rarely matters for extraction.

Where Exabase fits

Exabase offers PPT to JSON and PPT to Markdown converters for turning individual decks into structured text, alongside its other file converters. For a full pipeline, Exabase Extract processes PDFs and images through one endpoint, so decks exported to PDF come back as text chunks with page numbers that map to slide numbers, and slide images pass through OCR. The extraction guide describes the job flow and the result format.

Stored as Resources, extracted decks and slide images are indexed for Deep Search, which ranks passages from documents and images together, so one query can find the slide whether its answer sits in text, a caption or an image. The asset search solution describes searching mixed libraries like this, and the file extraction solution covers the extraction side. Exabase supplies the extraction and search layer; how a sales or training tool presents the results stays with your application. Other approaches are compared in Exabase vs Unstructured and Exabase vs LlamaParse.

Frequently asked questions

What is a PPTX file?

A PPTX file is a Microsoft PowerPoint presentation in the Office Open XML format: a ZIP archive of XML parts holding each slide’s shapes, text, images, charts and speaker notes. It has been PowerPoint’s default format since 2007.

What is the difference between PPT and PPTX?

PPT is the older binary PowerPoint format used before 2007, and PPTX is the XML-based format that replaced it. PPTX files are smaller, based on an open standard and much easier for other software to read.

How do I extract text from a PPTX file?

Read the slide XML with a library such as python-pptx, sort shapes by position, and include speaker notes and chart data. For text inside images and diagrams, render each slide and run OCR or a vision model over it.

Should I include speaker notes when indexing slides?

Usually yes. Notes often contain the explanation behind short bullets, so they improve retrieval a great deal. Check first that they contain nothing that should not be shared with the people using the search.

Why does extracted slide text come out in the wrong order?

Shapes on a slide have no reading order beyond their stacking order in the file. Sorting by position and treating titles separately fixes most cases; complex diagrams may still need a vision model.

Is it better to convert PPTX to PDF before extraction?

It is simpler, because each slide becomes a page with a text layer and a page number equal to the slide number. You lose speaker notes and chart data unless you export them separately.

Can Exabase process PowerPoint files?

Exabase provides PPT to JSON and PPT to Markdown converters, and Exabase Extract handles decks exported to PDF or as slide images, returning text chunks with page numbers that map to slides.

Related pages: DOCX, DOCX vs PDF, EPUB, MIME type, Image captioning, Vision language model, PPT to Markdown, Asset search, Turning slide decks into knowledge, Best open source document parsers

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.