Saves each animated APNG as one animated JPEG XL with the same frame timing and repeat count, instead of single pictures. Still APNG files convert as usual. Animations are written by a separate encoder that is slower, so at most effort 3 is used for them; animations of more than 300 frames (fewer for large pictures) lose some frames evenly, so they last just as long. Many browsers cannot play an animated JPEG XL yet.

Used when the animation is not kept. Still APNG files always give one JPEG XL. For an animated APNG, the first frame is saved unless you tick the box — then every frame becomes its own JPEG XL file. Enter a number to save only that many frames: "Spread evenly" takes frames from the whole animation (first and last included), "The first ones" takes the frames from the start. Leave the number empty for all frames.

75%

Higher means better looking but larger files. 70–85 is a great default for photos. Lossless keeps every pixel of the decoded APNG exactly (16-bit pictures are reduced to 8 bits first) and ignores the quality slider. Higher effort takes longer but produces smaller files. Transparency is kept, including soft, semi-transparent edges, so no background colour is needed.

APNG to JPEG XL Converter

Select APNG files — or a whole folder — and convert them to JPEG XL right in your browser. Animated APNG files can stay animated, or give their first frame or all their frames. Transparency is kept. Nothing is uploaded.

Or drag & drop APNG files or folders anywhere on this page. Only APNG and PNG files (.apng, .png) are accepted.

Ready
0 files

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

Everything you need to know about converting APNG images to JPEG XL with Sakarto: what the two formats are, how transparency and animated APNG files (kept as an animation, first frame, all frames, or a number of frames) are handled, when to use lossless or lossy mode, 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 APNG files are only read, never changed — the converter creates new JXL files.

🔍 What This Tool Does

Sakarto converts APNG images into JPEG XL inside your browser. Add a few files or a whole folder, choose lossless or a quality, and get back JXL copies you can download one by one, as a single ZIP, or save straight to a folder. Transparency, soft edges included, is kept. The page reads each APNG with its own built-in PNG decoder, and a WebAssembly encoder (libjxl) running in background Web Workers writes the JXL, so several images are processed at the same time and the page stays responsive. Animated APNG files are handled too: tick Keep the animation to get one animated JXL with the original timing and repeat count (written by a small JavaScript encoder), or save just the first frame, every frame, or a number of frames of your choice. Only genuine PNG and APNG files are accepted — every file is checked by its internal signature, not just its extension.

Lossless or Lossy

Tick Lossless to keep every pixel of the decoded APNG exactly, or pick a 1–100 quality for the smallest files. An effort setting squeezes out even more.

Animated APNG, Your Way

Keep the animation as one animated JXL, or save the first frame, all frames, or only a number of frames.

Transparency Kept

JPEG XL supports a full alpha channel in both modes, so transparent APNG pictures stay transparent — and get soft edges if you want them later.

Queue or Instant Mode

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

📚 APNG vs JPEG XL — What Are These Formats?

APNG is PNG with animation — lossless, with full colour and soft transparency — and JPEG XL is the newer format from the JPEG committee that can also be lossless, in much smaller files. Knowing the difference tells you what converting will — and will not — do for you.

🎬 What is APNG?

APNG (Animated Portable Network Graphics) extends PNG with a few extra chunks that describe animation frames. It was designed at Mozilla and is supported by every current browser. An APNG stays a valid PNG: software that does not know APNG simply shows its first picture as an ordinary PNG image.

  • Same lossless compression, colour depth and full alpha transparency as PNG
  • Holds many frames, each with its own display time, and a repeat count
  • Every frame can cover only part of the picture and replace or blend with what is below
  • Shown by Chrome, Edge, Firefox, Safari and Opera — and by many image viewers and apps
  • Lossless deflate compression, so photo-like animations make very large files
  • Usually saved as .png or .apng — the file is the same inside
🧬 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 APNG 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 a PNG of the same picture
  • 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. An APNG already has full colour and soft transparency, so converting gains no colours — what you gain is a much smaller file. Keep your APNG files as masters, and use APNG to PNG or APNG to WebP where you need the widest compatibility.

