PDF ↔ Image Converter
Turn PDF pages into PNG or JPG images, or combine images into a PDF without quality loss.
Try an example: Two-page PDF to PNG at 72 DPI · Two images into one A4 PDF
How it works
Renders the pages of a PDF as PNG or JPG at 72–300 DPI (one image, or a ZIP for several pages) with a preview of the first page. In the other direction it packs JPG, PNG, TIFF, GIF or WebP images into one PDF; JPG and PNG are embedded losslessly with img2pdf, and you choose page size, fit and order.
- PDF → images: the PDF is validated (qpdf), decrypted with your password if needed, and each selected page is rendered by Poppler (pdftoppm) at the chosen resolution with anti-aliasing. Several pages are delivered as a ZIP; one page as a single image.
- Pixel size = page size in points × DPI ÷ 72 (an A4 page at 150 DPI is 1240 × 1754 px). Pages that would exceed 60 megapixels are refused.
- Images → PDF: img2pdf embeds JPEG files byte for byte and PNG data without re-compression (lossless). TIFF, GIF and WebP are first converted to PNG by ImageMagick (lossless, first frame only). Transparency is kept as a soft mask.
- "Same as the image" makes each page exactly as large as the image at its stored DPI (96 DPI if none is stored). Fixed page sizes place each image according to the fit option and margin.
- File types are detected from the content, not the file name. Outputs are deterministic: dates are not written into the PDF.
For scripts and AI agents
- JSON API:
POST https://pdfimageconverter.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://pdfimageconverter.usefulweb.site/mcp· tool namepdf_image_converter
Example request
curl -s -X POST https://pdfimageconverter.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'Related tools
- PDF Merge, Split & Reorder – Merge PDFs, split by page count or ranges, and reorder, remove, rotate or duplicate pages.
- PDF Compressor – Make PDFs smaller with Ghostscript presets or custom image DPI and JPEG quality, with previews.
- Searchable PDF OCR – Make scanned PDFs searchable and copyable with OCRmyPDF and Tesseract, optionally as PDF/A.