75%

Higher means better looking but larger files. 70–85 is a great default for photos. Lossless keeps every pixel exactly as in the PNG and ignores the quality slider. Higher effort takes longer but produces smaller files. Transparency is kept, so no background colour is needed.

PNG to JXL Converter

Select PNG files — or a whole folder — and convert them to JPEG XL right in your browser. Nothing is uploaded.

Or drag & drop PNG files or folders anywhere on this page. Only PNG files are accepted.

Ready
0 files

🧬 How the PNG to JPEG XL Converter Works — Complete Guide

Everything you need to know about converting PNG images to JPEG XL (.jxl) with Sakarto: what the two formats are, when converting makes sense, how lossless and lossy modes differ, and how to use Queue Mode. Scroll down for step-by-step instructions, tips, and answers to common questions.

100% Private — Your Images Never Leave Your Computer Everything runs inside your browser. No uploads, no accounts. Your original PNG files are only read, never changed — the converter creates new JXL files.

🔍 What This Tool Does

Sakarto converts PNG images into JPEG XL inside your browser. Add a few files or a whole folder, choose lossless or a lossy quality, and get back .jxl copies you can download one by one, as a single ZIP, or save straight to a folder. Transparency is kept. Encoding is done by a WebAssembly encoder that runs in background Web Workers, so several images are processed at the same time and the page stays responsive. Only genuine PNG files are accepted — every file is checked by its internal signature, not just its extension.

Smaller Files

JPEG XL compresses both photos and graphics very efficiently, so files are usually much smaller than the PNGs they come from.

Lossless or Lossy

Tick Lossless to keep every pixel exactly, or pick a 1–100 quality for the smallest files. A slider for encoding effort squeezes out even more.

Transparency Kept

Unlike JPG, JPEG XL supports an alpha channel, so transparent PNGs stay transparent — no background colour needed.

Queue or Instant Mode

Hand-pick which PNG files to convert with Queue Mode, or switch it off and convert everything the moment it is loaded.

📚 PNG vs JPEG XL — What Are These Formats?

Both formats can store transparent images losslessly, but JPEG XL is much newer and also offers lossy compression. Understanding the difference helps you decide whether a conversion is worth it today.

🧩 What is PNG?

PNG (Portable Network Graphics) was created in the mid‑1990s as a free, patent‑unencumbered image format. It compresses pictures losslessly, so every pixel comes back exactly as it was saved.

  • Lossless compression — no quality loss, no matter how often you re-save
  • Supports full alpha transparency (soft edges, shadows, cut-outs)
  • Up to 16 bits per colour channel for high-precision colour
  • Perfect for screenshots, logos, icons, diagrams and text
  • Files can get very large when the image is a photograph
🧬 What is JPEG XL?

JPEG XL (.jxl) is a modern image format from the JPEG committee, standardised in 2022 as ISO/IEC 18181. It was designed to replace JPG, PNG and GIF with one format: excellent compression, both lossless and lossy modes, transparency, animation, HDR and wide colour.

  • Lossless mode with identical pixels — usually clearly smaller than the same PNG
  • Lossy mode for photographs — much smaller than JPG at similar quality
  • Full alpha transparency in both modes
  • Supports high bit depth, HDR and wide colour spaces (Sakarto writes 8-bit images)
  • Can load progressively, so large images appear gradually
  • Still new: only some browsers can display it, and many apps, editors and websites can't open it yet
JPEG XL is a format of the future — check support before you publish it. Safari has supported JPEG XL since version 17, and recent versions of Chrome and Firefox are adding it, but many apps, upload forms and older browsers still cannot open .jxl files. Keep your PNG files as masters, and use PNG to WebP or PNG to JPG where you need the widest compatibility.

⚖️ Side-by-Side Comparison

⚖️ Side-by-Side Comparison
FeaturePNGJPEG XL
CompressionLossless onlyLossless or lossy — your choice
TransparencyYes, full alpha channelYes, full alpha channel — in both modes
Best forScreenshots, logos, text, editing mastersPhotos and graphics where file size matters and the viewer supports it
File size for photosVery largeMuch smaller in lossy mode
File size for flat graphicsSmallUsually smaller, especially in lossless mode
Colour depthUp to 16 bits per channelUp to 32 bits (Sakarto writes 8-bit)
Encoding speedFastDepends on the effort setting — slower at high effort
AnimationOnly through the APNG extensionYes (Sakarto converts still images only)
Browser supportUniversalSafari 17+, and newer versions of Chrome and Firefox
App and printer supportUniversalGrowing, but still limited
File extensions.png.jxl