⚖️ Side-by-Side Comparison

⚖️ Side-by-Side Comparison
FeatureAPNGJPEG XL
CompressionLossless (deflate)Lossy or lossless — your choice
ColoursUp to 16 bits per channel (mostly 8-bit), or a paletteMillions, up to 32 bits per channel (Sakarto writes 8-bit)
TransparencyYes — full alpha channel with soft edgesYes, full alpha channel with soft edges — in both modes
AnimationYes — many frames with timing and a repeat count, in one fileYes — Sakarto can keep the animation as an animated JXL
Best forShort animations and graphics with exact pixels and soft transparencyPhotos and graphics where size matters and the viewer supports it
File sizeLarge, especially for photo-like animationsMuch smaller in lossy mode; lossless is often smaller than the APNG too
Lossless imagesYes, any colour typeExact pixels, often smaller than a PNG
Encoding speedFastDepends on the effort setting — slower at high effort
Browser supportAll current browsersSafari 17+, and newer versions of Chrome and Firefox
App and printer supportSome programs show only the first frameGrowing, but still limited
File extensions.apng or .png.jxl

🎯 When Should You Convert APNG to JPEG XL?

✅ Good reasons to convert
  • You want to archive an APNG library in a modern format, with exact lossless copies of what the APNG shows
  • You want to try a much smaller file than the APNG — lossy JXL is far smaller for photo-like pictures
  • You are sharing with people who use Safari, or other viewers that support JPEG XL
  • You need an animated APNG as an animated JXL — or single frames of it as pictures with a full alpha channel
  • You want to experiment with the new format, or test 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 (use APNG to WebP or APNG to JPG)
  • You publish on a website and want every visitor to see the image — APNG itself, WebP or AVIF are better supported today
  • You need the animation to play everywhere — many browsers cannot play an animated JXL yet; an APNG plays in every current browser, and the APNG to WebP or APNG to GIF converters are safer choices
  • The destination only accepts APNG or PNG, such as many messengers, forms and marketplaces
  • The original is the only copy — keep the APNG as your master
Convert copies, never masters. Sakarto never modifies your APNG files — it creates new JXL files. Keep the original files 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 file

    The first bytes of each file are checked against the PNG signature, and the file is read chunk by chunk to get the dimensions, the colour type and the list of frames with their position, size, blending and clearing — without decoding any pixels. Files that aren't real PNG or APNG files are skipped, and you are told what they really are (a GIF or JPG with a .png name, for example).

  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. Decode the pictures

    The page decodes the PNG data itself. The compressed data of every frame is unpacked, the row filters are undone, interlaced pictures are put back in the right order, and every colour type is turned into 8-bit RGBA (palette, grayscale and 16-bit pictures included, with their transparency). Each frame is then placed on a full canvas the way the animation shows it — at its position, replacing or blended with what is below, and cleared or restored afterwards when the file says so. So every saved frame is the complete picture, not just the part that changed.

  4. Choose the frames

    A still APNG gives one JXL file. For an animation with <strong>Keep the animation</strong> ticked, all frames are used and written into one animated JXL (an animation of more than 300 frames — fewer when the pictures are large — loses frames evenly and lasts just as long). Otherwise the first frame is saved unless you ask for all frames, optionally a number of them, picked evenly from the whole animation (first and last included) or taken from the start. The "default image" that some APNG files carry for programs without APNG support is not part of the animation and is not used.

  5. Encode as JPEG XL in parallel

    The 8-bit pixels, including the transparency channel, 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. A kept animation is written all at once by a separate JavaScript encoder in a worker, with the frame times and the repeat count of the APNG; it stores only the part of each frame that changed, and Lossless keeps every frame exact.

  6. 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). The frames of one animation can be downloaded together as a ZIP from its card. If your browser can't display JPEG XL, previews are created by decoding the file locally.

Why not simply rename the file? An APNG renamed to .jxl is still an APNG inside, and programs will refuse it. The converter really decodes the picture and writes a new JXL file.

🔍 What Changes — and What Doesn't

