Input

NameDescriptionRequired
Output FormatSelect the format you want to convert your PDF to from the drop down list in the workflow.Yes
Source PDF URLProvide the URL to the source PDF document, or a filetoken:// link from PDF.co Built-In Files Storage. If you use another cloud service such as Google Drive or Dropbox ensure the link is publicly accessible.Yes
Page SelectionSpecify the pages or ranges you want to process. Enter a comma-separated list (e.g., 0,1-2,5-). Leave blank to include all pages. Note: Page indexing starts at 0.No
Output File NameThe output file name. If left blank then the name of the last file in the Source PDF URL list will be used.No
Inline Output OptionSet to true to receive the extracted content directly as a body variable. By default, a link to the output file will be returned in the url object in the return JSON.No
OCR Language for Scanned DocumentsChoose the OCR (Optical Character Recognition) language for extracting text from scanned PDF, PNG, JPG documents. The default language is English.No
Extraction RegionDefine coordinates for extraction with a list of comma-separated x, y coordinate numbers, e.g, 0, 0, 100, 100 is a square 100 pixels in from the top left corner of a PDF document.No
Enable Line GroupingSet to true to enable line grouping within table cells.No
UnwrapSet to true to unwrap lines into single line within table cells. Works only when Enable Line Grouping is enabled.No
Define Custom ProfilesA JSON string which adds options for the conversion process. See API Profiles for more.No

Source PDF URL & Google

When using Google Drive, it’s typically recommended to choose the File option. For more advanced file integration techniques, see Integrating File Sources with pdf.co.

Output

NameDescription
urlThe temporary URL on the PDF.co file server.
outputLinkValidTillA timestamp which indicates how long the url will be available for.
errorDetails of any errors (if any).
statusThe response status code. If all good this will be 200.
nameThe name of the file.
jobIdThe unique identifier for the job.
creditsThe credits spent on the process.
remainingCreditsThe credits left on your account.
durationThe time it took for the process.