Compress JPEG
Shrink JPG and JPEG photos with a quality slider or an exact target size in kilobytes.
Compress JPEGAdd your images, put them in the order you want, choose the page setup and download one PDF.
JPG and PNG images are accepted. Each image becomes one page. Paste from clipboard with Ctrl+V (Cmd+V on a Mac).
JPEG keeps the PDF small. PNG is lossless and much larger, but right for screenshots and line art.
Images are re-encoded as JPEG at this quality before being embedded, which controls the size of the finished PDF.
Removes camera data from the images before embedding them.
Landscape photographs get landscape pages and portrait photographs get portrait pages.
Ready. Add a file to begin.
Pages appear in the order listed below. Use the arrows to move an image up or down.
No pages yet. Add one or more images and they will be listed here in page order.
Your files are processed by your own browser. Nothing is uploaded to a server, so nothing can be stored, read or shared.
More tools
Each one runs in the browser the same way, with no upload and no account.
Shrink JPG and JPEG photos with a quality slider or an exact target size in kilobytes.
Compress JPEGReduce PNG screenshots and graphics while keeping transparency and hard edges intact.
Compress PNGRe-encode WebP images at a lower quality, or convert JPEG and PNG into WebP.
Compress WebPChange pixel dimensions by width, height or percentage, with the aspect ratio locked.
Resize an imageWrite a formatted document in the browser and export it to PDF, DOCX or HTML.
Open the editorSpecification
Every capability written out as text, including the ones where the answer is no. A specification that only listed the wins would not be worth reading.
| Attribute | This tool |
|---|---|
| Supported input formats | JPG and JPEG |
| Output formats | JPEG, PNG, WebP |
| Compression type | LossyJPEG discards detail permanently by design. PNG output is lossless but far larger for photographs. |
| Quality control | Adjustable, 10 to 100Maps directly to the encoder's quality setting. Moving it genuinely changes the output. |
| Exact output file size | Yes — target in KBThe encoder searches for the highest quality that fits under your limit, then reports the size it actually reached. |
| Resize / image dimensions | Yes — max width and heightAspect ratio preserved. The resizer page adds exact pixel and percentage modes. |
| Batch / bulk processing | UnlimitedFiles are encoded in parallel across a Web Worker pool and can be downloaded as one ZIP. |
| Maximum file size | No limit set by this siteBounded in practice by your device's memory, since each image is held uncompressed while it is processed. |
| EXIF and metadata | Stripped by defaultCamera model, timestamps and GPS coordinates are removed. You can switch it off. |
| Transparency / alpha channel | Not applicable to JPEGJPEG has no alpha channel. Choose PNG or WebP output if you need transparency. |
| Chroma subsampling control | Not availableThe browser's encoder chooses it and exposes no setting. We will not add a control that cannot affect the output. |
| Progressive JPEG control | Not availablecanvas.toBlob gives no control over progressive encoding. Use MozJPEG or ImageMagick if you need it. |
| Colour profile handling | Converted to sRGBA browser canvas works in sRGB, so wide-gamut images are converted. Correct for the web, wrong for print masters. |
| Bit depth | 8 bits per channelThe maximum a browser canvas provides. HDR and 10-bit output need AVIF, which browsers cannot write. |
| Animation support | Not supportedA canvas decodes only the first frame of an animated file, so animation is out of scope rather than half-supported. |
| Where processing happens | In your browserNo upload endpoint exists in the compression path. Disconnect from the network after the page loads and it still works. |
| File retention | None — nothing is receivedThere is no copy to retain or delete, because no file is ever transmitted. |
| Watermark | NeverThe output contains your image and nothing else. |
| Account, quota or cost | NoneNo sign-up, no daily cap, no paid tier withholding a feature. |
| Browser support | Chrome, Edge, Firefox, SafariDesktop and mobile. Requires Canvas and Web Workers, which every current browser provides. |
How it works
Drag in JPG or PNG files, click to browse, or paste from the clipboard. Each image becomes one page.
Move images up or down until the order is right, then pick a paper size, orientation and margin.
The document is assembled in your browser and downloads immediately, with every page listed and measured in the table.
Features
Any number of JPG and PNG files become sequential pages in a single document.
Move any image up or down the list. The page numbers update as you go, and the PDF follows the list exactly.
A4, Letter, Legal, A3, A5 or a page sized to each image, with portrait, landscape or automatic orientation.
None, 10 mm, 20 mm or 30 mm, applied consistently on every page.
Images are re-encoded at a quality you choose before embedding, and the table reports the size of every page.
Camera data and GPS coordinates are removed from the images before they enter the document.
The document is assembled in this browser tab with pdf-lib. No image and no PDF is transmitted.
No account, no cap on pages, no branding added to the document.
In depth
A PDF is a container. When an image is placed on a page, the file's compressed bytes are embedded more or less as they are, along with instructions describing where on the page to draw them and at what scale. The PDF does not re-compress the image itself.
That has a direct consequence: the size of your PDF is essentially the sum of the images inside it. Ten camera originals of 5 MB each produce a 50 MB PDF, whatever page size you pick. This is why the images are re-encoded at a chosen quality on the way in, and why the table shows both the original and the embedded size for every page.
Three settings interact to decide what a page looks like.
The quality number in a JPEG or WebP encoder is not a percentage of anything. It is an index into a set of quantisation tables that control how aggressively detail is discarded. The relationship to file size is steep and non-linear.
For a typical 12-megapixel phone photograph the curve looks roughly like this:
Diminishing returns set in fast at the top of the range. Going from quality 100 to quality 90 usually halves the file for no perceptible change; going from 90 to 80 saves far less and costs slightly more. If you only remember one number, use 80.
A digital image has exactly one physical property: its pixel dimensions. A 3000 × 2000 photograph contains six million pixels whether its metadata claims 72 DPI or 300 DPI.
DPI is a printing instruction stored in a metadata field. It tells a printer how many of those pixels to place per inch of paper, which determines the printed size — 3000 pixels at 300 DPI is a 10-inch-wide print; the same file at 72 DPI is a 41-inch-wide print of the same six million pixels. Changing the number changes nothing about the file except a handful of bytes in a header.
So "save this at 72 DPI for the web" does not make a file smaller. Reducing pixel dimensions does. If a print shop asks for 300 DPI at A4, what they actually need is about 2480 × 3508 pixels; supply that many pixels and the DPI tag can be corrected in seconds.
Photographs of paper are the most common input here, and a few habits make an enormous difference. Shoot in even, indirect light so there is no glare band across the page and no hard shadow from your own hand. Hold the camera parallel to the paper rather than at an angle, since a trapezoid page is difficult to read and impossible to correct later without cropping. Fill the frame with the document so you are not spending megapixels on the desk around it.
For pages of text, quality 80 and a longest edge of about 2000 pixels keeps the writing sharp while producing a PDF that will actually send by email. Going higher rarely improves legibility and multiplies the file size.
Questions
Every answer below is present in the page source, expanded, so it can be read without opening anything.
There is no limit set by this site. Each image becomes one page, in the order shown in the list, and you can rearrange them before building. Very large batches are limited only by your device's memory, since every image is decoded before it is embedded.
Yes. Every row in the list has move-up and move-down controls, and the page number beside each file updates as you rearrange them. The PDF is built in exactly the order the list shows.
A4, US Letter, US Legal, A3 and A5, plus an option that makes each page exactly the size of its own image so nothing is scaled and there is no border. Orientation can be fixed to portrait or landscape, or set automatically so each page matches the shape of its image.
No. The PDF is assembled in your browser with pdf-lib, from images decoded on this device. The finished file is created in memory and downloaded directly — no image and no PDF is transmitted anywhere.
Because a PDF containing photographs is mostly photographs. Lower the embedded image quality, or reduce the pixel dimensions of the images before adding them. Choosing PNG as the embedded format will make the file dramatically larger and should be reserved for screenshots and line art.
No. This tool builds a new PDF from images only. It does not open, merge, split or edit existing PDF files, and it does not claim to.
No. Photographs of text become pictures of text inside the PDF, exactly as they are. There is no OCR here — no text recognition is performed and none is advertised. If you need searchable text, type the document in the Document Editor instead.
Small, at 10 mm, suits most documents and keeps the content clear of the physical edge that home printers cannot reach. None is right when you want an edge-to-edge photo book. Medium or Large give a formal, report-like appearance.
Yes, and deliberately. Each image is re-encoded as JPEG at the quality you choose before being embedded, because embedding camera originals produces PDFs of a hundred megabytes. The results table shows the original size and the embedded size for every page so you can see exactly what happened.
Yes. PNG files can be added alongside JPEGs, and you can choose to embed them losslessly by setting the embedded format to PNG. That keeps screenshots crisp at the cost of a much larger PDF.
Yes. Tap the drop zone to open your photo library, arrange the pages, and the finished PDF downloads like any other file. Building a PDF from a large batch takes longer on a phone than on a laptop.
No. The PDF contains your pages and nothing else — no watermark, no footer, no branding, no page-count limit and no paid tier.
Related topics
Related concepts, formats and guides across the site. Every link goes to a page that covers the term properly.
From the blog
Longer explanations from the blog.
Attachments are base64-encoded in transit, which inflates them by about a third. A 20 MB limit is really a 15 MB limit. Resize to 1600 pixels on the long edge and encode at quality 80, and a photograph lands near 150 KB.
9 min read
Resize before you compress. Measured on one photograph: half the width at quality 80 produced a 16.4 KB file, while full width at quality 40 produced 20.6 KB and looked far worse. The order of operations matters more than the settings.
8 min read
A photograph from a phone can carry the coordinates of the place it was taken, the camera serial number and the exact timestamp. Removing that data is straightforward. Removing it carelessly rotates your photos sideways.
9 min read