What happens when you convert PEF to PDF
- The PEF is developed by LibRaw, the open-source camera RAW decoder, on our conversion server: the sensor data is turned into a full-colour picture with the white balance the camera recorded, AHD demosaicing and standard sRGB colour.
- ImageMagick then saves it on a PDF page the size of the photo, JPEG compressed at 92 percent quality, at the camera's full resolution, 8 bits per channel. The photo is turned the way the camera was held.
- This is a neutral, straight development, much like the camera's own JPG settings switched off: no lens corrections, noise reduction or creative styles are applied, so it can look flatter than an edited version.
- This conversion runs on our server: the file is uploaded, converted, and deleted together with the result as soon as the result has been sent back to you. Nothing is kept. Files up to 25 MB are accepted.
How to convert PEF to PDF online
- Press "Choose PEF files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
- There are no settings to choose: the converter keeps everything the target format can hold.
- Press "Convert to PDF". The file is uploaded to our conversion server, converted in a few seconds, and deleted together with the result as soon as the result is sent back.
- Save each PDF with its download button. Our server has already deleted both your PEF and the PDF by then.
Why convert PEF to PDF?
PEF files usually come from Pentax DSLRs since the *ist D. People convert them to PDF because a PDF looks the same on every device and is what forms, portals and printers ask for.
In short, PEF is good at what it was made for, and PDF is the more practical choice when the file has to open, upload or print somewhere else. PEF does not open in browsers; macOS Photos and Preview, Lightroom and darktable open it, while PDF opens in every browser's built-in viewer.
How to convert PEF to PDF on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your PEF files in from File Explorer, and press Convert. Each PDF is saved to your Downloads folder.
On a Mac
Safari, Chrome and Firefox all work. Drag the PEF files from Finder onto the drop zone and the PDF files land in Downloads. Preview can do single images too: open the file, choose File, then Export, and pick PDF.
On iPhone and iPad
Open the page in Safari and tap Choose PEF files. You can pick from Photos or from the Files app. The converted PDF appears in Files, in the Downloads folder.
On Android
Open the page in Chrome, tap Choose PEF files and pick them from Files or your gallery. The PDF is saved to the Download folder, where any file manager can find it.
Best settings for PEF to PDF
There are no settings: camera white balance, sRGB colour and the full sensor resolution, up to 16,384 pixels a side.
For exposure, colour and lens corrections, develop the PEF in Lightroom, darktable or RawTherapee instead; this converter gives a quick, faithful result without edits.
PEF vs PDF: the differences
| PEF | ||
|---|---|---|
| Full name | Pentax Electronic File | Portable Document Format |
| Type | image | document |
| Created by | Pentax | Adobe |
| First released | 2003 | 1993 |
| Compression | Lossless | Lossy or lossless |
| Transparency | No | No |
| Animation | No | No |
| Vector or raster | Raster | Vector |
| Colour | raw sensor data, usually 12 or 14 bits per pixel | any colour, pages can mix text, vectors and images |
| In a browser | does not open in browsers; macOS Photos and Preview, Lightroom and darktable open it | opens in every browser's built-in viewer |
| Common uses | Pentax DSLRs since the *ist D | documents, forms, invoices and print-ready files |
| MIME type | image/x-pentax-pef | application/pdf |
About PEF and PDF files
What is a PEF file?
PEF is the raw format of Pentax DSLRs since the *ist D in 2003. Most Pentax bodies can save DNG instead, a choice in the camera menu, so a Pentax shooter may have raw photos in either format.
What is a PDF file?
A PDF fixes the layout of every page so it looks the same on any device. Converting a PDF to an image renders each page to pixels; converting an image to PDF wraps it as a page.
PEF to PDF not working? Common problems
- "Files up to 25 MB can be converted." Server conversions have a size limit, and raw files from high-resolution cameras can pass it. Switch the camera to its compressed raw setting, or develop very large files in a desktop raw editor.
- "This file is not really in PEF format." The converter checks every file before it runs anything, so a file of another format renamed to .pef is refused. Choose the page for its real format.
- "The photo could not be read." The decoder on our server, LibRaw 0.20, knows cameras released up to about 2020. Raw files from newer models, and Canon CR3 and Sigma X3F files, may not open.
- The colours look flat. The photo is developed neutrally, without the contrast and styles a camera adds to its own JPGs. Adjust it in a photo editor.
Convert PEF to PDF from the command line
LibRaw and ImageMagick do the same on your own computer:
dcraw_emu -w -o 1 -q 3 -T input.pef
magick input.pef.tiff output.pdfConverting on your own computer keeps the file entirely local, which is worth it for very large or very sensitive documents. For everything else, the converter on this page does it without installing anything.
PEF to PDF converter FAQ
Will I lose quality converting PEF to PDF?
The PDF is 8 bits per channel, while the PEF held 12 or 14 bits of sensor data, so the extra room for adjusting exposure and colour is gone. Keep the PEF for editing.
Why is the PDF a different size from the PEF?
Usually smaller than the PEF, because JPEG compression is much more compact than raw sensor data.
Are my PEF files uploaded?
Yes, for this conversion. A faithful PEF to PDF conversion needs LibRaw and ImageMagick, two open-source tools, which cannot run in a browser. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the PDF as soon as the result has been sent back to you. We do not keep, read or share it.
Can I convert several PEF files to PDF at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open a PDF file?
PDF opens in every browser's built-in viewer. PDF is common for documents, forms, invoices and print-ready files.
Is this PEF to PDF converter free?
Yes. There is no sign-up and no watermark. Because this conversion uses our server, there is a fair-use limit of 25 MB per file and a number of files per hour, which stops the service being overloaded.
Can I convert PEF to PDF on my phone?
Yes. It works in Safari on iPhone and iPad and in Chrome on Android. The conversion happens on our server, so it is as fast on a phone as on a computer; the PDF is saved to your Downloads folder.