URL-to-PDF API is an open-source microservice that converts web pages or HTML content into PDF documents or image files through a simple HTTP interface. The service works by launching a headless Chrome browser and rendering the requested page exactly as it would appear in a normal browser environment. Once the page has fully loaded, the system generates a PDF or screenshot that can be returned directly through the API. This approach allows developers to automatically produce documents such as invoices, reports, receipts, or archived versions of web pages. The microservice includes configuration options for controlling rendering behavior, page size, margins, and other PDF settings. It can also wait for dynamic content to load, ensuring that modern JavaScript-driven pages are rendered correctly before generating the output.

Features

  • Conversion of web pages or HTML content into PDF documents
  • Support for generating image screenshots such as PNG or JPEG
  • Rendering engine powered by headless Chrome and Puppeteer
  • Configurable output settings including margins, format, and page size
  • Ability to wait for dynamic content before generating the document
  • REST-style API for integration into automated workflows

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow URL to PDF Microservice

URL to PDF Microservice Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of URL to PDF Microservice!

Additional Project Details

Operating Systems

Windows

Registered

2026-03-13