Utilities

Organize PDF Pages and Extract Text: A Worked Example

Reorder a fictional PDF, remove a notes page, then extract selectable text. Download the sample files and compare page order, text and limitations.

By ToolMint Editorial Team

5 min read Published Oct 23, 2026

Key facts

Last updated
Oct 23, 2026

Put pages in order before extracting their text

Use PDF Page Organizer to reorder or remove whole pages, download the organized copy, then open that copy in PDF to Text Extractor to copy existing selectable text or save a TXT file. These two tools process the document in your browser. Text extraction does not recognize words that exist only inside a scanned image.

This example is for someone preparing a small report for sharing and needing a plain-text copy of its final pages. It uses fictional documents so you can compare the result without uploading a personal file.

Choose the tool for the task

Starting point Task Tool and boundary
One PDF with pages in the wrong order Move or remove whole pages PDF Page Organizer; it does not edit the words inside a page.
A PDF with selectable words Copy text or download TXT PDF to Text Extractor; it does not preserve visual layout.
JPG, PNG or WebP scans Combine pictures into a PDF Image to PDF Converter; creating a PDF does not add recognized text.
A scanned page with no selectable words Recognize text An OCR workflow is required. The PDF text extractor does not perform OCR.

If the pages are already in the right order, skip the organizer. Extract text directly from the original PDF rather than rewriting it unnecessarily. Browse the Utilities category for other document tasks.

Download the fictional report

The example contains three simple pages with selectable text:

Original page Heading Content to check
1 Appendix Reference ID: 00123
2 Cover Project: ToolMint sample report
3 Internal notes Omit this page from the sharing copy.

Download the three-page source PDF. It contains fictional text and no real client information. Keep this source so you can compare it with your output.

The target is a two-page document: Cover first, Appendix second, with Internal notes omitted. This demonstrates page selection and order; it does not demonstrate secure redaction or preservation of complex forms.

Step 1: organize the pages

  1. Open PDF Page Organizer and choose the source PDF.
  2. Wait for all three page thumbnails.
  3. Move original source page 2, Cover, to the start. Use its move-to-start button or drag the card.
  4. Delete original source page 3, Internal notes, from the proposed output.
  5. Check the source numbers shown on the cards: the final order should be 2, 1.
  6. Select Create organized PDF, then download the result.

Source numbers identify where a page came from. Output positions identify where it will appear in the new file. After this change, output page 1 comes from source page 2, and output page 2 comes from source page 1.

You can compare with the expected organized PDF. The example output was produced by executing the organizer's export handler against the fictional source and reopening the resulting PDF. This verifies this fixture's page order and text, not every possible PDF feature or browser.

Step 2: check the downloaded copy

Open your saved PDF in another reader. Confirm:

  • There are exactly two pages.
  • The first page says Cover and includes Project: ToolMint sample report.
  • The second page says Appendix and includes Reference ID: 00123.
  • The Internal notes page is absent from the visible page sequence.

Keep the original. Rewriting a PDF can invalidate existing digital signatures and affect document-level features such as bookmarks, forms and attachments. This fixture contains none of those features. Removing a page is not a substitute for secure redaction or an inspection of everything embedded in a sensitive document.

Step 3: extract text from the organized copy

Open PDF to Text Extractor, choose your new two-page PDF, and enter 1-2 in Page numbers or ranges. Select Extract text and inspect the preview before choosing Download TXT or Copy all text.

The output includes page separators. For this simple fixture, the expected text is:

--- Page 1 ---
Cover
Project: ToolMint sample report

--- Page 2 ---
Appendix
Reference ID: 00123

Download the expected UTF-8 text file for comparison. The reference ID is a string of characters in the PDF text; extracting it does not intentionally convert it to a number. Check the leading zeros when moving the text into a spreadsheet or another application, because that application may interpret it differently.

Page numbers now refer to the organized document. Entering 2 should return the Appendix. Entering 3 is outside this two-page file and should be rejected. To extract the second page before the first, enter 2,1; the extractor follows the requested order and includes repeated pages once.

When extraction returns no text

A page can display clear words while containing only an image. If an image-only scan returns no selectable text, that does not by itself mean the PDF is broken. The extractor reads existing text objects; it does not run OCR. Converting an image to PDF also does not make its words selectable.

Complex PDFs need additional review. Multiple columns, positioned fragments, tables and unusual font encodings may produce text with different order or spacing from the visual page. TXT does not retain page artwork, typography or interactive features. Compare the text with the original before relying on it.

Limits and privacy for this workflow

Both tools accept one PDF up to 50 MB and 100 pages, but a complex document can exceed a browser's available memory below those limits. The organizer requires an unlocked PDF. The extractor can accept an opening password for encryption supported by its PDF.js parser; support is not universal.

Files and extracted text stay in the current tool tab for these operations. Downloads remain on your device after resetting the tool. On a shared computer, manage those saved copies separately. These local-processing statements describe these tools; they should not be generalized to every ToolMint service.

Sources and implementation checks

  • pdf-lib PDFDocument API: document loading, page copying and serialization used by the organizer.
  • Mozilla PDF.js PDFPageProxy API: text-content extraction from existing PDF page objects.
  • ToolMint's organizer export handler, page-selection helpers and text composition helpers were used to check the downloadable fixture on October 23, 2026. Local fixture execution is separate from complete mobile or cross-browser acceptance testing.

Enjoyed this guide? Share it.

Related tools

Browse all →

Related guides