Convert a web page URL to PDF
Give it a URL and get the rendered page as a PDF. The page is loaded in a real browser, so scripts run and lazy content has a chance to appear before the snapshot.
Saving a URL as a PDF sounds trivial until the page depends on JavaScript. A plain HTTP fetch gets the empty shell before the framework mounts. Here the page is loaded in Chromium and given until the network settles, so charts, tables and anything rendered client-side make it into the document.
Pages behind a login need the session to travel with the request — through the API you can pass cookies or headers. Public pages need nothing.
Questions
Does JavaScript run?
Yes. The page loads in Chromium and rendering waits for the network to go idle before the PDF is taken.
Can I capture a page that needs a login?
Through the API, by passing the cookies or headers that authenticate the session.
What about pages that block bots?
Sites behind aggressive bot protection may refuse the request; nothing on our side can override that.
Other converters: HTML to PDF · API docs