PDF to WebP

Try PDF to WebP

Files are processed in your browser without uploading them.

PDF to WebP inputs

Loading calculator. If this message stays visible, enable JavaScript and reload.

Worked example

Take a 20-page, 8 MiB PDF and convert its page 3, whose viewport is 300 × 400 points. With the default render scale of 1.5, the output is a 450 × 600 pixel WebP image; raising the scale to 2 gives a 600 × 800 pixel image, and lowering it to 0.25 gives a 76 × 101 pixel thumbnail (dimensions are rounded up). The result is one image for page 3 only — the other 19 pages are not converted in that run.

How to use the PDF to WebP converter

Choose an unencrypted PDF of up to 100 pages and 20 MiB, enter the physical page number (1 for the first page, counting covers and unnumbered pages), set a render scale from 0.25 to 4, and click “PDF to WebP”. Check the reported width and height, then download the image and inspect it at its intended display size.

Related tools

Convert PDF to WebP by choosing one page and a render scale. The tool draws the chosen page as pixels and downloads a WebP image when the browser supports encoding it. A 300 by 400 point page rendered at scale 2 produces a 600 by 800 pixel image.

Select an unencrypted PDF with up to 100 pages and a size of up to 20 MiB. The converter returns one image per run. It is suitable for a page preview, exhibit or visual reference. Keep the original PDF if the person receiving it needs searchable text, document links or access to the other pages.

Rendering a selected PDF page as a WebP image

How do I convert PDF to WebP for one selected page?

To convert PDF to WebP, select your source under PDF document. Enter its physical Page number and choose a Render scale. Run the converter, read the output dimensions and download the image. Repeat for each additional page required for the project.

  1. Open the PDF in your reader and confirm the desired physical page position.
  2. Choose the PDF file in the form.
  3. Enter the page number, starting at 1 for the first physical page.
  4. Enter a render scale between 0.25 and 4.
  5. Run and check the reported width and height.
  6. Download the image and inspect it at its intended display size.

The default page number is 1 and the default scale is 1.5. A cover or blank page still occupies a physical position even where the source has custom page labels. If the output looks like the previous or next page, confirm the position in the original and rerun it. The reported page detail refers to the PDF's physical position.

Choose a short descriptive name for the downloaded image when retaining it beyond the current session. It initially uses the selected page number, such as moneyor-page-1.webp. Several source PDFs can generate the same output name, so including the source identifier in your own file name keeps the results distinguishable.

What does render scale mean for the output dimensions?

The scale multiplies the page viewport size obtained from PDF.js. At scale 1, one point of a typical PDF page viewport corresponds to one output pixel. The form describes this baseline as 72 pixels per inch. A scale of 2 doubles each viewport dimension before the converter rounds each dimension up to a whole pixel.

PDF viewport at scale 1Render scaleOutput dimensionsPractical use
300 × 4001300 × 400 pixelsSmall image with room for an overview
300 × 4001.5450 × 600 pixelsDefault scale for this page
300 × 4002600 × 800 pixelsMore pixels for detailed inspection
300.1 × 400.10.2576 × 101 pixelsIllustrates rounding upward

The Mozilla PDF.js examples explain that a viewport accounts for page scale and initial rotation. If a page opens sideways or has particular viewing bounds, inspect the actual image dimensions rather than calculating a size from an assumed sheet of paper. A scale value of 2 applies to both dimensions. It is not a request for a particular file size or a fixed pixel width.

If you need a specific width for a site, choose a scale that reasonably targets it, then inspect the rendered result. The Image Resizer handles subsequent image sizing for its supported input and output formats. It is a separate operation with its own constraints.

How should I choose between a small preview and a detailed image?

Start from the smallest size that serves the destination. A document thumbnail may need readers to recognise the title and general layout. A chart with an axis label, a proof sheet or a detailed figure may need more pixels to preserve legibility when displayed. Check the exported image rather than assuming one scale fits both.

Start from your intended display width. If the source will be shown in a help article, check it at the article's common column width. When the image will also be enlarged, inspect the enlarged size as well. A higher render scale adds pixels for drawing vector details, while the quality of a scanned original still depends on the information it contains. Blurred text in a source scan will remain constrained by that scan.

PDF text and vector objects are drawn into the exported image. They no longer redraw as independent objects when a reader zooms. This is why choosing a sensible rendered dimension matters for a WebP deliverable. It also explains why keeping the PDF available can benefit someone who needs to zoom or search.

Use a screenshot of the destination layout if you need a reliable size reference. Test whether small captions become hard to read once the overall image is placed in context. If that happens, consider whether an individual cropped figure or a direct PDF link would convey the information better.

Which image limits produce a scale error?

The converter checks the rounded dimensions before allocating the canvas. It rejects an image with either side over 8,192 pixels or more than 16,000,000 total pixels. Meeting the side limit alone is insufficient. A 4,500 by 4,500 pixel viewport, for example, passes the side check and exceeds the allowed total area. The local rendering fixture confirmed the size error for that example.

If the render is too large, reduce the scale and run the selected page again. Smaller dimensions should use less canvas memory. Large or complex original content can still be costly to render. A wall chart, building plan or wide slide with an unusual aspect ratio may reach the side limit before a conventional page would at the same scale.

The scale field itself accepts 0.25 through 4. The allowed interval does not guarantee that every PDF can render at its upper end. Check the actual result, especially if you are exporting a page with many large graphics or a large scanned image. Choose the smallest result that preserves the detail required for your task.