There is no single best setting, but these ranges are a reliable starting point. Lossless mode ignores the slider. Flat areas and sharp edges show lossy compression more than photos do, so go a little higher for graphics and pixel art:

🔍 What Changes — and What Doesn't
AspectIn the JPEG XLDetails
Lossless (checkbox)Pixel art, logos, graphics, pixel-exact copies of what the APNG showsIdentical pixels (16-bit pictures are reduced to 8 bits first); larger than any lossy setting, but often still smaller than the APNG
Quality 90–100Pixel art and graphics with sharp edgesVery close to the APNG, with larger files
Quality 70–89Photo-like pictures and animations (75 is the default)Looks near-identical for most pictures at a small size
Quality 45–69Web previews, thumbnails, social mediaNoticeably smaller; edges and flat colours start to soften
TransparencyKeptTransparent areas and soft, semi-transparent edges stay as they are, in both modes
AnimationAnimated JXL, or one JXL per frameWith Keep the animation ticked, one animated JXL with the frame times and repeat count of the APNG (a frame time of 10 ms or less is played as 100 ms, like browsers do). Otherwise still pictures: first frame only by default, or all frames / a number of frames
Frame contentThe complete pictureAPNG frames often only change a part of the picture. They are laid on the full canvas first, so every JXL file is a full image
ColoursThe APNG's coloursPalette and 16-bit pictures become 8-bit RGB first. Lossless keeps those colours exactly; lossy mode changes them very slightly. Colour profiles are neither applied nor copied
Metadata (text, colour profile)Not copiedThe JXL carries no text chunks, colour profile or other extra data of the APNG

🎞️ Animated APNG — Keep the Animation, First Frame, All Frames, or a Number of Frames

An animated APNG holds many frames. The settings above the file list decide what you get: one animated JXL that plays like the original, or still JXL files. Still APNG files always give exactly one JXL.

▶️ "Keep the animation" ticked
  • Every animated APNG becomes one animated JXL, named like the original
  • The time each frame is shown and the repeat count are taken from the APNG (a frame time of 10 ms or less is played as 100 ms, like browsers do)
  • Frames that only change part of the picture are laid on the full canvas first, so every frame is complete
  • Transparency is kept; with Lossless ticked every frame is exact
  • More than 300 frames (fewer for large pictures): frames are left out evenly and the animation lasts just as long
  • Animations use at most effort 3, because the animation encoder is slow at high effort
  • If your browser cannot show JPEG XL, the preview shows the first frame as a picture
1️⃣ Box not ticked (default)
  • Only the first frame of every animation is saved
  • One JPEG XL per APNG, named like the original
  • Fast, and the result looks like the preview of the animation
  • Best for thumbnails and previews
🎞️ "Save all frames" ticked
  • Every frame becomes its own JPEG XL, numbered in order — name_frame_001.jxl, name_frame_002.jxl and so on
  • Enter a number to save only that many frames
  • Spread evenly: frames from the whole animation, first and last included — 5 frames of a 60-frame animation are frames 1, 16, 31, 45 and 60
  • The first ones: the frames from the start of the animation
  • The frames of one animation are shown on its card and can be downloaded together as a ZIP
Animated JPEG XL is still new: some browsers (for example Safari) can play it, many others and most apps show nothing or only the first picture. If the animation has to play everywhere, keep the APNG, or use the APNG to WebP or APNG to GIF converter from the sidebar instead.

🔁 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 APNG 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 APNG 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 files: drop them in, download the ZIP
  • You can press Convert again at any time to 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 APNG to JPEG XL

Step 1

Choose Your Settings

Tick Lossless to keep every pixel exactly, or set the JPEG XL quality, and choose an encoding effort. Then decide what should happen to animated APNG files: tick Keep the animation to get one animated JXL, leave the boxes unticked to save only the first frame, or tick Save all frames to get every frame as its own JXL file — optionally with a number of frames, spread evenly over the animation or taken from the start. Still PNG files are not affected.

Not sure? Leave the quality at 75 and the effort on 7, and keep Keep the animation ticked so animations stay animated. Want exact copies of graphics? Tick Lossless. Decide whether you want Queue Mode on or off.
Step 2