🎯 When Should You Convert PNG to JPEG XL?

✅ Good reasons to convert
  • Archiving or storing large image libraries in less space, with the option of exact lossless copies
  • Lossless copies of screenshots, diagrams and graphics that are noticeably smaller than the PNG
  • Transparent images that you want smaller than PNG but still pixel-exact (Lossless mode)
  • Sharing images with people who use Safari, or other viewers that support JPEG XL
  • Experimenting with the new format, or testing how it performs on your own images
⚠️ Think twice if…
  • You need the images to open everywhere — many apps, email clients, forms and older browsers can't show .jxl files
  • You publish on a website and want every visitor to see the image — WebP or AVIF are better supported today
  • You need to open the images in editors, print shops or tools that don't support JPEG XL
  • You need 16-bit colour precision — Sakarto writes 8-bit JPEG XL files
  • You plan to edit the image repeatedly in lossy mode — keep the PNG as your master
Convert copies, never masters. Sakarto never modifies your PNG files — it creates new JXL files. Keep the originals as your master copies.

🧠 How the Conversion Works

Here is what happens to every file, step by step — all of it on your own device:

  1. Validate the PNG

    The first bytes of each file are checked against the PNG signature, and the header is read to get the dimensions and detect transparency — without decoding the whole image. Files that aren't real PNGs are skipped.

  2. Load the encoder

    The first time you add files, the JPEG XL encoder (a WebAssembly build of libjxl, about 2 MB) is downloaded and started in background workers. Your browser keeps it afterwards. It runs on your device — your images are never sent to it.

  3. Read the PNG exactly

    A PNG decoder inside the worker turns each file into exact 8-bit pixels, including the transparency channel, so nothing is changed by the browser's own image handling.

  4. Encode as JPEG XL in parallel

    The pixels are compressed losslessly or at your chosen quality, with the encoding effort you selected. The work happens in Web Workers, so the page stays responsive, and on computers with several cores a few files are encoded at the same time. Phones and tablets process one file at a time to save memory.

  5. Deliver the result

    Each JXL file is held in memory. You can download them individually, bundle them into a ZIP that is built locally in your browser, or write them straight into a folder (Chrome and Edge). If your browser can't display JPEG XL, previews are created by decoding the file locally.

What do quality and effort change? In lossy mode, quality trades detail for size: lower quality means smaller files but visible softening. Encoding effort doesn't change how the image looks much — higher effort simply searches harder for a smaller file and takes longer. In Lossless mode the quality slider is ignored and no detail is lost.

🎚️ Choosing a JPEG XL Quality

There is no single best setting, but these ranges are a reliable starting point. Lossless mode ignores the slider.

🎚️ Choosing a JPEG XL Quality
QualityBest forWhat to expect
Lossless (checkbox)Logos, screenshots, graphics, archives, pixel-exact copiesIdentical pixels; usually smaller than the PNG, but larger than any lossy setting
90–100Photos you want to keep nearly perfectVery close to the original, with larger files
70–89High-quality photos (75 is the default)Looks near-identical for most photos at a much smaller size
45–69Web previews, thumbnails, social mediaNoticeably smaller; slight softening on close inspection
Below 45Rarely recommendedVisible blur and artifacts

🔁 Queue Mode vs. Instant Mode

The Queue Mode checkbox in the toolbar decides what happens when you click Convert, and whether files are converted as soon as they are loaded.

📋 Queue Mode ON (default)
  • Loaded PNG files are only listed — nothing is converted yet
  • Select the files you want and click Convert to stage them
  • Review the Convert Queue tab and remove anything you don't want
  • Click Convert All Files to process the whole queue at once
  • Best when a folder contains files you only want to convert selectively
