---
title: "Extract text from PowerPoint, Word, and Excel files"
description: "Transform office documents into searchable, analyzable text data."
url: "https://www.pixeltable.com/notebooks/doc-extract-text-from-office-files"
updated: "2026-04-10"
---

# Extract text from PowerPoint, Word, and Excel files

Transform office documents into searchable, analyzable text data.

- **Type:** Notebook
- **Group:** Text

## What it covers

- Extract text from PPTX, DOCX, and XLSX files
- Split documents by headings, paragraphs, or custom limits
- Preserve document structure and metadata for analysis

## What it uses

- **Install:** `pip install pixeltable 'markitdown[pptx,docx,xlsx]' mistune tiktoken`
- **Pixeltable calls:** `pxt.create_table()`, `pxt.create_view()`, `insert()`

## Open it

- **Open in Colab:** https://colab.research.google.com/github/pixeltable/pixeltable/blob/release/docs/release/howto/cookbooks/text/doc-extract-text-from-office-files.ipynb
- **Docs page:** https://docs.pixeltable.com/howto/cookbooks/text/doc-extract-text-from-office-files
- **Source on GitHub:** https://github.com/pixeltable/pixeltable/blob/release/docs/release/howto/cookbooks/text/doc-extract-text-from-office-files.ipynb
