image tool
Convert an image
Picking a format is a trade, and no other converter shows you the trade. Drop a file and it is encoded in every format this browser can write, so you choose from real numbers measured on your own picture rather than from a rule someone told you once.
Runs on your device. Nothing is uploaded.
Loading the tool…
How to use it
- 1
Drop the images
Every format the browser can write is encoded straight away, so the sizes appear without you pressing anything.
- 2
Read the cards
Each one shows the real size on your picture, how that compares with the original, and whether it keeps transparency.
- 3
Pick one
The whole card is the button. The primary button at the bottom renames itself to the format you chose.
- 4
Decide about transparency
If you choose JPEG, the colour behind transparent pixels is set in the advanced options. White is the default rather than black.
- 5
Convert and download
Every image goes through the same choice, and each row shows what it became with its own save button.
Priced before you choose, not after
Converters normally make you pick a format, wait, and then find out what it cost. That is backwards, because the size is the whole reason you are choosing. Here the same pixels are encoded in each available format as soon as the file lands, and the cards carry the measured bytes. On a photograph WebP usually wins by a wide margin. On a flat graphic PNG often wins outright, and seeing that is more convincing than being told it.
The transparency trap
JPEG has no alpha channel, so converting a transparent logo to JPEG has to put something behind the transparent pixels. The default in a surprising number of tools is black, which is why a logo exported to JPEG comes back with a dark box around it. Here the substitution is deliberate: the cards say which formats keep transparency, and the colour used for the ones that cannot is yours to set, defaulting to white.
HEIC, and why your iPhone photos will not open
Apple cameras write HEIC by default because it is roughly half the size of the equivalent JPEG. Only Safari 17 and later can decode it, and browser vendors have said the licensing and complexity make it expensive to support. So a HEIC dropped into Chrome cannot be read here, and the tool says so with the way out rather than failing silently: on the iPhone, Settings, Camera, Formats, Most Compatible makes the camera write JPEG instead.
Your image never leaves the page
The file is read by your browser and drawn onto a canvas in this tab. There is no upload, no account and no server to store anything, which you can confirm in your browser's network tab: choose a file and watch nothing happen. That matters for the ordinary case where the picture is a product shot before launch, a screenshot with customer data in it, or somebody's photograph you were trusted with.
Limits
- Only the formats this browser can write are offered. PNG and JPEG everywhere, WebP nearly everywhere, AVIF nowhere.
- HEIC from an iPhone opens only in Safari 17 and later. Chrome, Edge and Firefox cannot decode it at all.
- An animated GIF converts to a still picture of its first frame.
- SVG is not raster, so it has no pixel size to convert. The SVG to PNG tool handles that and asks you for a size.
- EXIF, GPS and colour profiles are not carried into the result.
What it does not do
- It does not convert to SVG, which would mean tracing the picture into shapes rather than re-encoding it.
- It does not convert PDFs, TIFFs or camera raw files, because no browser can decode them.
- It does not build a zip. Files save one at a time.
Questions people ask
Which format should I use on the web?
WebP, unless something downstream refuses it. It is smaller than both PNG and JPEG at comparable quality and every current browser displays it. The cards on this page settle it for your specific picture, which matters because the general rule breaks on flat graphics, where PNG often produces the smallest file of the three.
Why did my transparent logo turn black somewhere else?
Because JPEG cannot store transparency, and whatever tool you used filled those pixels with black without asking. Here the fill colour is a setting, defaulting to white, and the cards mark which formats keep an alpha channel. If the logo has to sit on different backgrounds, keep it as PNG or WebP and do not convert it at all.
Why is AVIF not offered?
Because no browser can write one. Every current browser displays AVIF, but encoding is not exposed by the canvas API in any of them, so a tool that offers it has to ship a compiled encoder weighing megabytes. This page asks the browser what it can encode and shows only that, so if the situation changes the option appears on its own.
Can I convert an animated GIF?
Only its first frame. A canvas holds one frame at a time, and PNG, JPEG and WebP as written here are still images, so the animation is lost by definition. If you need a moving file, that is a video conversion rather than an image one, and it is a different job with different tools.
Does converting reduce quality?
Converting to PNG does not, because PNG is lossless. Converting to JPEG or WebP re-encodes and therefore loses a little, though at the default quality it is rarely visible. What does hurt is converting a lossy file to another lossy format repeatedly, since each pass adds its own artefacts on top of the last.
What happens to the EXIF and location data?
It is dropped. The picture is decoded and redrawn onto a canvas, which holds pixels and nothing else, so camera settings, GPS coordinates, colour profiles and comment blocks do not reach the output. The page tells you roughly how much of that the source was carrying, so you can see what was removed.
Can I convert several files at once?
Yes, up to twenty four. They all take the same format and quality, and the sizes on the cards are measured on the first one as a guide. Each file appears as its own row with the format it came from, the format it became, and a button to save it again without repeating the conversion.
Put the image in a document
Take what you made here into documents.
Create a document with OneCraftRelated tools
- Image compressorCompress to WebP or JPEG and compare the result against the original under a divider you drag. Or ask for a size in KB. Nothing is uploaded.
- Image resizerResize a batch of images to an exact width, height or percentage. Fit, fill or stretch, with a stepped downscale that keeps detail. Nothing is uploaded.
- Image to base64Turn an image into a data URI for CSS, HTML, Markdown or JSON, with the character count, the gzipped cost, and a verdict on whether it should be inlined.
- Image colour changerTap a colour in the image, pick its replacement, and see a mask of exactly which pixels change. Runs on your device, so the artwork is never uploaded.
Written and checked by the OneCraft team. Last checked .