WebP to JPG/PNG WebP to JPG/PNG
Add to Chrome — Free

WebP to JPG/PNG Blog

How to Convert WebP Images to PDF

Updated March 2026 · 5 min read

Quick Answer Fastest method: open the WebP file in Chrome (drag it into a tab), press Ctrl+P, and save as PDF. For better quality and page size control, first convert the WebP to JPG or PNG using the WebP to JPG/PNG Converter extension, then use ImageMagick or any PDF tool to wrap the image in a PDF. For multiple WebP files in one PDF, use magick *.webp output.pdf.
📋 Table of Contents
📋 Table of Contents

Converting WebP images to PDF is useful for document submission, printing, sharing in a universally-openable format, or combining multiple screenshots or diagrams into a single file. Several methods work well depending on whether you need one file or many, and how much you care about output quality.

Convert WebP to JPG or PNG First

Start from a high-quality image format before creating your PDF for best results.

Add to Chrome — Free


Method 1: Chrome Print to PDF (No Software Needed)

If you just need a quick single-image PDF with no quality requirements, Chrome's built-in PDF printer works:

Convert WebP to PDF using Chrome

  1. Drag the WebP file into a Chrome tab (or open Chrome and drag the file to the address bar).
  2. The WebP image displays in the tab.
  3. Press Ctrl+P (Windows/Linux) or Cmd+P (Mac) to open the print dialog.
  4. Change the destination to "Save as PDF".
  5. Under "More settings", adjust paper size, margins, and scale if needed.
  6. Click Save.
Quality note: Chrome's PDF export compresses the image using its own algorithm. For high-resolution images or print-quality PDFs, use ImageMagick or img2pdf for better control over compression settings.


Method 2: ImageMagick (Command Line, Full Control)

ImageMagick converts WebP directly to PDF and handles multiple images in one command:

Single WebP to PDF

# Convert single WebP to PDF
magick input.webp output.pdf

# With explicit page size (A4)
magick input.webp -density 300 -page A4 output.pdf

# With high quality (less compression)
magick input.webp -quality 95 output.pdf

Multiple WebP files into one PDF (one image per page)

# All WebP files in current folder → single multi-page PDF
magick *.webp combined.pdf

# Specific files in order
magick page1.webp page2.webp page3.webp document.pdf

# With consistent A4 sizing
magick -page A4 *.webp output.pdf
Ghostscript policy issue: Some ImageMagick installations block PDF conversion by default for security reasons. If you get a policy error, run: magick input.webp -flatten output.jpg to convert to JPG first, then create the PDF from the JPG.


Method 3: Python with img2pdf (Best Quality)

img2pdf is a Python library that embeds images in PDFs without re-compression — it converts images to PDF format while preserving the original pixel data exactly. This avoids the quality loss from JPEG re-compression inside the PDF.

# Install
pip install img2pdf pillow

# Python script for WebP to PDF (via intermediate PNG)
from PIL import Image
import img2pdf
import io

# Convert WebP to PNG in memory (lossless)
img = Image.open("input.webp")
png_buf = io.BytesIO()
img.save(png_buf, format="PNG")
png_buf.seek(0)

# Create PDF
with open("output.pdf", "wb") as f:
 f.write(img2pdf.convert(png_buf))

print("Done.")
# Batch: multiple WebP files into one PDF
from PIL import Image
import img2pdf
import io

webp_files = ["image1.webp", "image2.webp", "image3.webp"]
png_buffers = []

for webp_path in webp_files:
 img = Image.open(webp_path)
 buf = io.BytesIO()
 img.save(buf, format="PNG")
 buf.seek(0)
 png_buffers.append(buf)

with open("combined.pdf", "wb") as f:
 f.write(img2pdf.convert(png_buffers))

print(f"Created PDF with {len(webp_files)} pages.")


Method 4: macOS Preview (Mac Users)

On macOS Ventura or later, Preview can open WebP files and export to PDF:

  1. Open the WebP file in Preview.
  2. Go to File → Export as PDF.
  3. Choose save location and filename.
  4. Click Save.

For multiple WebP files in one PDF on Mac:

  1. Select all WebP files in Finder and open them all in Preview.
  2. Select all thumbnails in the sidebar (Cmd+A).
  3. Go to File → Print Selected Images.
  4. In the print dialog, click PDF → Save as PDF.


Two-Step Approach for Maximum Quality

For the highest quality PDF output — especially for print or professional document submission — a two-step approach avoids any re-compression of the image data:

  1. Step 1: Convert WebP to PNG using the Chrome extension (lossless, preserves all pixel data)
  2. Step 2: Create PDF from the PNG using img2pdf (no re-compression)

This pipeline ensures the image in the PDF is identical in quality to the WebP source, with no additional compression artifacts introduced at any stage.

Convert WebP to PNG for High-Quality PDF Creation

Lossless conversion from WebP to PNG. Use as input for any PDF tool.

Install WebP Converter — Free


Related Guides



Frequently Asked Questions

How do I convert a WebP image to PDF?

Fastest method: drag the WebP into Chrome, press Ctrl+P, and save as PDF. For better quality, convert WebP to PNG first using the Chrome extension, then use ImageMagick or img2pdf to create the PDF without re-compression.

Can ImageMagick convert WebP to PDF?

Yes: magick input.webp output.pdf. For multiple files in one PDF: magick *.webp combined.pdf. If you get a policy error, convert to JPG first and create the PDF from that.

How do I convert multiple WebP files into one PDF?

ImageMagick: magick *.webp output.pdf combines all WebP files in the current folder into a single multi-page PDF. Alternatively, use the Python script above with img2pdf for higher quality output.

Does converting WebP to PDF reduce image quality?

It can, depending on the tool. Chrome's print-to-PDF and some ImageMagick configurations apply JPEG re-compression. For maximum quality, use img2pdf which embeds images without re-compressing, or convert to PNG first then use img2pdf.

What is the file size of a WebP converted to PDF?

Typically larger than the original WebP, because PDF has additional overhead and may re-compress the image less efficiently than WebP. Img2pdf creates PDFs closest in size to the PNG equivalent. Chrome's export tends to produce larger files with more aggressive compression.

More Free Chrome Tools by Peak Productivity

Pomodoro Technique Timer
Pomodoro Technique Timer
25-minute focus timer with breaks
YouTube Looper Pro
YouTube Looper Pro
Loop any section of a YouTube video
Citation Generator
Citation Generator
Generate APA/MLA/Chicago citations
PDF Merge & Split
PDF Merge & Split
Merge and split PDFs locally
Auto Refresh Ultra
Auto Refresh Ultra
Auto-refresh pages at custom intervals
Screen Recorder Pro
Screen Recorder Pro
Record your screen or tab with audio