ConvertPicturesConvertConvert a photo

Convert pictures online · advanced picture converter

Open pictures in any mix of formats: each is written as JPEG, PNG and WebP, measured against its source, and saved in the format its own numbers earn — or the one you set, per file or per kind of file.

85 tools in one picture converter

Counted from the converter’s own tool list. Everything below runs in this tab: the decoders, the encoders, the measuring and the files you save.

The converter showing a coffee photo in split view with the format size matrix
The converter with a coffee-bean photograph open: the size matrix, the split stage and the verdict.

Every format, measured on your picture

Each file is written as JPEG, PNG and WebP — AVIF too where this browser can — with each encoder searched until its file measures close to the original. The matrix shows the real size of every one, and the verdict names the smallest that met the bar, or tells you to keep the file you have.

Difference map highlighting where the JPEG differs from the original photo
Difference map on a JPEG written at a fixed quality of 40, against the original.

See what the smaller file gave up

Split the stage with a divider, flicker between the two, or switch on the difference map, which brightens every pixel the encoder changed. Compare the result with the original or with another format's file, at up to 800 per cent.

Signpost photo as a full colour PNG beside a 32 colour PNG
The same signpost photograph as full-colour PNG and as indexed PNG at 32 colours, both written here.

Indexed PNG when the colours allow it

Pick a palette of 256 colours or fewer and PNG files are written by this site's own indexed PNG writer, dithered or not. Flat artwork shrinks a lot; a photograph shows its banding — and the measured score says so before you save.

The converter with several files and the batch rules panel open
Four files with batch rules on: the JPEGs are left alone, the PNG becomes WebP, the GIF becomes PNG.

One rule per kind of file

In a mixed batch, each input format can go its own way: WebP and AVIF to JPEG, PNG to WebP, JPEGs left exactly as they are. A pin on one file outranks its rule, and the original wins whenever the new file would not be smaller.

Three frames of a heron in flight saved as separate JPEG files
First, middle and last frame of an animated heron GIF, each saved as JPEG by the converter.

The frame you want from a GIF

Every output here is a still, so one frame is written — the first, the middle or the last, read from the GIF by this site's own frame reader. Or leave animated files out of the batch altogether.

Desk photo cropped to 1200 by 630 beside the same photo turned upright
A desk photograph saved at exactly 1200 × 630, and the same photograph turned a quarter to the right.

Exact sizes and quarter turns on the way

Shrink by long edge, width, height, percent or to fit a box — or cut an exact size such as 1200 × 630 from the centre. Turn or mirror files whose orientation tag was wrong. Nothing is ever enlarged.

The converter's tags panel with copyright and pixels per inch filled in
The tags panel with an artist, a copyright line and 300 pixels per inch set; the contract line names all three.

Write in only what you choose

Artist, copyright and pixels per inch go into JPEG, PNG and WebP when you ask; camera details can come along from a JPEG; GPS never does. The contract line above Save lists everything that will be in the file.

The routines panel with the Web upload routine applied
The routines panel after “Web upload”, with a gerbera photograph: WebP, long edge 2048, names with the width.

Routines for the jobs you repeat

Six starters — web upload, email batch, photo archive, screenshots and logos, print hand-off, phone photos to JPEG — each set the format, quality bar, size, transparency, tags and rules in one press. Save your own; it stays in this browser.

Drop one picture or a mixed folder. Every file is written into each format this browser can encode, measured against its source, and handed back in the one its own numbers earn — or in the one you pick.

What the bench does

Most format advice is written about somebody else’s picture. An article that says WebP is twenty-five per cent smaller than JPEG is reporting an average over a corpus that does not contain your file, and averages are a poor guide to a decision about one photograph of one thing in one light.

So this runs the comparison on your file instead. It decodes it once, then writes it into each candidate format, searching that encoder’s own quality parameter until the result measures within the distance you asked for. What comes back is the size of the file that search produced, which is a fact rather than an estimate.

The download is the last and cheapest step. If the numbers say your original is already the best version of itself, the page says so and there is nothing to save — which is the one outcome a converter is least inclined to suggest and the most useful one it has.

Reading the results

The matrix on the left has a row for every file and a column for every format this browser can write. Each cell is the length of the file that encoder actually produced, with a bar against the largest in the row; the filled cell is the one the file will leave as. Click any cell — or move to it with the arrow keys and press Enter — to pin that format for that one file.

The Result panel carries the rest of the numbers for the file on the stage. Setting is the quality the search landed on — a result, not a knob you set, unless you switched quality to Fixed. Measured is how close the produced file is to your source on the structural-similarity scale, where 1.0000 is indistinguishable by that measure. Every note about the file — a name that lies about its format, an animation, a colour profile, a GPS position — is listed under it.

The stage is there because a number can only take you so far. Split puts your original and the converted file on either side of a divider you can drag, zoom goes to 800 per cent, and holding the space bar shows your original for as long as you hold it. What the Result side shows is the converted file itself, so what you judge is what you save.

What it will open

