Split PDF API

Split PDF files into pages and save them in individual PDF.

API Request:

Copy parameter's URL Secret Secret
Optional

String Authentication secret must be provided as a query parameter. If omitted, token must be provided.

Show all

Copy parameter's URL Token Token
Optional

String Authentication token must be provided as a query parameter. If omitted, secret must be provided.

Show all

Copy parameter's URL File File
Required

File File to be converted. Value can be URL or file content.

Show all

Copy parameter's URL StoreFile Store file
Optional

Bool Store converted file on our secure server and provides download URL.

Default: False

Show all

Copy parameter's URL FileName File name
Optional

String Converted output file name without extension. The extension will be added automatically.

Show all

Copy parameter's URL Timeout Timeout
Optional

Integer Conversion timeout in seconds.

Default: 900

Range: 10 .. 1200

Show all

Copy parameter's URL Async Asynchronous
Optional

Bool Run conversion job asynchronously.

Default: False

Show all

Copy parameter's URL JobId Job ID
Optional

String Conversion job self generated UUID (RFC 4122) used for getting conversion result asynchronously. Also automatically added to WebHook url.

Show all

Copy parameter's URL WebHook WebHook
Optional

String Set WebHook URL to call after conversion is finished. Also works for synchronous requests.

Show all

Copy parameter's URL Password Open Password
Optional

String Sets the password to open protected documents.

Show all

Copy parameter's URL SplitByFixedRange Split by fixed range
Optional

String Split PDF by fixed range. For example, if set 3,2 for a ten-page PDF, it would be divided into four PDF files with pages 3,2,3,2.

Show all

Copy parameter's URL SplitByCustomRange Split by custom range
Optional

String Split PDF by custom range, page or page range supported, several page ranges can be set by comma. For example, if set 1-2,5-6,9 for a ten-page PDF, it would create five PDFs with one-page corresponding page number set in range.

Show all

Copy parameter's URL RemoveForms Remove forms
Optional

Bool Remove PDF forms from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveLayers Remove layers
Optional

Bool Removes hidden layers and flatten visible ones.

Default: False

Show all

Copy parameter's URL RemovePageLabels Remove page labels
Optional

Bool Remove page labels from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveAnnotations Remove annotations
Optional

Bool Remove text annotations from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveArticleThreads Remove article threads
Optional

Bool Remove article threads from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveBookmarks Remove bookmarks
Optional

Bool Remove bookmarks from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveEmbeddedFiles Remove embedded files
Optional

Bool Remove embedded/attachments files from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveNamedDestinations Remove named destinations
Optional

Bool Remove named destinations from the PDF file.

Default: False

Show all

Copy parameter's URL RemoveTaggedInfo Remove tagged information
Optional

Bool Remove tagged information from the PDF file.

Default: False

Show all

Copy parameter's URL CreateObjectStreams Create object streams
Optional

Bool Create object streams in the PDF file. An object stream represents a stream that contains a sequence of PDF objects. This allows a greater number of PDF objects to be compressed. Property compatible with Acrobat 6/PDF v1.5 and later.

Default: False

Show all

Copy parameter's URL Linearize Linearize
Optional

Bool Linearize PDF file and optimize for fast Web View.

Default: False

Show all

Copy parameter's URL PreservePdfa Preserve PDF/A
Optional

Bool Preserve the PDF/A standard in the PDF file.

Default: False

Show all

Copy parameter's URL KeepModifiedDate Keep modified date
Optional

Bool keep the modified date unchanged when splitting.

Default: False

Show all

Show parameters

Snippets are autogenerated according to converter parameter choices above. Please select file in "File" or "Files" parameter before using code snippets.

Code snippet is using ConvertAPI JavaScript Client

Code snippet is using ConvertAPI Node.js Client

Code snippet is using ConvertAPI PHP Client

Code snippet is using ConvertAPI Java Client

Code snippet is using ConvertAPI C# Client

Code snippet is using ConvertAPI Ruby Client

Code snippet is using ConvertAPI Python Client

Code snippet is using ConvertAPI Go Client

Code snippet is using command line utility program

For conversions with the multiple file result please refer to the example