How to convert a Webpage to PDF

If you are working in a digital environment, you may need to share a web page with your teammates. In most cases, passing a link is enough, but you need to convert web pages to PDF format for offline sharing or for the records keeping purposes. The webtopdf.com service can solve these problems. You can manually create high quality PDF documents from any URL in your browser and it comes with a variety of conversion options built in.

How to use?

With our online converter, you can capture full scrollable webpages instead of taking several screenshots which need to be merged afterward. Let’s take a look at how to save a webpage as a PDF, step-by-step.
  1. Open HTML web page on your preferred browser and copy the URL.
  2. On our website, navigate to our Webpage to PDF converter tool.
  3. Paste the URL you want to convert in the text box.
  4. To change your default conversion settings, click the "Options" button.
  5. Click the 'Convert' button.
  6. Download your exported webpage.
The sections below describe all the options available when converting web pages to PDF or images. The default settings are optimized for commonly used 'A4' page sizes.

Page Settings

When you change a web page to PDF or an image, there are several options you can change to control page settings. The value you set determines the layout of the PDF.

Page size

We allow you to use all major standard page formats for the page size of your PDF. These are listed in the table below, with their corresponding dimensions. The default page format is 'A4'.
A Paper SizesB Paper Sizes
Page formatDimensions
A0841 x 1189 mm, 33.1 x 46.8 in
A1594 x 841 mm, 23.4 x 33.1 in
A2420 x 594 mm, 16.5 x 23.4 in
A3297 x 420 mm, 11.7 x 16.5 in
A4210 x 297 mm, 8.3 x 11.7 in
A5148 x 210 mm, 5.8 x 8.3 in
A6105 x 148 mm, 4.1 x 5.8 in
A774 x 105 mm, 2.9 x 4.1 in
A852 x 74 mm, 2.1 x 2.9 in
A937 x 52 mm, 1.5 x 2.1 in
B01000 x 1414 mm, 39.4 x 55.7 in
B1707 x 1000 mm, 27.8 x 39.4 in
B2500 x 707 mm, 19.7 x 27.8 in
B3353 x 500 mm, 13.9 x 19.7 in
B4250 x 353 mm, 9.8 x 13.9 in
B5176 x 250 mm, 6.9 x 9.8 in
Folio210 × 330 mm, 8.5 × 13 in
LEDGER432 x 279 mm, 17.0 x 11.0 in
LEGAL216 x 356 mm, 8.5 x 14.0 in
LETTER216 x 279 mm, 8.5 x 11.0 in
TABLOID279 x 432 mm, 11.0 x 17.0 in
Custom sizeYou can set up a personalized page by manually adjusting the horizontal and vertical values.

Values from 100 to 1500 are valid. The figures are in millimeters.

Orientation

Page orientation is the direction in which a document is displayed or printed. The two basic types of page orientation are portrait (vertical) and landscape (horizontal). Most monitors have a landscape display, while most documents are printed in portrait mode. The default orientation is typically portrait, but you can change it to landscape if you want the width to be longer than the height.

Margins

You can set the left, top, right, and bottom margin dimensions in mm (millimeters). Values from 0 to 100 are valid.

Zoom

Zoom into or out of a page before the conversion. Values from 10% to 200% are valid.

Header and Footer

You can add headers and footers to the entire page. The same applies to all pages.

Rights Management

When converting web pages to PDF, you can use the encryption (also known as PDF rights management) settings in the table below. If you choose to convert the image to a non-PDF image, it will not be applied.
SettingDescription
PasswordPassword needed to open the PDF file
Disallow ExtractPrevent users from extracting the PDF file
Disallow PrintPrevent users from printing the PDF file

Conversion Settings

The table below shows the settings that you can change to control the conversion process. These will largely determine the content of the resulting PDF file.
SettingDescription
Convert TypeSupported file types for conversion include PDF, JPG, PNG, GIF, and TIFF
Use Print LayoutUse the print-friendly layout (CSS media type 'print') if the web page has one.
Remove JavaScriptConvert the page with JavaScript switched off
Remove LinkDo not show hyperlinks in the PDF
Add page NumberAll pages are numbered in the lower right corner. Available at the same time as the header footer.
Convert to grayscaleApply grayscale to the conversion process
Auto BookmarkInclude bookmarks in the PDF for the <h1> through <h4> tags in the webpage
Wait TimeDetermine the minimum wait time in second to load a page.

Some web pages dynamically create content with script. In order to capture an output that is as accurate as how the page would look to the end user, the converter waits for a short period of time before rendering the PDF output after it has finished loading. This gap gives the page some time to execute its intialization script. The default value is 8, while values between 4 and 30 are valid.

Watermarking

You can add a watermark. The table below shows the settings you can change to control watermarking. The same applies to all pages. If the watermark text is blank, no watermark is applied.
SettingDescription
TextText to apply to watermarking. If this value is blank, watermarking is ignored.
FontFont of text to apply to watermarking
SizeSize of text to apply to watermarking
BoldWhether to apply text bold to watermarking
ItalicWhether to apply text italic to watermarking
ColorColor of text to apply to watermarking
PositionPosition of text to apply to watermarking
OpacityTransparency of text to apply to watermarking
RotateRotation angle of text to apply to watermarking
LayerChoose whether watermarks appear above or below PDF content