VOOZH about

URL: https://apify.com/moving_beacon-owner1/url-to-pdf

⇱ Web2PDF Β· Apify


Pricing

from $10.00 / 1,000 results

Go to Apify Store

Convert any web page into a polished, high-quality PDF. This actor takes one or more URLs, renders them (including JavaScript-heavy pages), and exports them into clean, printable PDFs with consistent layout and typography.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

2 months ago

Last modified

Share

🌐 Web to PDF β€” Apify Actor

Convert any web page into a polished, high-quality PDF.

This actor takes one or more URLs, renders them (including JavaScript-heavy pages), and exports them into clean, printable PDFs with consistent layout and typography.


✨ Features

  • 🧾 Clean PDF Layout

    • A4 format
    • Cover page (title + domain)
    • Page numbers and running headers
  • 🧠 Smart Content Handling

    • Detects structured pages (e.g. conversations, articles)
    • Preserves headings, paragraphs, tables, and code blocks
  • 🌍 Works with Any Website

    • Supports static HTML and modern JS-heavy (SPA) websites
  • πŸ–₯️ Headless Browser Rendering

    • Uses Playwright (Chromium) for accurate page rendering
    • Automatically enabled for dynamic websites
    • Can be forced via input option
  • πŸ”€ Self-contained Typography

    • Fonts included in build:
      • Inter
      • Source Serif 4
      • JetBrains Mono
    • KaTeX support for math rendering
    • Fully offline and deterministic output

πŸ“₯ Input

FieldTypeRequiredDefaultDescription
urlsarrayβœ… Yesβ€”List of URLs to convert
forceBrowserboolean❌ NofalseForce rendering with headless browser
filenameTemplatestring❌ No{title}Output filename template

Example Input

{
"urls":[
{"url":"https://example.com"},
{"url":"https://en.wikipedia.org/wiki/PDF"}
],
"forceBrowser":false,
"filenameTemplate":"{title}_{domain}"
}

πŸ“€ Output

Each generated PDF is:

  • Stored in the default key-value store
  • Logged in the default dataset

Example Output

{
"url":"https://example.com",
"title":"Example Domain",
"kind":"web",
"key":"Example_Domain.pdf",
"sizeKb":412,
"pdfUrl":"https://api.apify.com/v2/key-value-stores/<store-id>/records/Example_Domain.pdf"
}

🧩 Filename Template

You can customize output file names using:

  • {title} β†’ Page title
  • {domain} β†’ Website domain

Example

"{title}_{domain}"

Output:

Example_Domain_example.com.pdf

βš™οΈ How It Works

  1. Loads each URL
  2. Detects if JavaScript rendering is needed
  3. Renders page using Chromium (if required)
  4. Extracts structured content
  5. Applies clean PDF layout
  6. Generates and stores PDF

πŸš€ Use Cases

  • Save articles for offline reading
  • Archive web pages
  • Convert documentation into PDFs
  • Generate printable reports
  • Export structured web content

You might also like

URL to PDF Converter

rainminer/url-to-pdf-converter

Converts any web page into a high-quality PDF document ready to download file hosted on Apify. Print any web page to PDF with this actor.

HTML to PDF Converter Pro πŸ”„

powerful_bachelor/html-to-pdf-converter-pro

πŸ”„ Convert web pages to high-quality PDFs with special canvas element handling! Perfect for πŸ“„ documentation, πŸ–¨οΈ printing, and πŸ”’ archiving. Features include batch processing and flexible page settings. Transform your web content into professional PDFs! πŸš€

πŸ‘ User avatar

Powerful Bachelor

27

Html To Pdf Api

simplifysme/html-to-pdf-api

πŸ“„ Convert any HTML page or URL to high-quality PDF documents via API. Perfect for reports, invoices, documentation, web page archiving, and automated document generation.

πŸ‘ User avatar

SimplifySME Toolbox

1

Web Screenshot Api

simplifysme/web-screenshot-api

πŸ“Έ Capture high-quality screenshots of any web page and get them as downloadable images. Perfect for website monitoring, visual regression testing, and UI snapshots.

πŸ‘ User avatar

SimplifySME Toolbox

9

Web Scraper

agreeable_romance/web-scraper

Scrapes any website into a structured format.

Convert Image to PDF and PDF to Image

akash9078/image-pdf-converter

Convert images (JPG, PNG, BMP, and more) into high-quality PDFs, or extract images from PDF files in seconds. Image–PDF Converter Pro delivers fast, reliable, and professional results for all your document and image conversion needs.

πŸ‘ User avatar

Akash Kumar Naik

37

Website To PDF Converter

louisdeconinck/website-to-pdf-converter

Convert websites to high-quality PDF documents with customizable options. This powerful actor allows you to transform website pages with both static HTML and dynamic content into professional-grade PDFs, offering a wide range of customization features such as page format, orientation, margins, …

πŸ‘ User avatar

Louis Deconinck

146

5.0

PDF to HTML Converter

junipr/pdf-to-html

Convert PDFs to clean HTML preserving formatting, headings, tables, and layout. Multi-page support with per-page or combined output. OCR fallback for image PDFs. Inline CSS styling. Download via API.

OCR & Document Extractor – PDF & Image to Text, JSON, Word

lofomachines/ocr-document-extractor

Convert scanned PDFs and images into clean, structured text in bulk. Export to JSON, Markdown, DOCX, TXT or HTML with tables and layout preserved.

Related articles

Web crawling vs. web scraping
Read more
What is web scraping?
Read more