Skip to content
PDF.co

How to use PDF.co

Content & filesProductivityCost: 1 credit per runTop 100 · #62Full guide

What it is for

PDF.co brings dozens of PDF operations into flooows: convert HTML to PDF, extract text or tables, fill forms, merge, split, compress, protect or run OCR. It is useful for processing invoices, generating documents and preparing files for other systems or AI.

PDF.co has no triggers: use it as an action inside flows started by another event, such as an email with an attachment or a new file in a folder.

Set up the connection

Authentication type: API key or token

  1. 1Sign in to app.pdf.co (or create an account).
  2. 2Open the API section in the side menu and copy your key.
  3. 3In flooows, add a PDF.co step and click "Connect".
  4. 4Paste the key into the API key field and save the connection.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Extract Plain Text from PDF: map the "Source PDF URL" from an earlier step and enable "Use OCR (Scanned PDFs)" for scanned documents.
  • Convert HTML to PDF: pass the "HTML Content" (you can build it with flow data) and adjust "Paper Size" and "Orientation".
  • Merge PDFs and Split PDF accept URLs or files; "Page Ranges" defines the split, for example 1-2,3-.
  • Fill PDF Form: run Get PDF Form Fields first to learn the names, then fill "Fields"; "Flatten Form" locks the values.
  • Many actions offer "Save Result as File" to pass the file straight to the next step.

Tips

  • •Result links expire; adjust "Expiration Time in Minutes" or "Link Expiration (minutes)" if the next step is slow.
  • •For large documents enable "Run in Background" to avoid long waits.
  • •Each operation uses credits from your PDF.co plan.

Actions (34)

Operations available as flow steps. Expand each one to see its fields.

