When should PNG, JPEG or WebP be used?
PNG is lossless with transparency, right for screenshots, diagrams and anything with sharp edges or text; JPEG is lossy and much smaller for photographs; WebP offers both modes at roughly 25–35% smaller sizes than the older formats and is supported by every current browser. Converting a page to an image fixes its appearance but loses the text layer, so the choice depends on whether the result must stay searchable.
How to use JPG to PDF
- Drop your JPG files.
- Order them and choose a page size.
- Click "Convert to PDF".
- Download the PDF.
JPG to PDF features
- Baseline JPEGs embedded byte for byte — no re-compression
- EXIF orientation honoured
- Fit each page to its image, or A4/A3/A5/Letter/Legal/Tabloid with margins
- Natural ordering with manual reordering
- Other formats accepted and converted
- Local processing
JPG to PDF example
Ten phone photos into one A4 PDF
Input:
10 × JPEG (4032×3024), page size A4, margin 10 mm, fit insideOutput:
images.pdf — 10 pages, each photo centred on an A4 pageFrequently asked questions about JPG to PDF
Is the image quality reduced?
No. Baseline JPEG data is copied into the PDF unchanged. Only progressive JPEGs and photos stored with an EXIF rotation are re-encoded at high quality so they display correctly.
What page size should I choose?
"Fit to image" makes each page exactly the image’s size at 96 DPI — best for screenshots. A4 or Letter with a margin is better for printing scans and photos.
Can I mix JPG and PNG files?
Yes. Any image your browser can open (JPG, PNG, WebP, GIF, BMP, HEIC on Safari) is accepted; JPEG and PNG files keep their format (baseline JPEGs byte for byte, PNG pixels losslessly); other formats are stored as PNG, or as JPEG when "Store converted images as JPEG" is ticked and the image has no transparency.
Is my PDF uploaded to a server?
No. The file is opened and processed by your browser with WebAssembly and JavaScript; nothing is sent to Mutqan Soft or anyone else. Close the tab and the file is gone. Downloading the result needs a free account — no subscription, no payment.
What are the size limits?
Up to 250 MB and 2,000 pages per operation on a desktop browser, 60 MB and 500 pages on a phone, because everything runs in your device’s memory. The tool tells you before it starts if a file is over the limit.
Technical notes
pdf-lib’s embedJpg wraps the JPEG stream as a DCTDecode image XObject without decoding it, so quality and size are exactly those of the source. Progressive JPEGs (which pdf-lib cannot read) and photos with an EXIF rotation are decoded by the browser and re-encoded at 92% quality.
References
- Portable Network Graphics (PNG) Specification (Third Edition)The PNG image format: lossless compression, colour types, transparency and metadata chunks.
- WebP Container SpecificationThe WebP file container and its lossy, lossless, alpha and animation chunks.
- ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0The current PDF standard: file structure, objects, pages, fonts, annotations, forms and encryption.