Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › browser automation

How to Turn Any Webpage Into a PDF with ScreenshotNeo

By Freedom251 Team · · 10 min read

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

The quickest way to save a webpage once is your browser’s Print → Save as PDF command. If you need repeatable URL-to-PDF conversion, controlled page size and margins, authenticated pages, or automation, send the URL to ScreenshotNeo with format=pdf. It returns a PDF you can save directly, while letting you control rendering, waits, cookies, headers, JavaScript and page ranges.

This guide covers desktop and mobile browsers first, then shows a complete ScreenshotNeo workflow for reliable, automated captures.

As an Amazon Associate I earn from qualifying purchases.

Choose the method that fits the job

Method Best for What to expect
Browser Print A one-off document Usually produces searchable text, but the page may reflow into a print layout.
Full-page screenshot Preserving the visual appearance Better visual fidelity, but text may not be selectable or searchable.
ScreenshotNeo PDF API Repeatable jobs, scripts and controlled rendering Configurable paper, margins, orientation, backgrounds, page ranges, waits, authentication and resource handling.

The best method depends on what you need: a quick archival copy, a screen-faithful version, or a repeatable conversion pipeline.

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

Save a webpage as a PDF in a desktop browser

Windows and Linux (Chrome, Edge and other Chromium browsers)

  1. Open the complete webpage and wait for its text and images to finish loading.
  2. Press Ctrl+P.
  3. In the print dialog, choose Save as PDF as the destination.
  4. Review the preview, including the last page. Check orientation, scale, margins, page breaks and whether background graphics are enabled.
  5. Choose a filename and location, then select Save.

macOS

  1. Open the page and wait for dynamic content and images to appear.
  2. Press Command+P.
  3. Use the system print dialog’s PDF menu and choose Save as PDF.
  4. Inspect the preview for missing sections, awkward breaks and incorrect orientation before saving.

When the print preview is wrong

Printing uses print CSS and can reflow a responsive layout. A navigation bar may disappear, columns can stack, and a long page can split a heading from its content. Try landscape orientation, a different scale or narrower margins. If the page loads images only after scrolling, scroll through the entire page first, wait for the images, and then open Print again.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Save a webpage as a PDF on Android and iPhone

Android Chrome

  1. Open the page in Chrome.
  2. Open the three-dot menu and choose Share, then Print.
  3. Select Save as PDF as the printer or destination.
  4. Review the page count and preview, then save the file.

iPhone Safari

  1. Open the page in Safari.
  2. Open the Share sheet or Page Menu and choose Markup.
  3. Tap Done, then choose Save File To and select a destination.

Firefox for iOS

When you need the complete scrollable page rather than a print-oriented reflow, Firefox for iOS can export a full-page screenshot as a PDF. Confirm that the captured image includes the final section before saving.

Prepare a page before printing

  • Load lazy content: Scroll through long pages so images and other lazy-loaded elements are requested. Wait until placeholders are replaced.
  • Dismiss overlays: Close newsletter dialogs, chat panels and consent prompts that cover the page.
  • Check authentication: Sign in before printing. A login screen or access-denied page can look valid in the preview.
  • Inspect the actual file: Open the saved PDF after saving. Do not rely only on the preview; verify images, text, blank pages and page breaks in the file itself.

Turn a URL into a PDF with ScreenshotNeo

ScreenshotNeo is a website screenshot API and MCP server. A GET request to https://api.screenshotneo.com/v1/shot can return a PDF instead of an image when you pass format=pdf. It is useful when a person should not have to open a browser for every conversion, or when every capture must use the same rendering settings.

Step 1: Create an access key

Create an access key in the ScreenshotNeo dashboard. Keep it private; send it as the access_key query parameter rather than exposing it in client-side webpage code.

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

Step 2: Make a basic PDF request

The following request captures the example URL and writes the returned bytes to page.pdf. The API documentation is at https://screenshotneo.com/docs/.

curl -G "https://api.screenshotneo.com/v1/shot" 
  -d access_key=YOUR_API_KEY 
  --data-urlencode url=https://example.com 
  -d format=pdf 
  -o page.pdf

Replace YOUR_API_KEY and the URL. A successful response is the PDF body, so redirect it to a file rather than printing it in a terminal.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Step 3: Set PDF layout controls

Use the PDF parameters that match your destination. Paper can be A4, letter, legal and other supported sizes. You can choose landscape orientation, print backgrounds, set margins and request specific page ranges.