Add APNG Files

Click 🖼️ Select APNG 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 or APNG is skipped, and you are told how many were skipped and what they really are.

Step 3

Review the Files

Every APNG appears as a card with its dimensions and size; animated files carry a tag with their number of frames.

  • 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 — for animations also which frame is being saved — 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 APNG files in the APNG 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. A kept animation is shown in the card, the preview and the comparison as far as your browser can display JPEG XL animations (otherwise as its first frame); for separate frames, the card shows the first saved frame and the preview shows all of them.

⚖️ 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
You can press Convert again at any time — your files stay loaded, so you don't need to add them again. Changed the quality, effort or animation settings? Press Convert and the new results replace the old ones.
Step 7

Download Your JPEG XL Files

Finished files appear in the Converted JPEG XL tab with their new size and how much the size changed. An animation shows a frames tag on its card. Then pick how to get them:

📦 Download ZIP All JPEG XL files in one archive, folder structure kept
⬇️ Download All One download per JPEG XL file
📁 Save to Folder Write straight to a folder (Chrome / Edge)
📥 Download List A text file showing which APNG became which JPEG XL file(s)
⬇️ Card button Download a single JPEG XL — or, for an animation saved as separate frames, all its frames as a ZIP
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 APNG files to the current session
☑️ Select AllSelect every APNG 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
Keep the animationOn: an animated APNG becomes one animated JXL with the same timing. Off: still pictures, as set below.
Save all framesOff: only the first frame of an animated APNG. On: every frame becomes its own JPEG XL. Hidden while Keep the animation is on.
Number of framesWith "Save all frames" on: save only this many frames. Empty = all frames.
PickSpread evenly over the animation (first and last included) or take the first ones
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 (and all frames of an animation)
Convert All FilesConvert everything in the Convert Queue
📦 Download ZIPBundle all converted JPEG XL files into one ZIP file
📥 Download ListSave a text file listing each APNG and the JPEG XL file(s) 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 Keeps Every Pixel

Lossless JPEG XL stores exactly what the APNG shows — good for pixel art, graphics and archiving, and the file is often smaller than the APNG.

Photo-Like APNGs: Try Quality 70–85

Lossy JXL is far smaller than the APNG for photo-like pictures. Go higher (90+) for pixel art and sharp graphics, lower for thumbnails.

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.

Pictures Stay Pictures

Palette and 16-bit APNG files become 8-bit RGB first. Lossless JXL keeps those colours exactly, and a lossy JXL only adds its own small loss. Soft transparency is kept either way.

Transparency Is Kept

Cut-outs, logos, shadows and icons stay transparent, soft edges included, in both lossless and lossy mode — no background colour needed, unlike JPG.

Start With One Frame

Animations can have hundreds of frames. To try the settings, leave "Save all frames" off to get just the first frame, or set a number such as 5 to get a handful spread over the whole animation.

Check Your Animation First

Convert one animated file first and look at the size. Lossless animations are exact but can be large; a lossy quality of 70–85 is much smaller. Remember that not every browser can play an animated JXL.

Use a Number for a Preview Sheet

With a number of frames and "Spread evenly", you get a few pictures from the beginning, middle and end of an animation — good for checking what it contains.

Don't Convert Back and Forth

Every lossy save loses a little detail. Convert from the original APNG once instead of converting a JXL again and again.

Use Queue Mode for Mixed Folders

Scanning a folder with many files? Turn on Queue Mode and convert only the ones you need.

ZIP Beats Many Downloads

Browsers may block or prompt for many simultaneous downloads — and animations saved as frames can give many files. Download ZIP gives you everything in one go.

Test on a Few Files

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

Change Settings and Convert Again

Your files stay loaded. Change the quality, Lossless, effort or animation settings, press Convert again, and the new results replace the old ones.

Compare Before You Download

Use Compare to look at the APNG 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.

Animated JXL does not play everywhere.

With Keep the animation the result is a real animated JPEG XL, but support for playing it is still limited — some browsers and viewers show only the first picture or nothing. Animations are written by a separate JavaScript encoder that uses at most effort 3 and is slower than the still encoder.

