Skip to content
TrySitePrice

Webpage to PDF

Give an address and a real browser on the server loads the page and prints it. Because that browser has no cookies and no session, what you get is the page as an anonymous visitor sees it — which is sometimes the point and sometimes a surprise, so it is worth saying plainly. Addresses that point back at the server or at a cloud metadata service are refused.

Must be a public http or https address. Private network and cloud metadata addresses are refused.

Paper size
The page is fetched and printed by a browser on the server, so what you get is what a visitor with no cookies and no login would see. A page behind a paywall or a sign-in will render as the wall, not the article.

Questions about rendering a web page

01Why did I get a sign-in page instead of the article?

Because the browser doing the rendering is not signed in as you. It has no cookies, no session and no extensions, so a paywall or a login wall is what it genuinely sees. Printing from your own browser is the only way to capture a page that depends on your session.

02Why are private addresses refused?

Because a tool that fetches any address you give it, from inside a server, can be pointed at that server's own internal services and cloud metadata endpoint. That is a well-understood way to leak credentials, so loopback, private ranges and the metadata address are rejected before the browser starts.

03The layout does not match what I see. Why?

A page is printed through its print stylesheet if it has one, at the paper size you chose rather than at your screen width. Responsive layouts reflow, fixed headers behave differently, and anything that loads on scroll may not have loaded. The render waits a few seconds for the page to settle, which is not always enough for a heavy page.

04Does this upload anything of mine?

No file, because you do not provide one — only an address, which goes to the server so the browser there can fetch it. This is one of the three tools here that uses the server at all.

Related tools