⚡ Queue Mode OFF
  • Every PNG is converted automatically the moment it is loaded
  • Clicking Convert on selected files converts them immediately
  • Results appear straight away in the Converted JPEG XL tab
  • Best for a few images: drop them in, download the ZIP
  • You can still change the quality, Lossless or effort setting and re-convert files
Your Queue Mode choice is remembered on this device, so the page works the way you like the next time you visit.

📋 Step‑by‑Step: How to Convert PNG to JPEG XL

Step 1

Choose Your Settings

Tick Lossless to keep every pixel exactly, or set the JPEG XL quality. Choose an encoding effort and decide whether you want Queue Mode on or off.

Not sure? Leave the quality at 75 and the effort on 7. Converting logos or screenshots, or want exact copies? Tick Lossless.
Step 2

Add PNG Files

Click 🖼️ Select PNG Files to choose images, or 📁 Select Folder to scan a whole folder including subfolders. You can also drag and drop files or folders onto the page. Anything that isn't a real PNG is skipped, and you are told how many were skipped.

Step 3

Review the Files

Every PNG appears as a card with its dimensions and size. Cards with an ALPHA badge contain a transparency channel. A checkerboard pattern behind a preview shows where an image is transparent.

  • Click a card to select it (blue border)
  • Click & drag on empty space to box-select several cards
  • Click the 🔍 icon to preview full size
  • Right-click a card for the context menu
  • Ctrl+A selects everything, Escape clears the selection
  • Ctrl+Click (Cmd+Click on Mac) to add a card to the compare list (purple border)
Step 4

Convert

Select the files you want and click 🔁 Convert. With Queue Mode on, the files are staged in the Convert Queue. With Queue Mode off, they are converted immediately.

Step 5

Review the Queue (Queue Mode)

Open the Convert Queue tab in the sidebar. Remove any file with the ✕ button, then click Convert All Files. A progress bar shows how far along the conversion is, and you can stop it at any time.

Step 6

Compare Before and After

Ctrl+Click (Cmd+Click on Mac) two or more cards — original PNGs in the PNG Files tab, converted files in the Converted tab, or a mix of both — then click ⚖️ Compare in the toolbar. A modal shows each file with its dimensions, size and details, plus how much the size changed. You can also open a converted file's preview and click Compare with Original.

⚖️ Compare View the selected files side by side
Ctrl + Click Add or remove a card from the compare list
Compare with Original Open the original and its converted file together
Not happy with the result? Change the settings and press Convert again — your files stay loaded, so you don't need to add them again.
Step 7

Download Your JXL Files

Finished files appear in the Converted JPEG XL tab with their new size and how much smaller (or larger) they are. Then pick how to get them:

📦 Download ZIP All JXL files in one archive, folder structure kept
⬇️ Download All One download per file
📁 Save to Folder Write straight to a folder (Chrome / Edge)
📥 Download List A text file showing which PNG became which JXL
⬇️ Card button Download a single JXL file
Converted files exist only in your browser's memory until you download them. Download before closing or reloading the tab.

🏛️ Quick Reference — Buttons & Controls

🏛️ Quick Reference — Buttons & Controls
Button / ActionWhat it does
🔄 New SessionReload the page and start from scratch
➕ Add FilesAdd more PNG files to the current session
☑️ Select AllSelect every PNG file in the list
✕ Deselect AllClear the current selection
🔁 Convert (N)Queue the selected files, or convert them now if Queue Mode is off
⚖️ Compare (N)Open the compare modal for Ctrl+clicked cards. Needs 2 or more.
Queue Mode checkboxOn: stage files first. Off: convert immediately.
Quality sliderJPEG XL quality from 1 (smallest) to 100 (best)
Lossless checkboxKeep every pixel exactly; the quality slider is ignored
Encoding effortHigher effort takes longer but gives smaller files
Click cardSelect / deselect the file
Ctrl + Click cardAdd / remove the card from the compare list (purple border)
Click & drag (empty area)Box-select several cards at once
Right-click cardContext menu: Copy Name / Preview / Compare / Convert
🔍 hover iconOpen a full-size preview with details
Convert All FilesConvert everything in the Convert Queue
📦 Download ZIPBundle all converted JXL files into one ZIP file
📥 Download ListSave a text file listing each PNG and the JXL it became, with sizes
Show as ListShow the same "from → to" list on the page
Ctrl+A / EscapeSelect all files / clear the selection