The PDF input has its own boundaries of up to 100 pages and 20 MiB. A page selection of 1 does not exempt its source document from those checks. If your PDF is beyond the reading limit and you are allowed to work with a copy, you can use Extract PDF Pages within its input limits to make a small separate PDF first.

What information carries into a WebP page preview?

The image contains a rendering of the selected page's visible appearance. It can show a scan, a chart, drawn text or other objects displayed in that page view. The download is a standalone WebP image, so any content that must remain searchable, selectable or interactive should stay available in the original PDF or a separate accessible source.

Google's WebP documentation describes a format supporting both lossy and lossless encoding. The MoneyOr implementation requests WebP from the browser with a fixed quality value of 0.92. The site does not expose a separate quality control, format mode or target-byte setting in this converter. A browser decides how to encode the rendered image.

A link drawn with an underline might still look like a link in the image. Its destination is part of the PDF interaction, not part of those rendered pixels. Likewise a clearly visible heading in the image is not selectable text. If a page preview is posted in a web article, describe its purpose in alternative text and provide the actual information in text where readers need it.

Before sharing a preview, inspect its visible content. A crop view, rotation or display preference from the original document can influence how a page looks in a renderer. Confirm the preview is the intended page and contains the portion you expect to communicate.

Why can a browser reject WebP output?

The PDF page is rendered in a browser canvas. The converter then requests WebP encoding. The browser can fail to return an image in that type, and the tool reports a format-encoding error when it sees a missing image or a different type. Renaming a different image with a WebP extension would not change its encoding.

If the page loads and then gives an encoding error, try a browser environment that supports WebP canvas output. For a different delivery format, use PDF to PNG or PDF to JPG according to the target system's requirements. A PNG is a suitable candidate to inspect for line detail, while JPEG is widely used for photos and scanned images. Compare actual output in your destination.

A file-opening error has different likely causes. Confirm the PDF opens in a reader and check whether it is encrypted, incomplete or too large. The encoder cannot operate until the PDF opens and the selected page renders. Check the error message before changing a setting unrelated to it.

The code-based fixtures verify expected dimensions, the encoder request and the expected response type using a controlled canvas. They do not measure the fidelity or byte size that a particular browser will produce on an actual document.

How can I compare WebP with a PDF or another image format?

Begin with the action the recipient needs. A thumbnail or illustration can work as an image. A reader who needs to view the whole packet, search its text or follow links needs a document or other source that provides those functions. Share an appropriate preview and link to the source when both serve a purpose.

When comparing image formats, use the same page and the same scale. Open the results at a common display size and inspect thin strokes, text, smooth gradients and areas of high contrast. File size is useful alongside visible quality. It varies with the content and encoding, so the format name alone cannot predict which exact output will be smaller.

For extracting actual selectable text from a PDF, the PDF to Text tool reads embedded text. A scanned page might need OCR from a separate workflow. Creating a WebP preview does not attempt text recognition before drawing the page.

The original PDF also provides a useful visual baseline. If an image looks unfamiliar, check the selected page position, the current orientation and whether a viewer showed different page bounds. Repeat the export with a deliberate choice of scale after that comparison.

What final checks make sense before using the WebP?

Open the downloaded image in the program or site where you plan to use it. Confirm page identity, orientation, corners and small print first. Check actual pixel size using the output details or an image inspector. If you need a fixed-width layout, preview the image at that width before deciding it contains enough detail.

The bundled browser code reads the selected PDF and produces the image locally. Check the selected file again before exporting another page from a different source. The same page-number filename can arise repeatedly, and your operating system or browser may append a suffix to avoid overwriting an earlier download.

For a series of previews, use a filename convention that includes the document and intended page. Retain the source PDF, especially when the images will be regenerated later. Write down the chosen scale with the source if producing a second batch needs comparable dimensions.

Check how the receiving site sizes the image on small screens. A high-resolution preview can contain plenty of detail while looking too small if the surrounding layout shrinks it to the width of a phone.

When a file size or delivery requirement matters, use an actual exported sample from the target browser. Look for excessive blur after placement in your article or page and test the final page with its intended layout. A correct conversion supplies the image, while suitability depends on its final use.

Frequently asked questions

Does the converter generate images for every page?

It renders one physical page per run. Choose that page by number. Repeat for another page and give the downloads distinct names when they come from different source documents.

Does a render scale of 2 guarantee a particular image size in bytes?

It changes the pixel dimensions relative to the selected page's viewport. Compressed size depends on the image content and the browser encoder. Check the size of the actual download if your destination has a byte limit.

Can I choose scale 0.5?

Yes. It falls within the allowed 0.25 to 4 range. The engine multiplies the viewport dimensions by the scale and rounds each up to a whole output pixel.

How do I export a page labelled with a Roman numeral?

Use its physical position in the PDF. Count covers and unnumbered pages from the start. The number printed on the page or displayed as a custom label need not match that physical position.

Can I reopen the WebP as editable PDF text?

The WebP contains pixels. Keep the source PDF for text, links and structure, or use an appropriate extraction or OCR workflow when you need words in a text format.

What if a program does not accept the downloaded WebP?

Confirm that the program accepts WebP images. If it requires a different format, generate a new page image using the appropriate converter and review its actual output.

Sources and method notes