Whatever this browser can decode: JPEG, PNG, WebP, GIF, AVIF, BMP and ICO almost everywhere, TIFF and HEIC where the browser has a decoder of its own — Safari does. The empty converter shows the answer for your browser, tested on the spot, and so does the format support page. The format is worked out from the bytes at the start of the file, never from the name, because a file called photo.jpg is under no obligation to be one. A file that will not open stays in the list, set apart, with the reason.

Some things it deliberately will not do. It does not retouch: the pixels that come out are the pixels that went in, re-encoded — turned, cropped to an exact size, made grey or shrunk on the way out only if you ask. It does not enlarge. A target in kilobytes belongs to one job only — a form that states one — and the form mode handles it, with sourced presets and a pass or fail line for every file.

Very large pictures are offered on a lighter working copy rather than refused outright, and the page says when it is working from one. Anything above the hard ceiling is declined with the actual number in the message.

Questions about formats

Why not just set every encoder to quality 80 and compare?
Because the number means something different in each one. It is an index into that encoder's own internal tables, not a measurement of anything, and equal values produce visibly unequal pictures. This bench searches each encoder's parameter until the file it produces measures within a set distance of your original, then reports the setting it landed on as a result rather than as an input.
What does the measured figure mean?
It is multi-scale structural similarity between the produced file, decoded again, and your source — 1.0000 means the two are identical by that measure and anything lower is further away. It is computed on a 512-pixel reference so the cost does not grow with your file, and it is a statistic, not an eye.
Why is my picture sometimes larger in every format?
Because it was already encoded well. A JPEG that came out of a good encoder is close to what the format can do with those pixels, and putting it through a second encoder adds loss without buying space. When that happens the recommendation says to keep the file you already have, which is the only honest answer available.
Does anything leave this device?
No. The decode, every encode, the scoring and the download all happen in this tab. There is no server behind this site to send a picture to — it is a set of static files and a worker thread.
Why is AVIF greyed out?
Because the browser in front of you has no AVIF encoder of its own, and this site will not send a picture anywhere to borrow one. The option is tested on every visit — a browser whose canvas can write AVIF gets the column and the button. A WebAssembly encoder was measured instead and was too slow to present honestly: 3.3 seconds for one 12-megapixel pass on a fast laptop, and the quality search needs up to seven passes. The reference page has the numbers.
Can I convert a whole folder, and different files to different formats?
Yes. Drop any mix and each file gets a row in the matrix, with the size every format produced for it. Leave the target on Best per picture and each file takes the format its own numbers earn, or choose one format for all of them — and pin a different one on any single file by clicking its cell. The ZIP carries a manifest recording every decision.
What happens to transparency, metadata and animation?
Transparency is kept by PNG and WebP; JPEG cannot hold it, so a transparent file waits for you to pick a matte before a JPEG of it is written. A browser encoder writes pixels only, so by default nothing else goes in; camera details, artist, copyright and pixels per inch are added only when you switch them on, and GPS and XMP never are. Colours are converted to sRGB, and orientation is applied to the pixels first. An animated GIF gives its first, middle or last frame, as you choose; animated WebP and PNG give their first; or animated files can be left out.
My file is a screenshot. Why is JPEG marked as the wrong tool?
Flat colour and hard edges are exactly what a lossy photographic encoder handles worst: it softens the edges and rings around them, and it spends bytes doing it. The bench detects few distinct colours and a high proportion of hard edges, marks JPEG accordingly, and judges the lossless candidates instead.
What is an indexed PNG, and when should I choose one?
A PNG that stores a palette of at most 256 colours and one small number per pixel, instead of three full colour values. Logos, icons, charts and most screenshots use few colours, so they often come out at half the size or less with no visible change. Photographs have far more colours than any palette, and the measured score drops accordingly — the converter shows that number rather than hiding it. Dithering trades a little size for smoother gradients.
Can I set different formats for different kinds of file in one batch?
Yes. Batch rules give each input format its own output — HEIC to JPEG, PNG to WebP, JPEGs left exactly as they are — and a pin on a single file still outranks its rule. Another rule keeps the original whenever the converted file would not be smaller. The manifest in the ZIP lists every rule that was on.
Can it write my name, a copyright line or a print resolution into the files?
Only if you ask. Artist and copyright are written as EXIF text in JPEG, PNG and WebP; pixels per inch goes into the JPEG and PNG density fields and the EXIF resolution tags. Camera details (date taken, camera, exposure) can be copied from a JPEG source. GPS is never written. Every byte added is included in the size the page shows.
What happens to an animated GIF?
Every output format here is a still picture, so one frame is written: the first by default, or the middle or last frame, which this site reads from the GIF itself. You can also leave animated files out of the batch altogether. Animated WebP and PNG are read by the browser, which only hands over their first frame.
What are routines?
Named sets of conversion settings — format, quality bar, size, transparency, what is written into the file and the batch rules — applied in one press. Six come built in (web upload, email batch, photo archive, screenshots and logos, print hand-off, phone photos to JPEG), and you can save your own in this browser. No picture or file name is stored with them.

There is more on the measurement itself in what quality really means, and a reference page for each format with its support table and its failure modes.