Control Purpose Typical use
pdf_paper Selects the paper size. Use A4 for many international documents, letter for US office workflows, or legal for longer forms.
pdf_landscape Uses horizontal orientation. Useful for wide tables, dashboards and comparison grids.
pdf_background Prints page backgrounds. Keep branded colors, shaded table cells or background graphics that print CSS might omit.
pdf_margin Controls whitespace around the page. Increase margins for annotation or decrease them when content is being clipped.
pdf_page_ranges Limits output to selected pages. Extract only the pages needed from a long report.

Use the exact parameter values accepted by the current ScreenshotNeo documentation for your chosen paper size and margin format.

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

Complete Python example

import requests

params = {
    "access_key": "YOUR_API_KEY",
    "url": "https://example.com",
    "format": "pdf",
    "pdf_paper": "A4",
    "pdf_landscape": "false",
    "pdf_background": "true",
}
response = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params=params,
    timeout=90,
)
response.raise_for_status()
with open("page.pdf", "wb") as pdf_file:
    pdf_file.write(response.content)

Complete Node.js example

const q = new URLSearchParams({
  access_key: 'YOUR_API_KEY',
  url: 'https://example.com',
  format: 'pdf',
  pdf_paper: 'A4',
  pdf_landscape: 'false',
  pdf_background: 'true'
});
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`ScreenshotNeo returned ${res.status}`);
const pdf = Buffer.from(await res.arrayBuffer());
await import('node:fs/promises').then(fs => fs.writeFile('page.pdf', pdf));

Control dynamic pages and protected content

A URL is not always ready when the first request arrives. ScreenshotNeo provides controls for the conditions that commonly cause incomplete PDFs.

Need Available controls Why it matters
Wait for content Wait for a CSS selector, a fixed delay or network idle. Allows client-rendered text, charts and lazy images to finish before rendering.
Run page logic Custom JavaScript and a click on an element before capture. Opens tabs, expands accordions or dismisses an in-page control before conversion.
Target only part of a page Full-page capture or one element selected by CSS; hide selectors. Produces a focused document without headers, ads or unrelated panels.
Match a visitor Custom headers, cookies, user agent, Authorization, timezone and geolocation. Reproduces the right account, locale or regional response.
Reduce interference Block ads, trackers, requests or selected resource types. Shortens loading and prevents third-party widgets from changing the layout.
Set visual context Dark mode, 12 device presets, any viewport and retina scale. Captures responsive pages as they appear on a chosen device or display density.
Supply content directly HTML/CSS to image support and custom CSS. Useful when the source is generated HTML rather than a public URL.
Post-process output Transparent background and image resizing. More relevant to image output, but useful when the same capture pipeline serves both images and PDFs.

For a dynamic article, a practical sequence is: wait for a selector containing the article body, allow network idle, enable full-page capture, and hide fixed-position chat or consent elements. For a private page, supply the required cookies or Authorization header and verify that the resulting PDF contains account content rather than a sign-in form.

Or skip the browser setup

Use one API call when you need a repeatable conversion:

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord | 6.35mm Jack, Durable Design, Stage and Home Studio Use, Low Noise Shielded Electric Cord for Bass, Keyboard, Amp, Mixer
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
curl -G "https://api.screenshotneo.com/v1/shot" 
  -d access_key=YOUR_API_KEY 
  --data-urlencode url=https://stripe.com 
  -d format=pdf 
  -o shot.pdf

Before capture, ScreenshotNeo accepts the cookie or consent banner like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and the response identifies the result with X-Page-Verdict and X-Billed headers. An MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients, so AI agents can request captures without custom browser wiring.

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

Every feature is included on every plan. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Other monthly plans are Starter ($5/3,000), Growth ($15/15,000), Pro ($39/60,000), Scale ($99/250,000) and Business ($249/1,000,000). Yearly billing gives two months free.

Create a free ScreenshotNeo account and start with 1,000 screenshots a month without adding a card.

Automation features for larger PDF workflows

Repeatable jobs and caching

Choose a cache time-to-live when the page does not change on every request. Cache hits are not billed, and the response states whether the result was billed. For jobs that should finish later, use asynchronous capture with signed webhooks. This keeps a worker from waiting on a long browser render.

Bulk conversion

Bulk capture accepts up to 100 URLs per call. It is suitable for generating a document set, provided your application records which URL produced each file and checks every returned result.

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

Public embeds and integrations

