Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Aspose.PDF CLI App

Aspose.PDF is a CLI tool which makes working with PDF files very easy. It supports the most common PDF operations. The application is powered by the Aspose.PDF for C++ library.

Features:

  • Merge PDF files
  • Split PDF files
  • Extract text from PDF files
  • Extract images from PDF files
  • Decrypt PDF files
  • Change user/owner password
  • Optimize PDF files
  • Rotate PDF pages
  • Add watermark (stamps) images to PDF files
  • Convert PDF files to grayscale
  • Convert PDF to PDF/A
  • Set headers/footers to the PDF document pages
  • Add background image to the pages of the PDF document
  • Rotate pages
  • Sign PDF with digital signature
  • Add page nummbers
  • Render PDF pages to images
  • Convert PDF to DOCX
  • Convert PDF to XLSX
  • Convert PDF to PPTX
  • Import PS, PCL and save as PDF
  • Convert SVG to PDF
  • Convert TEX to PDF
  • Convert XPS to PDF
  • Create PDF from XSL-FO

How to use Aspose.PDF CLI App:

Optimize PDF

> asposepdftool optimize <input-file> [output-file]
  • <input-file> - initial file for optimization
  • [output-file] - optional parameter if the name of the result file is not specified the source pdf file will be overwritten

Extract text from PDF

> asposepdftool text <input-file> [output-file]
  • <input-file> - initial file for extraction
  • [output-file] - optional parameter if the name of the text file is not specified it will be the same as the name of the source pdf file with the .txt extension

Extract images from PDF

> asposepdftool images [-png] [-gs] <input-file> [destination-directory]
By default, all images will be extracted as JPEG images. If you want to extract as PNG, please add `-png`key. Another key `-gs` allows to save gray-scaled images.
  • <input-file> - initial file for extraction
  • [destination-directory] - optional parameter, if the destination directory is not specified it will be the same as in the source pdf file

Merge PDF files into single document

> asposepdftool merge <PDF-sourcefile-1>..<PDF-sourcefile-n> <PDF-destinationfile>
Merges source PDF files into destination PDF file. Use at least two source files.

Split PDF files

> asposepdftool split <PDF-sourcefile> <number of page to split at> [PDF-destinationfile-1] [PDF-destinationfile-2]
Split source PDF file into two parts PDF files based on specific page position (number).
  • <PDF-sourcefile> - initial file for splitting
  • [PDF-destinationfile-x] - optional parameter, if the names of the destination files are not specified they will be the same as the source filename with suffixes ‘_1’ and ‘_2’ correspondingly.

Add images to PDF files

> asposepdftool addimages <PDF-source-file> [-out=result-file] ..<image-file-n>
Add images to the end of the PDF document
  • <PDF-source-file> - initial file for splitting
  • [-out=result-file] - optional parameter, allows to set the result file namefilename with suffixes ‘_1’ and ‘_2’ correspondingly.

Add stamp (watermark) to PDF files

> asposepdftool addstamp [options] <PDF-file> <image-file> [<result-file>]
Adds the image as stamp to the PDF document.
Options:
  • -pages=range range of pages to process. Example: -pages=1,3,5-7
  • -bg image stamped as background
  • -x= x coordinate of stamp
  • -y= y coordinate of stamp
  • -w= width of stamp
  • -h= height of stamp
  • -o= the stamp opacity. The value is from 0.0 to 1.0
  • -r=90|180|270 angle of rotation

Decrypt PDF

> asposepdftool decrypt <PDF-file> <password> [<result-file>]
Remove password protection from PDF document.

Encrypt PDF

> asposepdftool encrypt [options] <PDF-file> [<result-file>]

Set password protection to PDF file
Options:

  • -up=string user password.
  • -op=string owner password.
  • -alg=RC4x40|RC4x128|AESx128|AESx256 crypto algorithm. Default value AESx256
  • -p=number permission as sum of the following values
PrintDocument4
ModifyContent8
ExtractContent16
ModifyTextAnnotations32
FillForm256
ExtractContentWithDisabilities512
AssembleDocument1024
PrintingQuality2048

Get PDF Metadata

> asposepdftool getinfo <PDF-file>
Prints metadata.

Set PDF Metadata

> asposepdftool setinfo [options] <PDF-file> [<result-file>]
Set or update metadata in PDF document
Options:
  • -title=string set document title
  • -author=string set document’s author
  • -creator=string> set document’s creator
  • -subject=string set document subject
  • -keywords=string set keywords
  • -creation=datetime update date of document creation
  • -mod=datetime update date of document modification

List of fonts in PDF

> asposepdftool fonts <PDF-file>

Enumerate font in PDF

Remove page or pages from PDF

> asposepdftool delete -pages=range <PDF-file> [result-file]

Delete specified pages from the PDF document. Range is a string with page numbers (ex. -pages=1,3,5-7)

Remove page or pages from PDF

> asposepdftool delete -pages=range <PDF-file> [result-file]

Delete specified pages from the PDF document. Range is a string with page numbers (ex. -pages=1,3,5-7)

Convert PDF to PDF/A

> asposepdftool pdfa <PDF-file> [result-file] [-log=log-file]

Convert the PDF document to PDF/A format. If the name of the result file is not specified the source pdf file will be overwritten

Set headers/footers to the PDF document pages

> asposepdftool header [-header=string] [-footer=string] <PDF-file> [result-file] [-log=log-file]

Set headers/footers to the PDF document pages

Set headers/footers to the PDF document pages

> asposepdftool background <PDF-file> <image-file> [result-file]

Set headers/footers to the PDF document pages

Make the PDF document grayscaled

> asposepdftool grayscale <PDF-file> [result-file]

Convert PDF pages to grayscale format.

Rotate pages in the PDF document