⭐ What Users Say

Based on 4 reviews (demo)

"This is a demo review. The real reviews will be shown here."

"This is a demo review with a longer text, so you can check how a card looks with more content. The real reviews will be shown here."

"Demo review — real reviews will be here."

"This is a demo review. Once you have real users, their words and names replace this card."

💡 Tips for Best Results

Lossless Is a Great Archive Format

Lossless JPEG XL keeps every pixel of your PNG and is usually clearly smaller, which makes it a good way to shrink a big image library without losing anything.

Photos: Try Quality 70–85

A PNG photo converted to JPEG XL at a quality of 70–85 is usually a small fraction of the original size with little visible difference.

Be Patient With High Effort

Effort 9 can take a long time on large images. For big batches, stay on 5–7 and compare the result before going higher.

Transparency Is Kept

Cut-outs, logos and icons stay transparent — something JPG cannot do.

Use Queue Mode for Mixed Folders

Scanning a folder with logos and photos? Turn on Queue Mode and convert only the photos.

ZIP Beats Many Downloads

Browsers may block or prompt for many simultaneous downloads. Download ZIP gives you everything in one go.

Keep the Download List

Use Download List to save a text file showing which PNG became which JXL, with the size of each.

Test on a Few Files

Convert two or three files first, compare the preview and size, and adjust the quality before running a large batch.

Change Settings and Convert Again

Not happy with the result? Change the quality, tick Lossless or change the effort and press Convert again — your files stay loaded, no need to add them again.

Compare Before You Download

Use Compare to look at the original and the JXL side by side, with the exact size difference, before you download a whole batch.

⚠️ Known Limitations

Results live in memory only.

Converted JXL files are not saved anywhere until you download them. Reloading or closing the tab discards them.

High effort is slow.

A large image at effort 9 can take a long time. Choose a lower effort to finish sooner; the Stop button cancels the remaining files.

Large batches and big images use a lot of memory.

Each worker keeps its own memory. Sakarto limits the number of parallel workers (one on phones and tablets), but very large images can still exhaust a device's memory.

Very large images may fail.

Images over 40 megapixels are not converted and are reported as failed.

The encoder is downloaded once.

The first conversion downloads about 2 MB of WebAssembly. Browsers cache it afterwards, but you need to be online the first time.

Animated PNGs convert to a single frame.

Sakarto creates still JXL images. For APNG files, only the first frame is used.

16-bit PNGs become 8-bit.

The JXL files are written with 8 bits per channel, so any extra colour precision in the PNG is reduced — even in Lossless mode.

Metadata isn't carried over.

Text chunks and embedded colour profiles from the PNG are not copied to the JXL file.

Not every app and browser can open JXL.

Safari 17+ and newer versions of Chrome and Firefox can display JPEG XL. Elsewhere, Sakarto still shows previews by decoding the files locally, but other programs may not open them.

Saving to a folder needs Chrome or Edge.

The File System Access API is only available in Chromium-based desktop browsers. Everywhere else, use Download ZIP or the per-file download buttons.

🔒 Privacy & Security

Nothing is uploaded. Open DevTools → Network and watch: converting files makes no outbound requests with your images. The only download is the encoder itself, the first time. Encoding and ZIP creation all happen on your device.
Your originals are never changed. Files are only read. The converter always creates new JXL files and never overwrites or deletes your PNGs.
No accounts needed. The only things stored in your browser are your preferences (quality, Lossless, effort and Queue Mode). File names and images are never saved.
Purely static — no backend. The page is HTML, CSS and JavaScript. There is no server, database or API that receives your images.

❓ Frequently Asked Questions