Add Barcode to PDF14 fields
FieldTypeRequired
Source PDF URLTextYes
Barcode ValueTextYes
Barcode TypeFixed listYes
X CoordinateNumberYes
Y CoordinateNumberYes
Width (optional)NumberNo
Height (optional)NumberNo
PagesTextNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Save Result as FileYes / NoNo
Add Image to PDF13 fields
FieldTypeRequired
Source PDF URLTextYes
Image URLTextYes
X CoordinateNumberYes
Y CoordinateNumberYes
WidthNumberNo
HeightNumberNo
Target PagesTextNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Save Result as FileYes / NoNo
Add Text to PDF20 fields
FieldTypeRequired
Source PDF URLTextYes
Text to AddLong textYes
X CoordinateNumberYes
Y CoordinateNumberYes
Font SizeNumberNo
ColorTextNo
Bold Font ?Yes / NoNo
Stikeout Font ?Yes / NoNo
Underline Font ?Yes / NoNo
Font NameTextNo
Target PagesTextNo
Text Box HeightNumberNo
Text Box WidthNumberNo
Text Box AlignmentFixed listNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Save Result as FileYes / NoNo
Convert HTML to PDF14 fields
FieldTypeRequired
HTML ContentLong textYes
Output File NameTextNo
MarginsTextNo
Paper SizeFixed listNo
OrientationFixed listNo
Print Background ?Yes / NoNo
Media TypeFixed listNo
Header HTMLLong textNo
Footer HTMLLong textNo
Do not wait till full page load ?Yes / NoNo
Output Link Expiration (minutes)NumberNo
ProfilesJSONNo
Custom Paper SizeTextNo
Save Result as FileYes / NoNo
Convert PDF to JSON/CSV/XML/Excel/HTML11 fields
FieldTypeRequired
Source PDF URLTextYes
Output FormatFixed listYes
PagesTextNo
OCR LanguageTextNo
ProfilesJSONNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Save Result as FileYes / NoNo
Extract Tables from PDF (using Template)9 fields
FieldTypeRequired
Source PDF URLTextYes
Template IDTextYes
PagesTextNo
ProfilesJSONNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Extract Plain Text from PDF8 fields
FieldTypeRequired
Source PDF URLTextYes
PagesTextNo
Source PDF PasswordTextNo
File NameTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Use OCR (Scanned PDFs)Yes / NoNo
OCR LanguageTextNo
Search and Replace Text in PDF13 fields
FieldTypeRequired
PDF URLTextYes
Text to LocateList of valuesYes
Replacement TextList of valuesYes
Case SensitiveYes / NoNo
Use Regular Expressions ?Yes / NoNo
PagesTextNo
File NameTextNo
Expiration Time in MinutesNumberNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Max Replacements per TextNumberNo
Save Result as FileYes / NoNo
Merge PDFs8 fields
FieldTypeRequired
PDF URLsList of valuesNo
PDF FilesList of valuesNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Split PDF9 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Page RangesTextYes
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Delete Pages from PDF9 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Pages to DeleteTextYes
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Rotate PDF Pages10 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
AngleFixed listYes
PagesTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Compress PDF9 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Compression LevelFixed listNo
Image Quality (1-100)NumberNo
Source PDF PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Protect PDF with Password16 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Owner PasswordTextYes
Open PasswordTextNo
EncryptionFixed listNo
Allow PrintingYes / NoNo
Allow Copying ContentYes / NoNo
Allow EditingYes / NoNo
Allow Filling FormsYes / NoNo
Allow AnnotationsYes / NoNo
Allow Assembling PagesYes / NoNo
Allow Accessibility ToolsYes / NoNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Remove PDF Password7 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
PDF PasswordTextYes
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Make PDF Searchable (OCR)11 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
OCR LanguageTextNo
PagesTextNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Get PDF Info5 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Get PDF Form Fields5 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Fill PDF Form11 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
FieldsList of valuesYes
Flatten FormYes / NoNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Find Text in PDF9 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Text to FindTextYes
Use Regular ExpressionYes / NoNo
Word MatchingFixed listNo
PagesTextNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Delete (Redact) Text in PDF14 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Text to RemoveList of valuesYes
Case SensitiveYes / NoNo
Use Regular ExpressionsYes / NoNo
Max Matches per TextNumberNo
PagesTextNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Read Barcodes6 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Barcode TypesMulti-selectYes
PagesTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Generate Barcode Image7 fields
FieldTypeRequired
ValueTextYes
Barcode TypeFixed listYes
Logo URLTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Convert PDF to Images11 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Image FormatFixed listYes
PagesTextNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Convert Web Page to PDF13 fields
FieldTypeRequired
Web Page URLTextYes
Paper SizeFixed listNo
Custom Paper SizeTextNo
OrientationFixed listNo
MarginsTextNo
Print BackgroundYes / NoNo
Header HTMLLong textNo
Footer HTMLLong textNo
Render Wait (ms)NumberNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Convert Document to PDF10 fields
FieldTypeRequired
Source TypeFixed listYes
Source File URLTextNo
Source FileFileNo
More Image URLsList of valuesNo
HTTP UsernameTextNo
HTTP PasswordTextNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
Create PDF from HTML Template13 fields
FieldTypeRequired
TemplateList (from your account)Yes
Template DataJSONYes
Paper SizeFixed listNo
Custom Paper SizeTextNo
OrientationFixed listNo
MarginsTextNo
Print BackgroundYes / NoNo
Header HTMLLong textNo
Footer HTMLLong textNo
Output File NameTextNo
Link Expiration (minutes)NumberNo
Run in BackgroundYes / NoNo
Save Result as FileYes / NoNo
List HTML Templates0 fields

No fields to configure.

Parse Document with Template7 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
TemplateList (from your account)Yes
PagesTextNo
Source PDF PasswordTextNo
HTTP UsernameTextNo
HTTP PasswordTextNo
List Document Parser Templates0 fields

No fields to configure.

Parse Invoice with AI5 fields
FieldTypeRequired
Source File URLTextNo
Source FileFileNo
Custom FieldsList of valuesNo
Line Item StructureJSONNo
Job IDTextNo
Upload File to PDF.co1 fields
FieldTypeRequired
FileFileYes
Check Job Status2 fields
FieldTypeRequired
Job IDTextYes
Save Result as FileYes / NoNo
Get Credit Balance0 fields

No fields to configure.

Common errors

401 or invalid key

Copy the key again from the API section and reconnect.

Source file cannot be downloaded

The URL must be public, or provide "HTTP Username" and "HTTP Password".

Not enough credits

Check your PDF.co account balance.

Password-protected PDF

Enter the password in "Source PDF Password".

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps