Convert WebP to PDF

Pictures saved from the web, turned into a PDF that opens anywhere.

Convert WebP images saved from websites into a PDF in your browser. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The size limit is your device’s memory, and phones hold less; give the page a short while after one visit to save itself for offline use, and then it works offline.

Drop WebP images hereor click to choose files. Batches welcome.
    Working…

    Done

    Free, no ads. Support StayPut

    Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

    Right-click an image on a shopping site, a news article or Google Images and "Save image as" now hands you a .webp file far more often than a JPG. That is fine in a browser and awkward everywhere else: a receipt, a product spec sheet, a floor plan or a ticket saved as WebP will not attach to many expense systems, claim forms or print kiosks, which want a PDF.

    This page decodes each WebP with your browser’s own decoder and writes it onto a PDF page with pdf-lib, all inside the tab. WebP pages are stored as high-quality JPG inside the PDF (quality 92), since PDF has no WebP support of its own. Any transparent areas, common in logos and product cut-outs, are laid on white.

    Drop several WebPs to get a multi-page PDF, and change the order with the arrows before converting. "Fit to each image" keeps each page the size of its picture, which suits screenshots and web graphics; A4 or Letter with a margin is better for anything that will be printed.

    How it works

    1. Drop one or more .webp files, or tap to pick them. Use the arrows to set the page order.
    2. Keep "Fit to each image", or pick A4 or Letter with a margin for printing.
    3. Convert. The PDF is written in your browser and downloads straight away.

    In your browser, not on a server

    A JPG is embedded directly into the PDF by pdf-lib, unchanged, unless it needs rotating by its EXIF orientation (as sideways phone photos often do), in which case it is decoded and re-encoded at high quality. A PNG is embedded losslessly. Other formats are decoded by your browser (HEIC via libheif, TIFF via UTIF.js, one page per TIFF page) and embedded as high-quality JPG. Page size, orientation and margins are applied while laying out each page in memory.

    Compared with upload-based tools: Uploading a folder of receipts or ID scans to make one PDF is exactly the kind of thing that should not need a server. The PDF is assembled on your device in the time it takes to pick the files.

    Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

    Questions

    Why do images I save from websites come out as WebP?

    Sites serve WebP because it is about a third smaller than JPG at the same quality, and browsers save the file exactly as it was sent. The picture is fine; it is just a format fewer desktop and office programs accept.

    Is an animated WebP supported?

    The PDF gets the first frame. PDF pages are still images, so an animation cannot carry over.

    Will the PDF look as sharp as the WebP?

    Yes, at normal zoom. The pixels are re-encoded as JPG at quality 92, which is visually lossless for photos and web graphics. The pixel dimensions are unchanged.

    Is the file uploaded anywhere?

    No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.

    More PDF tools

    Other conversions

    Guides