October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Convert a Shopify Product Page to PDF with PDFShift

Send a public Shopify product URL to PDFShift’s v3 conversion endpoint, save the response as a PDF, and check the document’s images, price, and layout.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To convert a Shopify product page to PDF with PDFShift, send its public URL as the source to PDFShift’s v3 conversion endpoint, authenticate with your API key in the X-API-Key header, and save the response body as a PDF. This is an API workflow, not a Shopify-specific app; inspect the resulting file because the available documentation does not guarantee how every storefront renders.

What you need

  • The public URL of the Shopify product page you want to save.
  • A PDFShift API key.
  • A way to make an HTTP request and write its response to a file. The examples below use Python and Node.js; the request can also be made with cURL.

PDFShift documents converting a URL or raw HTML to PDF. The endpoint used in its examples is https://api.pdfshift.io/v3/convert/pdf, with the API key sent in the X-API-Key header. See the PDFShift site and its documentation for the service details.

As an Amazon Associate I earn from qualifying purchases.

Convert the product page URL to a PDF

  1. Open the Shopify product page and copy its public URL.
  2. Put the URL in the request’s source field and authenticate with your PDFShift API key.
  3. Save the successful response body with a .pdf extension.
  4. Open the PDF and check that it includes the product title, images, price, description, and any other information you need.

Python example

Install the requests package if it is not already available, then save this as product_to_pdf.py. Replace the placeholders with your API key and product URL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import requests

api_key = "YOUR_PDFSHIFT_API_KEY"
product_url = "https://your-store.example/products/your-product"

response = requests.post(
    "https://api.pdfshift.io/v3/convert/pdf",
    headers={"X-API-Key": api_key},
    json={"source": product_url},
    timeout=120,
)
response.raise_for_status()

with open("product.pdf", "wb") as pdf_file:
    pdf_file.write(response.content)

The request shape follows PDFShift’s documented Python example: send JSON containing source, then write the response content to a file. The timeout in this example is a client-side setting, not a stated PDFShift guarantee.

#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner | For Computers including PC and Mac Receipt and Document Scanner USB Powered
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0

Node.js example

This version uses Node’s built-in fetch and file-writing support, so it does not require the Needle library used in PDFShift’s example.

import { writeFile } from "node:fs/promises";

const apiKey = "YOUR_PDFSHIFT_API_KEY";
const productUrl = "https://your-store.example/products/your-product";

const response = await fetch("https://api.pdfshift.io/v3/convert/pdf", {
  method: "POST",
  headers: {
    "X-API-Key": apiKey,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ source: productUrl }),
});

if (!response.ok) {
  throw new Error(`PDFShift request failed: ${response.status} ${response.statusText}`);
}

await writeFile("product.pdf", Buffer.from(await response.arrayBuffer()));

Run this as an ES module in a Node.js environment with built-in fetch. Keep the API key out of publicly distributed code; load it from an environment variable for production use.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

cURL example

curl -X POST "https://api.pdfshift.io/v3/convert/pdf" 
  -H "X-API-Key: YOUR_PDFSHIFT_API_KEY" 
  -H "Content-Type: application/json" 
  -d '{"source":"https://your-store.example/products/your-product"}' 
  --output product.pdf

Check that the request completed successfully before treating the output as a finished PDF. If an error response was saved with a .pdf extension, it will not be a usable document.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check and adjust the PDF

Shopify product pages can include content that is rendered by storefront scripts or loaded as the page is viewed. The available PDFShift materials describe URL conversion and customization, but do not verify results for particular Shopify themes, scripts, or gated pages. Inspect the output rather than assuming it matches the browser view.

Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer
  • Confirm the title, price, description, and variant details are present and readable.
  • Check that product images have loaded and are not cropped or missing.
  • Review page breaks, margins, and whether important information is split across pages.
  • If the layout needs adjustment, use PDFShift’s documented CSS customization. Its CSS guide says the css parameter can accept CSS content or a URL; see PDFShift’s documentation for the supported request format.

Troubleshooting

The request fails authentication

Check that the key is a valid PDFShift API key and that it is sent in the X-API-Key header, not in the URL or request body. Make sure the header name is spelled exactly.

The response is not a readable PDF

Check the HTTP status before saving the body. An API error response may be text or JSON rather than PDF data; use raise_for_status() in Python or check response.ok in Node.js, as shown above.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management

Product content is missing or incomplete

First open the product URL in a normal browser and confirm that the content is publicly accessible. Then inspect what the PDF contains. If the page’s print layout needs changes, try PDFShift’s documented CSS customization. The cited materials do not establish a guaranteed fix for content that depends on a particular theme, script, or access restriction.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The layout is awkward or content is cut off

Review the PDF’s page breaks, margins, image sizing, and text wrapping. Use custom CSS to adjust PDF presentation, and generate the PDF again to check the effect.

Best Value
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your goal is a visual capture rather than a PDFShift conversion, ScreenshotNeo is a screenshot API and MCP server for developers. A single request can return an image or PDF:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://your-store.example/products/your-product -o product.pdf

See the ScreenshotNeo docs for request options. It can accept cookie or consent banners before capture and remove known consent platforms, newsletter popups, and chat widgets; these steps can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides screenshot tools for AI agents. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. For a PDF response, save the returned file with a .pdf extension.

Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.