Are my PNG files uploaded anywhere?
No. All conversion happens locally in your browser. The JPEG XL encoder is a WebAssembly module that is downloaded once and then runs on your device, so your images never leave it. You can verify this in your browser's DevTools → Network tab.
Does JPEG XL keep the transparency of my PNG?
Yes. JPEG XL supports a full alpha channel, so transparent and semi-transparent areas — such as soft shadows — are kept, in both lossless and lossy mode. Cards with an ALPHA badge show which PNG files contain transparency, and the checkerboard behind a preview shows where it is.
What is JPEG XL?
JPEG XL (.jxl) is a modern image format from the JPEG committee. It supports lossless and lossy compression, transparency, animation and HDR, and often produces smaller files than PNG, JPG or WebP. Browser and app support is still growing.
What is the difference between lossy and lossless?
Lossless mode keeps every pixel exactly as in the PNG, so the files are larger than lossy ones but usually still smaller than the PNG. Lossy mode discards small details to make files much smaller; you control it with the quality slider. Use lossless for logos, screenshots and archives, and lossy for photos.
Which quality setting should I use?
For photographs, 70–85 gives results that look very close to the original at a fraction of the size, and 75 is the default. Go to 90 or above only when you need near-perfect detail. For logos, screenshots and exact copies, tick Lossless instead. Try a few files first and compare the preview.
What does the encoding effort do?
Effort (1–9) controls how hard the encoder searches for a smaller file. Higher effort takes longer but gives smaller files at the same quality; lower effort finishes sooner with somewhat larger files. The default, 7, is a good balance. Effort 9 can be very slow on large images.
Is the lossless mode really lossless?
Yes. In Lossless mode the decoded JPEG XL pixels are identical to the 8-bit pixels of the PNG, including transparency. Metadata isn't copied, and 16-bit PNGs are reduced to 8 bits before encoding.
Why can't my browser or app open the JXL file?
JPEG XL is still new. Safari has supported it since version 17, and newer versions of Chrome and Firefox are adding support, but many programs, websites and upload forms can't open it yet. Sakarto shows previews even in browsers without support by decoding the file locally. If you need wide compatibility, use PNG to WebP or PNG to JPG instead.
Why is my JXL larger than the original PNG?
Some PNG files are already extremely well optimised — for example tiny icons or flat graphics — and a high-quality or low-effort JXL can end up larger. Try a higher effort or a lower quality, or keep the PNG. The Converted JPEG XL tab shows the size change for every file so you can spot this.
What is the difference between Queue Mode and converting directly?
With Queue Mode on, loaded files are only listed. You select the ones you want, stage them in the Convert Queue, review, and convert them together. With Queue Mode off, every PNG is converted as soon as it is loaded, and the Convert button converts the selection immediately.
Why can't I add JPG, WebP or other image types?
This converter is built specifically for PNG to JPEG XL. Files are verified against the PNG file signature, so a different image that was only renamed to .png is skipped. Converters for other formats are available from the sidebar.
Does it keep EXIF data, text chunks or colour profiles?
No. The JXL is produced from the decoded pixels, so metadata from the PNG isn't copied.
What happens to animated PNG (APNG) files?
Only the first frame is converted, because Sakarto creates still JXL images.
Are there file size or image size limits?
Files over 100 MB are skipped, as are images over 40 megapixels. The encoder needs a lot of memory, so on phones and tablets very large images may fail. Failed files are reported after the conversion.
My browser blocks or asks about multiple downloads. What can I do?
Browsers often limit many automatic downloads. Use Download ZIP to get all files in a single download, or Save to Folder in Chrome or Edge to write them directly to a folder.
Does this work on iPhone, Android and Safari?
Yes. The encoder is WebAssembly, so it runs in any current browser, including Safari and browsers on iPhone, iPad and Android. Phones and tablets convert one file at a time and may be slow with large images. Folder selection and Save to Folder require a Chromium-based desktop browser such as Chrome or Edge.
Can I change the settings and convert again without adding the files again?
Yes. Your PNG files stay loaded. Change the quality, tick/untick Lossless or change the effort, then press Convert again. If nothing is selected, Convert re-converts the files you already converted; otherwise it converts the selection. The new results replace the old ones.
How do I compare the original and the JXL file?
Ctrl+Click (Cmd+Click on Mac) the original card and its converted card, then click ⚖️ Compare in the toolbar. Or open a converted file's preview and click Compare with Original. The modal shows both images with their sizes and the size difference.
How do I know which PNG became which JXL?
Click Download List in the Converted JPEG XL tab to save a text file with each original path, the new file name, dimensions, sizes, quality and effort. Show as List displays the same "from → to" list right on the page.