> asposepdftool rotate <PDF-file> [result-file]

Turn pages clockwise or counterclockwise in PDF document. Options:

  • -pages=range range of pages to process
  • -r=90|180|270 angle of rotation

Sign the PDF document

> asposepdftool sign [options] <PDF-file> [result-file]

Sign the PDF document with digital signature Options:

  • -page=int page to sign. Default value is 1.
  • -sign=string signature in PKCS#7 fil format.
  • -pass=string> password
  • -rect=x,y,w,h - rectangle for sign
  • -reason=string
  • -contact=string
  • -location=string
  • -image=image-file signature appearance
  • -v means visible

Convert PDF to JPEG

> asposepdftool jpg <PDF-file> [destination-directory]
Save pages of the PDF document as JPEG images into specified directory. If the destination directory is not specified it will be the same as in the source pdf file

Convert PDF to PNG

> asposepdftool png <PDF-file> [destination-directory]
Save pages of the PDF document as PNG images into specified directory. If the destination directory is not specified it will be the same as in the source pdf file

Convert PDF to TIFF

> asposepdftool tiff <PDF-file> [] [-separate] [-1bpp] [-skipblank] [-brightness=value]
Save PDF document as TIFF image Options:
  • -separate saves each page into separate tiff image
  • -1bpp the color depth of resulting image is 1 bit per pixel
  • -skipblank skip blank pages
  • -brightness=value from 0.0 to 1.0 for 1bpp images. Default value is 0.33

Add page numbering

> asposepdftool apn <PDF-file> [result-file] [-font=font_name>] [-size=font_size] [-b] [-i] [-l|-r]
Add pages numeration Options:
  • -font=font_name - font for numeration
  • -size=font_size - font size
  • -b - bold style
  • -i - italic style
  • -l - left alignment
  • -r - right alignment

Convert PDF to Word

> asposepdftool docx[-ef] <PDF-file> [result-file]
Convert the PDF document into DOCX format.

Options:

  • -ef - set recognition mode to EnhancedFlow

Convert PDF to Excel

> asposepdftool xlsx <PDF-file> [result-file]
Convert the PDF document into XLSX format.

Convert PDF to Powerpoint

> asposepdftool pptx <PDF-file> [result-file]
Convert the PDF document into PPTX format.

Convert PDF to SVG

> asposepdftool svg <PDF-file> [result-file]
Convert the PDF document into SVG format.

Convert PDF to XPS

> asposepdftool xps <PDF-file> [result-file]
Convert the PDF document into SVG format.

Convert PCL to PDF

> asposepdftool pcl2pdf <input-file> [PDF-file]
Convert the PCL document into PDF

Convert PostScript to PDF

> asposepdftool ps2pdf <input-file> [PDF-file]
Convert the PS document into PDF

Convert SVG to PDF

> asposepdftool svg2pdf <input-file> [PDF-file]
Convert the SVG document into PDF

Convert TeX to PDF

> asposepdftool svg2pdf <input-file> [PDF-file]
Convert the TEX document into PDF

Convert XPS to PDF

> asposepdftool xps2pdf <input-file> [PDF-file]
Convert the XPS document into PDF

Convert XSL-FO to PDF

> asposepdftool xslfo2pdf <input-file> [PDF-file]
Convert the XSL-FO document into PDF

Direct Download

Aspose.PDF CLI App 24.10 macOS arm64

macOS arm64 version

Added: 18/10/2024 Downloads:

Download

File Size: 99.98MB

Aspose.PDF CLI App 24.10 macOS x86_64

macOS x86_64 version

Added: 18/10/2024 Downloads:

Download

File Size: 107.16MB

Aspose.PDF CLI App 24.10 Linux

Tools for managing PDF files

Added: 17/10/2024 Downloads:

Download

File Size: 109.48MB

Aspose.PDF CLI App 24.10 Windows

Tools for managing PDF files

Added: 17/10/2024 Downloads:

Download

File Size: 72.65MB

Aspose.PDF CLI App 24.9 macOS arm64

macOS arm64 version

Added: 19/9/2024 Downloads:

Download

File Size: 99.94MB

Aspose.PDF CLI App 24.9 macOS x86_64

macOS x86_64 version

Added: 19/9/2024 Downloads:

Download

File Size: 107.12MB

Aspose.PDF CLI App 24.9 Linux

Tools for managing PDF files

Added: 19/9/2024 Downloads:

Download

File Size: 383.33MB

Aspose.PDF CLI App 24.9 Windows

Windows console application

Added: 19/9/2024 Downloads:

Download

File Size: 210.24MB

Aspose.PDF CLI App 24.8 macOS arm64

macOS arm64 version

Added: 22/8/2024 Downloads:

Download

File Size: 98.36MB

Aspose.PDF CLI App 24.8 macOS x86_64

macOS x86_64 version

Added: 22/8/2024 Downloads:

Download

File Size: 105.57MB

Aspose.PDF CLI App 24.8 Linux

Tools for managing PDF files

Added: 22/8/2024 Downloads:

Download

File Size: 107.85MB

Aspose.PDF CLI App 24.8 Windows

Tools for managing PDF files

Added: 22/8/2024 Downloads:

Download

File Size: 71.05MB

Aspose.PDF CLI App macOS arm64

macOS arm64 version

Added: 25/7/2024 Downloads:

Download

File Size: 96.4MB

Aspose.PDF CLI App macOS x86_64

macOS x86_64 version

Added: 25/7/2024 Downloads:

Download

File Size: 103.44MB

Aspose.PDF CLI App Linux

Linux version

Added: 25/7/2024 Downloads:

Download

File Size: 105.82MB

Aspose.PDF CLI App Windows

Windows console application

Added: 25/7/2024 Downloads:

Download

File Size: 70.01MB