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

To capture a webpage as a PDF with Urlbox, provide a publicly accessible page URL and set format to pdf. For a one-off terminal capture, Urlbox’s CLI has a shortcut: urlbox pdf https://example.com --output page.pdf. The main choice is whether you want a conventional multipage PDF or one long page.

Choose the Urlbox workflow

Use the API when you are integrating PDF capture into an application or need to manage jobs programmatically. Use the CLI when you want to run a command from a terminal and save the result locally. Urlbox documents synchronous and asynchronous API workflows, while its CLI PDF command writes to a specified output path. See the Urlbox documentation overview for the product’s documented scope.

Workflow Best fit Output handling
API Application integrations and automated capture The synchronous API returns a temporary render URL; asynchronous jobs return a render ID and status URL.
CLI One-off terminal captures Writes the PDF to the local path you supply with --output.

Capture a PDF with the Urlbox API

Send a synchronous request

Urlbox documents the synchronous endpoint as POST https://api.urlbox.com/v1/render/sync, authenticated with a bearer token containing your project secret. A minimal request body is:

{
  "url": "https://example.com",
  "format": "pdf"
}

Send that JSON body to the endpoint with your bearer token. The input URL must be publicly accessible to Urlbox. Urlbox also accepts HTML input, which can be useful when you are generating a document from markup rather than capturing a live public page. See the Urlbox API reference for authentication and request details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • 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

Choose the PDF layout

  • Multipage or one long page: PDF output is multipage by default. Set full_page: true to request the full website content on a single PDF page. That can produce an unusually tall document; use the default when ordinary page breaks are preferable.
  • Specific pages: Set pdf_page_range to a range such as 1,3-5 when you only need selected pages.
  • Paper dimensions: Use pdf_page_size for a standard paper size, or pdf_page_width and pdf_page_height for custom dimensions.
  • Print or screen styling: PDFs use the page’s print stylesheet by default. Set media to screen if the print styles omit or substantially change content you need, then inspect the result because screen styling may not suit a paginated document.
  • Headers and footers: Urlbox’s options reference documents PDF headers and template variables including the current date, page title, URL, page number, and total page count.
  • Consent overlays: For full-page captures, Urlbox recommends considering click_accept and hide_cookie_banners. Check the resulting PDF to confirm that the page’s own consent interface or print layout has not obscured wanted content.

These controls are documented in the Urlbox PDFs guide and render options reference.

Handle the API result and retention

A successful synchronous response includes a temporary renderUrl. Urlbox’s API reference says that URL expires after 30 days, so download the PDF or use Urlbox’s documented storage approach if you need to retain it longer. For longer-running captures or application workflows that should not wait on a synchronous response, the API also documents an asynchronous endpoint with a render ID and status URL; webhooks are another documented way to receive status updates.

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)

The API reference notes that a long-running synchronous request can return a temporary redirect after 95 seconds. It also says render endpoint requests are not cached or deduplicated, so avoid blindly retrying a request if the first response is delayed or ambiguous; use the documented asynchronous status flow where appropriate. Details are in the API reference.

Capture a PDF with the Urlbox CLI

Install, authenticate, and save

Follow Urlbox’s CLI quickstart to install the CLI and log in. Then run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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
urlbox pdf https://example.com --output page.pdf

The pdf command is shorthand for PDF rendering with full-page capture enabled. It saves the result as page.pdf in the current directory. Use a different path after --output to choose another filename or location. If you want a conventional multipage document instead of a single long page, use the CLI’s documented options to override full-page capture.

Or skip the browser setup

For a screenshot-style capture or PDF without setting up a browser workflow, ScreenshotNeo accepts one GET request with a URL and can return PNG, JPEG, WebP, or PDF. Its API supports PDF output controls such as paper size, margins, landscape orientation, and page ranges. It is not a Urlbox command, so use it as a separate option when its capture behavior fits your needs.

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

Example cURL request:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for available parameters and authentication. ScreenshotNeo removes cookie banners, popups, and chat widgets before the shot; bot checks, blank pages, and failed loads are never billed. It also has an MCP server for AI agents, and includes 1,000 screenshots a month free with no card; paid plans start at $5 for 3,000 screenshots. Sign up for ScreenshotNeo’s free plan.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common PDF problems

  • The page cannot be rendered: Check that the URL is publicly accessible to Urlbox and correctly formed. The basic URL workflow does not establish a method for private or internal pages; the documented alternative input type is HTML.
  • The PDF has missing or different content: Print styles are selected by default. Try media: "screen" if the print stylesheet hides needed content, and inspect the PDF for layout differences.
  • The result is one very tall page: The CLI pdf shortcut enables full-page capture. Override that setting when you need conventional page breaks; the API’s default PDF is multipage.
  • A cookie prompt covers the page: Consider the documented click_accept and hide_cookie_banners options, then verify the saved document.
  • The synchronous request takes too long: A long-running request can return a temporary redirect after 95 seconds. For automated or slow captures, use Urlbox’s asynchronous endpoint and status URL or webhook workflow rather than treating every delay as a failed render.
  • A saved API link no longer works: The synchronous renderUrl is temporary and expires after 30 days. Download the PDF for local retention or use the documented storage approach.

FAQ

Can Urlbox make a PDF from HTML instead of a URL?

Yes. Urlbox documents HTML as an input option, in addition to a publicly accessible URL. Consult its API documentation for the request format.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

Does Urlbox deduplicate repeated render requests?

No. The API reference says render endpoint requests are not cached or deduplicated.

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
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

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.