Automate PDFShift for free on Stepper
Convert HTML to PDF, PNG, JPEG, or WEBP. Generate documents from templates with PDFShift.
Actions available for PDFShift on Stepper
Convert HTML to PDF
Convert a URL or raw HTML into a PDF document. Returns a JSON object with a 2-day S3 URL for the generated file.
- 44 parameters
- Source
- Filename
- Sandbox Mode
- Landscape
- Page Format
- Pages
- Zoom
- Margin
- Disable Backgrounds
- Remove Blank Pages
- Header HTML
- Header Height (mm)
- Footer HTML
- Footer Height (mm)
- Delay (ms)
- Timeout (s)
- Wait For (JS Function)
- Wait for Network Idle
- Disable JavaScript
- Lazy-Load Images
- Custom CSS
- Custom JavaScript
- Use Print Stylesheet
- HTTP Headers (JSON)
- Cookies (JSON)
- Basic Auth Username
- Basic Auth Password
- Fail on Source Error
- Metadata: Author
- Metadata: Title
- Metadata: Subject
- Metadata: Keywords
- User Password
- Owner Password
- Disable Printing
- Disable Copying
- Disable Modification
- Watermark Text
- Watermark Image URL
- Watermark Color
- Watermark Opacity
- Watermark Rotation
- S3 Destination
- Log Request
Convert HTML to PNG
Render a URL or HTML as a PNG image. Returns a JSON object with a 2-day S3 URL.
- 18 parameters
- Source
- Filename
- Sandbox Mode
- Viewport
- Transparent Background
- Full Page
- CSS Selector
- Clip (JSON)
- DPI
- Delay (ms)
- Timeout (s)
- Wait For (JS Function)
- Wait for Network Idle
- Disable JavaScript
- Custom CSS
- Custom JavaScript
- HTTP Headers (JSON)
- Cookies (JSON)
Convert HTML to JPEG
Render a URL or HTML as a JPEG image. Returns a JSON object with a 2-day S3 URL.
- 18 parameters
- Source
- Filename
- Sandbox Mode
- Viewport
- Quality
- Full Page
- CSS Selector
- Clip (JSON)
- DPI
- Delay (ms)
- Timeout (s)
- Wait For (JS Function)
- Wait for Network Idle
- Disable JavaScript
- Custom CSS
- Custom JavaScript
- HTTP Headers (JSON)
- Cookies (JSON)
Convert HTML to WEBP
Render a URL or HTML as a WEBP image. Returns a JSON object with a 2-day S3 URL.
- 17 parameters
- Source
- Filename
- Sandbox Mode
- Viewport
- Full Page
- CSS Selector
- Clip (JSON)
- DPI
- Delay (ms)
- Timeout (s)
- Wait For (JS Function)
- Wait for Network Idle
- Disable JavaScript
- Custom CSS
- Custom JavaScript
- HTTP Headers (JSON)
- Cookies (JSON)
Generate PDF from Template
Render one of your stored PDFShift templates as a PDF document. Returns a JSON object with a 2-day S3 URL.
- 17 parameters
- Template
- Template Data (JSON)
- Filename
- Sandbox Mode
- Landscape
- Page Format
- Pages
- Zoom
- Margin
- Header HTML
- Header Height (mm)
- Footer HTML
- Footer Height (mm)
- Metadata: Author
- Metadata: Title
- User Password
- Watermark Text
Create Template
Create a new HTML template in your PDFShift account.
- 3 parameters
- Slug
- Name
- HTML Content
Update Template
Update an existing PDFShift template's name or content.
- 3 parameters
- Template
- Name
- HTML Content
Find Template
Find a template by slug. Returns the template object including its name and HTML content.
- 1 parameters
- Template
Get Account
Retrieve the connected PDFShift account, including plan and credit information.
Get Credits Usage
Retrieve the connected account's credit usage and remaining balance.
Make HTTP Request
Make an HTTP request to any URL with full control over method, headers, and body.