Signed links allow a generated capture to be used in a public <img> tag without exposing the access key. The usage API lets you monitor consumption, and the OpenAPI specification can generate clients for your own services. Parameter names used by other screenshot APIs also work, which can reduce changes when switching an existing integration.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify the PDF before you publish or archive it

  1. Open the file itself: Confirm that it is a valid PDF and that the file size is not unexpectedly tiny.
  2. Check the beginning and end: Look for a blank first page, a missing final section or a footer repeated over content.
  3. Inspect images: Confirm that lazy-loaded images, charts and logos are visible and not replaced by empty boxes.
  4. Review pagination: Check page ranges, orientation, margins and breaks around headings, tables and figures.
  5. Check overlays: Look for consent banners, newsletter dialogs, chat widgets or sticky headers covering text.
  6. Validate access: For protected URLs, make sure the PDF shows the intended account or regional content.

Troubleshooting common failures

The PDF is blank

Cause: The page timed out, requires JavaScript, returned a bot check, or the capture happened before content rendered. Fix: Add a selector wait, a delay or network-idle wait; provide the required cookies or headers; and inspect X-Page-Verdict and X-Billed. A blank page or failed load is not billed by ScreenshotNeo.

Images are missing

Cause: Images are lazy-loaded, blocked by a resource policy or still downloading. Fix: Scroll the page before browser printing, or configure an explicit wait and allow the image resource type in an automated capture. Check the saved PDF rather than trusting a partial preview.

Content is cut off at the right edge

Cause: The content is wider than the selected paper or viewport. Fix: Use pdf_landscape, choose a wider paper size, adjust pdf_margin, or apply custom CSS that changes the layout at print width.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

Background colors or graphics disappeared

Cause: Print rendering often omits backgrounds unless explicitly enabled. Fix: Set pdf_background according to the API documentation and verify the output.

A login page appears instead of the document

Cause: The automated request has no session. Fix: Pass the required cookies, Authorization header or other custom headers, then wait for a selector that exists only after authentication.

A cookie banner or chat panel covers the page

Cause: A consent platform or fixed widget loaded after the initial page. Fix: Dismiss it in a browser, hide its selector, click its close control before capture, or let ScreenshotNeo remove known consent platforms, newsletter popups and chat widgets before rendering.

The browser PDF has awkward page breaks

Cause: Browser Print applies print CSS and its own pagination rules. Fix: Change scale, margins or orientation, adjust the page’s print CSS, or use ScreenshotNeo’s PDF controls and page ranges for a consistent output.

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

The request appears slow

Cause: The page is JavaScript-heavy, contains many third-party resources or is waiting for a long network-idle period. Fix: Block unnecessary ads, trackers, requests or resource types; wait for a specific content selector instead of an indefinite condition; use caching with an appropriate TTL; and use asynchronous jobs with signed webhooks for long captures.

Cost, reliability and operational notes

  • Browser printing: No API account is needed, but every conversion is manual and depends on the current browser session and print settings.
  • ScreenshotNeo billing: Only clean shots are billed. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, with the classification returned in response headers.
  • Free evaluation: The Free plan provides 1,000 shots per month without a card. Paid plans begin at $5 for 3,000 shots, and yearly billing gives two months free.
  • Consistency: Store the URL, options, timestamp and response verdict alongside each PDF so a later reviewer can reproduce or diagnose a document.
  • Security: Keep access keys on a server or in a secret manager. Do not place them in browser JavaScript or public links; use signed links when an image must be embedded publicly.

Which approach should you use?

  • Choose browser Print for a single page when searchable text and convenience matter more than exact screen layout.
  • Choose a full-page screenshot workflow when visual fidelity is the priority and selectable text is not essential.
  • Choose ScreenshotNeo when you need URL-to-PDF automation, controlled paper and margin settings, authenticated or localized pages, predictable waits, bulk conversion or an MCP connection for AI agents.

Frequently Asked Questions

Can I create a PDF from only selected pages?

Yes. ScreenshotNeo provides the pdf_page_ranges control so a long document can be limited to the pages you need.

Can an AI agent request a PDF without custom browser code?

Yes. ScreenshotNeo’s MCP server includes a capture_pdf tool, alongside take_screenshot and get_page_info, for Claude, Cursor and other MCP clients.

What happens if a capture is a cache hit?

The cache hit is not billed, and the response identifies the billing result through the X-Page-Verdict and X-Billed headers.

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

Can I render a page for a different country or time zone?

Yes. ScreenshotNeo supports custom timezone and geolocation settings, as well as cookies, headers, user-agent and Authorization controls.

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.

browser automationPDFScreenshotNeoWeb developmentwebpage to PDF

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.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

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.