Skip to main content

Delete Blank Pages

OrganizeDelete Blank Pages

The Delete Blank Pages API removes blank pages from a PDF. You send the PDF (docContent Base64, docName), deletePageOption (NoTextNoImages, NoText, or NoImages), and optionally async. The API returns the PDF with blank pages removed. Use the tester below to try it; more details are in the sections that follow.

Try the Delete Blank Pages API

Quick reference

Endpoint: POST /api/v2/DeleteBlankPages · Required: api-key, docContent, docName, deletePageOption

Try it live

Use the form below to send your API key, PDF (Base64), and blank-page criteria (no text, no images, or both). The response is the PDF with blank pages removed. No code required, fill the fields and click Send request.

Loading API Tester...

Overview, parameters, and use cases

What is Delete Blank Pages?

This endpoint removes blank pages from a PDF based on criteria. You choose deletePageOption: NoTextNoImages (pages with no text and no images), NoText (no text; may have images), or NoImages (no images; may have text). The API returns the PDF with matching pages removed.

Delete page options

  • NoTextNoImages: Delete pages with no text and no images.
  • NoText: Delete pages with no text (may have images).
  • NoImages: Delete pages with no images (may have text).
Best for

Use when cleaning scanned or generated PDFs with blank pages. For removing specific page numbers use Delete Unwanted Pages.

Prerequisites

Before using this endpoint, make sure you have:

Response Format

The API returns a PDF file with blank pages removed according to the specified criteria.

Get Help