Skip to content

PEF to JXL Converter

FileFlip converts PEF to JXL entirely inside your browser, using ImageMagick compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert PEF to

How do I convert a PEF file to JXL?#

  1. Drop your PEF file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to JXL and the conversion starts on its own. FileFlip downloads 14.1 MB of WebAssembly the first time and nothing after that, then runs ImageMagick on your own machine.
  3. Save the JXL file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting PEF to JXL lose quality?#

It depends on what is inside the file. PEF is a container rather than a codec, so whether the JXL conversion copies the streams across untouched or re-encodes them is decided by the codecs that particular file happens to use.

Is it safe to convert PEF files online?#

Yes, because nothing is uploaded. FileFlip converts PEF files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What PEF to JXL actually does to the file#

Converting PEF to JXL runs on ImageMagick, downloads 14.1 MB of WebAssembly the first time and nothing after that, re-encodes or copies through depending on the codecs in the file.

EngineImageMagick
Conversion pathOne step: PEF → JXL
Downloaded to your browser14.1 MB, once, then cached by your browser
QualityDecided by the codecs inside the file
You get backOne file
Where it runsIn a background worker, so the page stays responsive

Worth knowing before you start:

  • camera raw is demosaiced with ImageMagick's defaults, which will not match the camera's own rendering
  • some cameras write lossily compressed raw, so the source is not always a complete sensor record

What is a PEF file?#

A PEF file holds unprocessed sensor data captured by a Pentax digital SLR, stored in a TIFF-based container that Pentax has used as its native raw format since the *ist D in 2003.

Shoot PEF, Pentax's default raw setting, to keep full sensor data with Pentax's own lossless compression, and switch the camera to DNG only if a specific workflow needs Adobe's open raw container instead.

Convert PEF once editing is done and the image needs to open somewhere that doesn't read camera raw, such as a web upload, a shared album, or a printer.

What is a JXL file?#

A JXL file stores an image under the JPEG XL coding system, a format built to losslessly repackage an existing JPEG into a smaller file or to encode a new photo at higher quality per byte than JPEG, WebP or AVIF.

Use JPEG XL for archiving and photo libraries where you want smaller files than JPEG without giving up the option to reconstruct the original JPEG exactly, especially once Chrome and Firefox finish rolling out default decoding.

Convert JXL to JPEG or PNG for anything going on the web today, since most browsers still require a manual flag to display JPEG XL directly.

PEF to JXL questions people ask#

What camera creates PEF files?

PEF files come from Pentax K-mount digital SLRs and the Pentax Q series shooting in raw mode, starting with the *ist D in 2003. It's Pentax's own raw format, distinct from the DNG option the same cameras can also write.

Should I shoot PEF or DNG on a Pentax camera?

Pentax cameras let you choose PEF or DNG as the raw format in the camera menu. PEF is Pentax's native format with the camera's own lossless compression, while DNG is Adobe's open raw container, useful mainly if a workflow specifically expects DNG.

What software opens PEF files?

Adobe Camera Raw, Lightroom Classic and Photoshop all open PEF files, as do Pentax's own Digital Camera Utility and open-source raw processors like RawTherapee and darktable. Most general image viewers cannot open a PEF without one of these.

Does converting PEF to JPG lose image quality?

Converting a PEF file to JPG applies the raw processing (demosaicing, white balance, tone curve) and then compresses the result, so some of the original sensor data is discarded in the process. The source PEF file is untouched by the conversion.