JPG to PDF

    Convert JPG, PNG and WebP images to PDF online. Reorder pages, pick A4 or Letter, and download one PDF with private, in-browser processing and no sign-up.

    Drop your images here, or browse

    Supports JPG, PNG and WebP up to 25MB each. Convert up to 30.

    JPGPNGWEBP

    Stays on your device. Conversion happens locally in your browser. Images never leave your device.

    How to Use

    Follow these simple steps to get the best results.

    1Add one or more images (JPG, PNG or WebP) by dragging them into the upload box or clicking browse.
    2Drag the handle on any row to set the page order.
    3Choose a page size (A4, US Letter or Fit to image) in PDF Settings.
    4Pick an orientation and a margin. Auto orientation picks portrait or landscape for each image.
    5Click 'Convert & Download PDF' to turn your images into a PDF and instantly save the file.

    Frequently Asked Questions

    Find answers to common questions about this tool.

    No. Every image is read and converted inside your browser using client-side JavaScript. Your photos, scans and documents never leave your device.

    You can add JPG, JPEG, PNG and WebP images. You can mix formats in the same PDF, and transparent PNGs keep their transparency.

    JPG and PNG images are placed into the PDF in their original form whenever possible, so there is no extra quality loss. WebP images and photos that need rotating are re-encoded once at high quality so they display correctly.

    Yes. Each image becomes one page. Drag images by their handle or use the arrows to set the page order before you convert.

    You can choose A4, US Letter or Fit to image, plus Auto, Portrait or Landscape orientation and three margin sizes. Auto orientation looks at each image and uses landscape for wide images and portrait for tall ones.

    You can convert up to 30 images at a time, with up to 25MB per image and 150MB in total. These limits protect your browser from running out of memory.

    Yes. Once the page has finished loading, all conversion happens on your own device and does not need an active internet connection.

    How It Works

    Understand the methodology, formulas, and concepts behind this tool.

    How Converting Images to PDF Works

    Digital photography, mobile document scanning, and graphic workflows produce millions of raster images daily in formats like JPEG, PNG, and WebP. While raster files display visual media effectively on digital screens, they present challenges when distributing multi-page documents, submitting official applications, or archiving records. Raster images lack standardized page boundaries, do not support native pagination within a single file, and render unpredictably across different operating systems, email clients, and printer drivers.

    Converting images to Portable Document Format (PDF) files resolves these limitations immediately. A PDF encapsulates images within standardized, vector-defined page boundaries that look identical on every screen and print faithfully on every desktop or commercial printer. Whether assembling scanned receipts for an expense report, compiling coursework for school, submitting identity proofs, or packaging design proofs for client review, turning loose images into a unified PDF is an essential productivity workflow.

    Tooltri's JPG to PDF tool provides a fast, dependable, and completely private solution for converting images into polished PDF documents. Unlike conventional online services requiring uploads to remote cloud servers, Tooltri processes images entirely inside your web browser. Utilizing client-side JavaScript, HTML5 canvas capabilities, and PDF generation engines, the tool lets you organize images, adjust page layout parameters, customize margins, and export a finalized PDF in seconds without any data leaving your device.

    Images vs PDF Pages

    Understanding why converting an image to a PDF requires more than simply changing a file extension requires examining the difference between raster image coordinates and typographical PDF page models.

    A raster image is a two-dimensional grid of discrete color pixels. A smartphone photo might measure 4032 pixels wide by 3024 pixels tall. However, these pixel counts have no inherent physical size in inches or millimeters. An image measuring 4032 pixels wide can display across a small phone screen or print across an eight-inch paper sheet. Physical dimensions only become defined when an output device applies a specific resolution density, expressed as dots per inch (DPI) or pixels per inch (PPI). Without embedded density metadata, viewing programs guess the scale, producing inconsistent display sizes.

    PDF documents, governed by the ISO 32000 international standard, are defined using physical typography units known as points. Under the PostScript typographical standard adopted by PDF architecture, one point equals exactly 1/72 of an international inch (approximately 0.3528 mm). Because PDF pages are defined in points, their dimensions correspond directly to real-world physical paper standards:

    • Standard A4 Page: Defined as 595.28 points wide by 841.89 points tall (210 mm by 297 mm).
    • US Letter Page: Defined as 612.0 points wide by 792.0 points tall (215.9 mm by 279.4 mm).

    When an image is inserted into a PDF document, the conversion engine constructs a transformation matrix mapping the image's pixel grid into typographical page space. This mathematical mapping determines how large the image appears, where it sits relative to page edges, and how much margin surrounds it. Without proper aspect ratio calculations, an image could stretch or spill outside printable paper boundaries. Tooltri's layout engine handles these coordinate transformations automatically, computing uniform scale factors that keep pictures proportional, sharp, and centered.

    JPG, PNG and WebP Inside a PDF

    Different raster image formats utilize distinct compression algorithms, color models, and data structures. When combining multiple image types into a single PDF, the conversion system processes each format appropriately to preserve image clarity and minimize file size.

    FormatNative CompressionAlpha TransparencyBest Use CaseIn-PDF Embedding Method
    JPEG / JPGDiscrete Cosine Transform (DCT) lossy compressionNot supported (opaque)Photographs, camera captures, scanned paper documentsDirect native stream embedding via DCTDecode filter without re-compression
    PNGDEFLATE lossless predictive filtering compressionFull 8-bit alpha channel supportedScreenshots, digital diagrams, illustrations, logosDirect native stream embedding via FlateDecode filter with alpha transparency preserved
    WebPVP8 lossy or VP8L lossless predictive compressionFull transparency supported in both modesModern web graphics, mobile camera capturesClient-side HTML5 canvas decode and re-encode to high-quality JPEG or lossless PNG

    Under the ISO 32000 PDF standard, documents natively support embedded JPEG image data through the /DCTDecode filter and lossless bitmap data through the /FlateDecode filter. When you add a standard JPG file to Tooltri, the conversion engine extracts the raw compressed byte stream directly from the file and embeds it inside an indirect image dictionary. This passthrough approach ensures JPG photos suffer zero generational quality loss during conversion.

    Similarly, valid PNG files are embedded directly using lossless Flate compression. A key advantage of PNG files in PDF generation is the preservation of transparent backgrounds, allowing the white background of the PDF page to show through seamlessly around graphic elements.

    Modern WebP images, while efficient for web bandwidth, are not universally supported as native stream filters across older PDF rendering software. To ensure your output PDF opens reliably in any viewer, Tooltri automatically decodes WebP images in the browser and re-encodes them into high-fidelity JPEG or lossless PNG streams before embedding.

    Choosing Page Size, Orientation and Margins

    Creating a clean, professional PDF requires matching document layout to your intended viewing or printing environment. Tooltri provides three essential configuration parameters in the PDF Settings panel:

    1. Page Size Selection:

      • A4 (Standard): The international paper standard used across Europe, Asia, Australia, South America, and Africa (595.28 by 841.89 points). Ideal for international job applications, academic submissions, and global business communications.
      • US Letter: The standard paper format across North America (612.0 by 792.0 points). Essential when submitting documentation to US-based institutions, courts, or corporate offices.
      • Fit to Image: Creates custom page boundaries uniquely tailored to each image's aspect ratio. The page hugs image contours with no unnecessary blank space. To prevent oversized pages from modern phone cameras, Tooltri normalizes the maximum edge to 842 points, keeping document navigation smooth and responsive.
    2. Page Orientation Dynamics:

      • Auto Orientation (Recommended): Batches often feature mixed orientations. Auto orientation inspects each image individually: if width exceeds height, it formats that page in landscape; if height exceeds width, it formats that page in portrait. This ensures every image receives maximum printable area without manual adjustments.
      • Portrait: Forces all pages to render vertically, creating a uniform top-to-bottom reading experience.
      • Landscape: Forces all pages to render horizontally, ideal for widescreen digital presentations and panoramic photo collections.
    3. Margin Configurations:

      • None (0 pt): Extends images completely to page edges, popular for photo albums and borderless artwork.
      • Small (28 pt / ~10 mm): The recommended default setting. Provides breathing room around images, preventing visual cramping and ensuring screen frames or viewer borders do not obscure content.
      • Big (56 pt / ~20 mm): Generates a generous border around every picture. Designed for documents intended for physical printing, ring binders, or clipboards, where hole punches could damage printed image areas.

    Photos From Your Phone

    Smartphones have replaced flatbed scanners as the primary tool for digitizing paper documents, receipts, contracts, and certificates. However, smartphone photos introduce technical nuances that cause problems in basic PDF converter utilities.

    The most common issue is unexpected image rotation. You may photograph a paper invoice upright with your phone, but when you open the converted PDF, the page displays sideways or upside down. This happens because smartphone camera sensors record the raw pixel grid in hardware orientation and attach an Exchangeable Image File Format (EXIF) metadata tag (tag 0x0112, Orientation) indicating how the camera was tilted relative to gravity.

    Basic PDF converters ignore this metadata, producing sideways pages. Tooltri solves this problem programmatically. Before embedding any JPEG image, our helper engine parses the file's binary stream, inspects the TIFF header inside the APP1 Exif marker, and reads the orientation flag. If the photo requires rotation, Tooltri normalizes the image through a canvas pipeline, baking correct rotation directly into pixel data so your document appears upright in every PDF reader.

    To achieve the best results when capturing paper documents with your smartphone:

    • Optimize Lighting: Capture photos under bright, diffused daylight or uniform overhead illumination. Avoid direct flash, which produces glare spots on glossy paper, and avoid holding your phone directly between the light source and paper to prevent hand shadows.
    • Shoot Flat and Square: Lay the document on a flat surface and hold your phone parallel to the paper rather than shooting at an angle. This eliminates perspective distortion and keeps text lines straight and legible.
    • Crop Extraneous Backgrounds: Before uploading, use your phone's photo editor to crop away surrounding wooden desks or floor surfaces, maximizing the area dedicated to the actual document on the PDF page.

    Keeping the PDF Small

    When combining multiple high-resolution smartphone photos into a single PDF, the document can swell in size if unmanaged. Large files frequently fail to send via email attachments and can be rejected by upload portals.

    Understanding what drives PDF file size helps you create lightweight, compact documents:

    • Pixel Dimensions Dominate File Size: A smartphone photo captured at 12 or 48 megapixels contains vastly more pixel data than necessary for a standard 300 DPI A4 printout (approximately 2480 by 3508 pixels). Excess pixels bloat file size without improving visual legibility.
    • Pre-Compressing Source Assets: If you need to generate a lightweight PDF from dozens of photos, consider pre-compressing your pictures using Tooltri's client-side Image Compressor before adding them to the JPG to PDF queue. Compressing JPEG images at 80% quality or resizing dimensions to 1920 pixels wide often shrinks file weight by 70% to 85% with zero perceptible loss in text readability.
    • Lossless vs Lossy Trade-offs: For photographs and scans with continuous color gradations, JPEG encoding offers superior compression ratios compared to PNG. Save PNG format for line drawings, pure black-and-white forms, or graphics requiring transparent backgrounds.

    Common Uses

    Converting images to PDF serves a wide spectrum of personal, professional, and academic needs:

    • Identity Verification and KYC: Banking, financial investment, and telecommunication services require verified copies of government IDs, driver licenses, utility bills, and passports. Converting multiple identification photos into a single, clean PDF ensures all required identity documents remain bundled together in one secure file.
    • Business Expense Reports: Traveling professionals, contractors, and freelancers frequently photograph taxi receipts, hotel bills, and meal checks. Assembling these miscellaneous receipts into an ordered, chronological PDF file simplifies reimbursement processing and keeps accounting records organized.
    • Academic Assignments: Students often complete handwritten mathematics homework, engineering sketches, or science lab notes in paper notebooks. Snapping photos of each handwritten page and combining them into a sequential PDF allows easy submission through university learning management systems.
    • Portfolios and Presentations: Illustrators, photographers, and graphic designers frequently need to share multi-slide presentations or creative collections. Compiling visual artwork into a PDF guarantees that fonts, margins, and layouts appear exactly as intended on client devices without requiring specialized graphic software.
    • Signed Contracts and Forms: When digital signing is unavailable, printing, signing with a physical pen, photographing signature pages, and converting the images to PDF creates an electronic document ready for immediate transmission.

    Privacy-First Architecture

    In an era where personal data, financial records, and private photographs are routinely harvested and monetized by online platforms, Tooltri takes an uncompromising stance on digital privacy.

    Traditional online document conversion websites operate by uploading your files to remote cloud servers. Once on their servers, external worker processes convert files, store temporary copies in cloud storage, and transmit download links back to your browser. Even when services claim to delete files after an hour, transmitting sensitive records, such as passport photos, bank statements, or confidential agreements, across the internet introduces inherent security and compliance risks.

    Tooltri eliminates these vulnerabilities completely through our client-side architecture:

    • Zero Server Uploads: Your images are never transmitted to Tooltri, third-party cloud infrastructure, or external API endpoints. File bytes are loaded directly into your browser's private JavaScript memory heap via local object URLs.
    • Local Machine Processing: All format detection, EXIF orientation parsing, canvas rendering, page geometry calculations, and PDF object generation execute exclusively on your device's CPU and graphics hardware.
    • Offline Functionality: Because all conversion logic resides within code-split client-side JavaScript bundles, the tool functions seamlessly even when disconnected from the internet once page assets have loaded.
    • Strict Data Hygiene: When you remove an image, clear the queue, or navigate away from the page, all allocated memory buffers and object URLs are immediately revoked and garbage-collected by your browser engine.

    Review & Editorial Integrity

    • Author: Parimal Nakrani (Founder & Lead Developer, Tooltri)
    • Reviewed by: Document Standards & Client-Side Media Engineering Team
    • Last Updated: October 3, 2026
    • Reference Sources: ISO 32000-1:2008 Document Management - Portable Document Format; W3C HTML Canvas 2D Context Specification; Exif 2.32 Exchangeable Image File Format Specification.

    Explore other calculators and tools to speed up your workflow.