Key Features of Aspose.PDF for Python

General Features

  • Supports most established PDF standards and PDF specifications.
  • Ability to read & export PDFs in multiple image formats including BMP, GIF, JPEG & PNG.
  • Set basic information (e.g. author, creator) of the PDF document.
  • Configure PDF Page properties (e.g. width, height, cropbox, bleedbox etc.).
  • Set page numbering, bookmark level, page sizes etc.
  • Ability to work with text, paragraphs, headings, hyperlinks, graphs, attachments etc.

Conversion Features

Aspose.PDF for Python via .NET library allows you to successfully, quickly and easily convert your PDF documents to the most popular formats and vice versa.

  • Convert PDF to Word, Excel, and PowerPoint.
  • Convert PDF to Images formats.
  • Convert PDF file to HTML format and vice versa.
  • Convert PDF to EPUB, Text, XPS, etc.
  • Convert EPUB, Markdown, Text, XPS, PostScript, XML, LaTex to PDF.

Supported PDF versions

Aspose.PDF for Python supports PDF versions 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, and 2.0.


  • Extract text from pages.
  • Search text from pages.
  • Replace text.
  • Add text in PDF file.


  • Add image in PDF file.
  • Delete images.
  • Replace images.
  • Extract images.
  • PDF to Image format conversion.


  • Add attachment.
  • Delete attachments.


  • Insert PDF pages.
  • Delete PDF pages.
  • Split PDF to individual pages.
  • Moving bunch of Pages from one PDF Document to Another
  • Moving a Page in new location in the current PDF Document
  • Change PDF Page Size
  • Change Page Orientation
  • Get Page Properties
  • Get Number of Pages
  • Get page count
  • Get a Particular Page


  • Create PDF File
  • Open existing PDF document from stream
  • Open existing PDF document
  • Setting Print Dialog Preset Properties
  • Add TOC to Existing PDF
  • Add TOC to Existing PDF
  • Customize Page Numbers while adding TOC
  • Set PDF expiry date
  • Flatten Fillable PDF
  • Optimize PDF Document for the Web
  • Reduce Size PDF
  • Shrinking or Compressing All Images
  • Removing Unused Objects
  • Linking Duplicate Streams
  • Removing Unused Streams
  • Unembedding Fonts
  • Get document viewer properties.
  • Set document viewer properties.
  • Validate (PDF/A-1a, PDF/A-1b).
  • Removing Form Fields
  • Determine and set metadata of documents


  • Add bookmarks.
  • Add child bookmarks.
  • Delete bookmarks.
  • Get bookmarks.
  • Get child bookmarks.
  • Modify bookmarks.
  • Expanded Bookmarks when viewing document.


  • Add annotations.
  • Get annotations.
  • Delete annotations.


  • Add fields.
  • Delete fields.
  • Modify fields.
  • Fill fields.
  • Get field values.

Stamp and Watermark

  • Add text stamp.
  • Add image stamp.
  • Add PDF page stamp.

Open encrypted PDF document

  • Encrypt PDF.
  • Decrypt PDF.
  • Modify password.