# Split my textbook PDF into chapters

> Markdown version of https://stella.sh/how/study/split-textbook-pdf-into-chapters for agents and LLMs.
> Split a huge textbook PDF into one file per chapter, named in order, and make scanned pages searchable on the way. Stella (stella.sh) does it on your computer.

Stella (stella.sh) finds where each chapter starts, from the contents page or the book's own bookmarks, and saves one PDF per chapter. If the pages are scans, it makes the text searchable first.

## What you get

- One file per chapter, numbered and named
- Scanned pages you can search and copy from

## Ask Stella

> My biology textbook is one huge scanned PDF in Downloads. Split it into a file per chapter and make the text searchable so I can find words.

## An example chat

**You:** My biology textbook is one huge scanned PDF in Downloads. Split it into a file per chapter and make the text searchable so I can find words.

**Stella:** Sure. Looking at the contents page first.

*Stella works on: Biology textbook by chapter*
- Making 1,184 scanned pages searchable
- Finding where 56 chapters start
- Saving one file per chapter

**Stella:** Done. **56 chapter files** are in Downloads/Biology by chapter, named like “07 - Membrane Structure.pdf”. Every page is searchable now, and the index and appendices have a file of their own.
Files: Biology by chapter

Works on Windows, Mac, Linux.

## Questions

**How do I split a PDF into chapters automatically?**
Bookmarks mark chapters in many PDFs, and tools can cut there. Without them, Stella reads the contents page to find each chapter's first page.

**Can I search a scanned textbook?**
Yes, once text is added behind the page pictures. Stella does that first, so search and copy work in any PDF reader.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Adobe Acrobat Pro: Organize Pages, Split, then split by top-level bookmarks.
2. Free: [PDFsam Basic](https://pdfsam.org) has Split by bookmarks.
3. For a scanned book, run OCR first, for example with OCRmyPDF or Acrobat's Scan & OCR.

## Related

- [Make a scanned PDF searchable](https://stella.sh/how/pdf-excel/make-scanned-pdf-searchable.md)
- [Split a PDF into multiple files (one per document)](https://stella.sh/how/pdf-excel/split-pdf-into-multiple-files.md)
- [Make a study guide from your lecture notes](https://stella.sh/how/study/make-a-study-guide-from-notes.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