Frame limits.

A kept animation has at most 300 frames (fewer when the pictures are large, to keep memory in check) — longer ones lose frames evenly and last just as long. When saving separate frames, no more than 2000 frames are saved from one animation; use a number of frames and "Spread evenly" to cover a longer one.

No quality gain.

A JXL can't be better than the APNG it comes from. Lossless mode keeps exactly what the APNG shows (16-bit pictures are reduced to 8 bits first), and lossy mode adds its own small loss.

Large batches and big images use a lot of memory.

Each worker keeps its own memory, and every picture is also decoded into raw pixels first. A kept animation holds all its frames as raw pixels while it is written. Sakarto limits the number of parallel workers (one on phones and tablets), but very large images — or long animations of large images — can still exhaust a device's memory. All saved pictures of a file stay in memory until you download them.

Very large images may fail.

Images over 40 megapixels and files over 100 MB 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.

Extra APNG data isn't carried over.

Text chunks, colour profiles and other extra data from the APNG are not copied to the JXL file; the repeat count and frame times are used for the animation. The JXL files are written with 8 bits per channel.

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.

Very short frame times are slowed down.

An APNG frame time of 10 ms or less is saved as 100 ms, because browsers play it that way.

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. Decoding, 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 APNG files.
Extra data stays behind. APNG files can contain text, a colour profile and other chunks. The JXL files created here have none of it — keep the APNG if you need that information.
No accounts needed. The only things stored in your browser are your preferences (quality, Lossless, effort, animation and frame settings 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 APNG 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 APNG?
Yes. Transparent pixels of the APNG stay transparent in the JXL, in both lossless and lossy mode and also in a kept animation, and soft, semi-transparent edges and shadows stay soft. The checkerboard behind a preview shows where a picture is transparent.
What happens to an animated APNG?
You choose. With Keep the animation ticked (the default) it becomes one animated JXL. With the box unticked only its first frame is saved, as one JXL named like the original. Tick Save all frames to get every frame as its own JXL instead, or enter a number to get only that many frames.
How do I get all frames of an animated APNG as JXL?
Untick Keep the animation, tick Save all frames of animated APNG files and leave the number empty. Every frame becomes its own JXL file, numbered in order. To save only some frames, enter a number, for example 5 — then "Spread evenly" picks frames from the whole animation and "The first ones" takes them from the start.
Can I save only some frames, for example 5 of 60?
Yes. With Save all frames ticked, enter the number in Number of frames. With Spread evenly the frames are taken from the whole animation, first and last frame included — 5 frames of a 60-frame animation are frames 1, 16, 31, 45 and 60. With The first ones you get the frames from the start: 1 to 5.
Are the saved frames the complete picture?
Yes. Most animated APNG files only store the part of the picture that changed in each frame. Sakarto lays every frame on the full canvas the way the animation shows it — with the position, transparent colour and clearing or restoring the file asks for — so each JXL frame is a complete image that looks like that moment of the animation.
How are the frames named?
With the name of the APNG, the word "frame" and the number of the frame in the animation, for example logo_frame_001.jxl. The numbers are those of the original animation, so with "Spread evenly" you may see logo_frame_001, logo_frame_016 and logo_frame_031.
Does it make an animated JXL?
Yes. Leave Keep the animation ticked above the file list. Each animated APNG then becomes one animated JXL with the same frame times and repeat count. Browsers and viewers that support animated JPEG XL play it; others show the first picture or nothing. If the animation has to play everywhere, keep the APNG, or use the APNG to WebP or APNG to GIF converter.
How long is the animation, and does it loop?
The time every frame is shown and the number of repeats (or endless looping) are read from the APNG and written into the JXL. Frames shown for 10 ms or less are treated as 100 ms, the same way browsers play them. An APNG that repeats a number of times plays that many times, one that loops forever loops forever, and an APNG without a repeat count plays once. An animation of more than 300 frames (fewer when the pictures are large) loses frames evenly, and the remaining ones are shown longer so the total length stays the same.
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 APNG. Browser and app support is still growing.
What is APNG?
APNG (Animated PNG) is PNG with animation: a few extra chunks describe the frames, their timing and the number of repeats. It is lossless, has a full alpha channel, and every current browser plays it. Programs that don't know APNG show the first picture as an ordinary PNG. Its files are large compared with modern formats.
What is the difference between lossy and lossless?
Lossless mode keeps every pixel exactly as the browser decodes it from the APNG, so the files are larger than lossy ones. Lossy mode discards small details to make files much smaller; you control it with the quality slider. Use lossless for logos, screenshots and graphics, and lossy for photos.
Which quality setting should I use?
75 is the default and a good starting point for photo-like APNGs. Go to 90 or above — or tick Lossless — for pixel art, logos and flat-colour graphics, where compression shows more, and below 50 only for thumbnails. 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. With Lossless ticked, every pixel of the decoded APNG frame — including its transparency — is stored exactly, so the JXL looks identical to what the APNG shows. The only change is that 16-bit pictures are reduced to 8 bits per channel first. It can't add detail the APNG didn't have.
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 APNG to JPG or APNG to PNG instead.
Why is my JXL larger than the APNG?
An APNG of flat colours or a very simple animation is stored very compactly. A lossless JXL, a high quality setting, or an animation with many frames can end up larger than such an APNG. Try a lower quality, or keep the APNG. The Converted JXL tab shows the size change for every file so you can spot this.
Can I get my original APNG back from the JXL?
Not exactly. A lossless JXL holds the same pixels, but the file is a different format and an animation that is not kept is split into separate pictures; a lossy JXL has lost some detail for good. Always keep your original APNG files — Sakarto never modifies them.
Can I change the settings and convert again without adding the files again?
Yes. Your APNG files stay loaded. Change the quality, Lossless, effort or animation settings, 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.
Are the text chunks and the colour profile kept?
No. The JXL is made from the decoded pixels, so text chunks, colour profiles and other extra data of the APNG aren't copied.
Why do the colours look slightly different?
Lossless mode keeps the APNG's colours exactly (16-bit pictures are reduced to 8 bits first). In lossy mode the colours change very slightly — most visibly in flat colour areas and around sharp edges. A higher quality setting, or Lossless, removes this. Colour profiles are neither applied nor copied.
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 APNG is converted as soon as it is loaded, and the Convert button converts the selection immediately.
Why can't I add GIF, JPG or other image types?
This converter is built specifically for APNG 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.
Which file extensions are accepted?
.apng and .png — as long as the file really is a PNG inside. A plain, non-animated PNG is accepted too and gives one JXL file. Folder selection takes the .png and .apng files out of the folder and ignores everything else.
Are there file size or image size limits?
Files over 100 MB are skipped, as are images over 40 megapixels. JPEG XL encoding in the browser needs a lot of memory, so on phones and tablets smaller images may fail too. 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, and the APNG is decoded by the page itself, so it doesn't depend on the browser's APNG support. 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.
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. A kept animation plays in the comparison if your browser can show animated JPEG XL; for separate frames, the first saved frame is compared and the preview shows all frames.
How do I know which APNG 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(s), dimensions, sizes, quality (or Lossless), effort and the number of frames. Show as List displays the same "from → to" list right on the page.
Why was my .png file rejected?
Because it isn't a PNG inside, or the PNG data is damaged beyond reading. A file name can say .png while the content is something else — most often a GIF, a JPG or a WebP that was saved or renamed with the wrong extension. Sakarto reads the file's own header, skips such files and tells you which format they really are, so you can use the matching converter instead.
Why does the saved frame look different from the picture I see in a plain image viewer?
Some APNG files contain a "default image" that only programs without APNG support show; the animation itself starts with its own first frame, and Sakarto uses that. Also, many frames only store the part that changed — Sakarto lays every frame on the full canvas the way the animation shows it at that moment.
Can it read 16-bit, palette and interlaced PNG files?
Yes. All PNG colour types are supported — grayscale, RGB, palette (with transparency), and grayscale or RGB with an alpha channel — in 1 to 16 bits per channel, interlaced or not. Pictures with 16 bits per channel are reduced to 8 bits.