Image Format Converter
Convert, resize, crop and compress images between WebP, JPEG, PNG, AVIF, GIF, BMP, TIFF and ICO, many at once, on your own device.
- Free, no sign-up
- Runs in your browser
- Sources cited
Images
No images yet. Converted files appear here, ready to download.
Example: A 4,032 × 3,024 photo becomes a 4,032 × 3,024 WebP.
Settings
Presets
Format and qualityWebP
Lower makes smaller files with more visible compression.
Keeps every pixel exactly. Files are larger.
Effort
More effort makes smaller files and takes longer.
Finds the highest quality that fits. 0 is off.
Resize and cropOriginal size
- Original size
- Percentage
- Width
- Height
- Longest side
- Fit within a box
- Fit and pad to a box
- Fill a box (crop)
- Stretch to a box
- No crop
- 1:1
- 4:3
- 3:4
- 3:2
- 2:3
- 16:9
- 9:16
- 4:5
- 5:4
- 2:1
- 1:2
Rotate and flip
Rotate
Background, resolution and names
Fills transparent areas in formats without transparency, and padding.
Off fills transparent areas with the background color.
Use {name}, {n}, {width}, {height} and {format}.
How to use the image converter
Add your images
Drop them on the page, choose them, or paste one from the clipboard. You can add many at once. They are read by your browser and never uploaded.
Start from a preset, or choose a format
Presets cover common jobs: images for the web, the smallest files, email attachments, square social posts, thumbnails, favicons, print and lossless copies. Or pick any of the eight output formats yourself.
Set quality and size
Choose a quality, lossless output, fewer colors for PNG and GIF, or a file size to stay under, and the converter finds the highest quality that fits. Resize by percentage, width, height, longest side or a box, crop to an aspect ratio, rotate and flip.
Check the results
Each image shows its new size, dimensions and how much smaller (or larger) it became. Open Compare to slide between the original and the converted image, at fit size or actual pixels.
Download
Download images one at a time, or all of them as one ZIP file. File names follow a pattern you can change, such as {name}-{width}w.
How the converter works
Your browser decodes each image on your device. Photos are turned the way the camera recorded: MDN describes this as orienting the image “according to EXIF orientation metadata, if present”. The converter then crops, resizes, turns and flips the image in one drawing step on a canvas, inside a Web Worker so the page stays responsive, and encodes the result.
| Format | Compression | Transparency | Good for |
|---|---|---|---|
| WebP | Lossy or lossless | Yes | Web images of every kind |
| AVIF | Lossy or lossless | Yes | The smallest photos |
| JPEG | Lossy | No | Photos anywhere |
| PNG | Lossless, optionally with a reduced palette | Yes | Graphics, screenshots, logos |
| GIF | Palette | On or off | Simple graphics for older software |
| BMP and TIFF | Uncompressed | Yes | Older software, print and archiving workflows |
| ICO | PNG images inside | Yes | Favicons and Windows icons |
MDN’s image format guide notes that “JPEG does not support an alpha channel”, so transparent areas are filled with the background color you choose. It also says that “generally, AVIF has better compression than WebP”, and that PNG “is preferred over JPEG for more precise reproduction of source images, or when transparency is needed”. Inside an ICO file, MDN explains, each icon “can be either a BMP image without the file header, or a complete PNG image”; the converter writes PNG icons.
WebP, JPEG and AVIF are encoded with WebAssembly builds of libwebp, MozJPEG and libavif from the jSquash project, which are loaded only when you choose those formats. PNG, BMP, TIFF and ICO are written by ObjectiveLine’s own code, and GIF by the gifenc library. PNG images with 256 colors or fewer are stored as an exact palette, which is lossless and smaller; “Smallest” effort also runs the oxipng optimizer.
Formats have size limits. Google’s WebP FAQ states that “the maximum pixel dimensions of a WebP image is 16383 x 16383”, and MDN gives 256 × 256 pixels as the largest ICO image. The converter tells you when a result would be larger than its format allows.
A file size target works for lossy formats: the converter tries qualities by halving the range each time, keeps the highest quality that fits, and tells you when even the lowest does not. A resolution such as 300 dpi does not change any pixels. In PNG it is written to the pHYs chunk, which the PNG specification says “specifies the intended pixel size or aspect ratio for display of the image”, and in JPEG, BMP and TIFF to their own resolution fields, so print software knows how large to print.
Converting through a canvas keeps the pixels and drops other metadata, such as the camera model, the time the photo was taken and its GPS location. That protects your privacy when you share the converted file.
Worked example: one photo, every resize mode
Take a 12.2-megapixel photo, 4,032 × 3,024 pixels. With the Web preset, its longest side becomes 2048 pixels, so it is scaled to 50.8% and becomes 2,048 × 1,536. Turned a quarter first, the same preset gives 1,536 × 2,048, because width and height swap.
| Mode | Result (pixels) |
|---|---|
| Percentage | 2,016 × 1,512 |
| Width | 1,080 × 810 |
| Height | 1,440 × 1,080 |
| Longest side | 1,080 × 810 |
| Fit within a box | 1,080 × 810 |
| Fit and pad to a box | 1,080 × 1,080 |
| Fill a box (crop) | 1,080 × 1,080 |
| Stretch to a box | 1,080 × 1,080 |
Cropping to a square from the center keeps the middle 3,024 × 3,024 pixels, starting 504 pixels from the left edge, and resizing that to 1,080 pixels wide gives 1,080 × 1,080. Filling a 1600 × 900 box crops the photo to 4,032 × 2,268 first, cutting 378 pixels from the top and the same from the bottom, so nothing is stretched. With a size target, finding the quality takes at most 7 encodes.
Understanding the results, and common mistakes
- Smaller or larger
- The change in file size from your original. Converting an already compressed photo to PNG, BMP or TIFF usually makes it larger, because those formats keep every pixel.
- Quality
- Shown when a size target chose it. Lower qualities make smaller files with more visible compression, such as blockiness or smudged detail.
- Notes
- What happened that you may not expect: enlarging, filled transparency, padding, stretching, or a size target that could not be met.
- Saving a photo as PNG to “keep quality”. A photo that was a JPEG keeps its compression artifacts, and the PNG is several times larger. Use a high JPEG, WebP or AVIF quality instead.
- Saving a logo or screenshot as JPEG. Sharp edges and text get fuzzy halos. Use PNG or lossless WebP.
- Losing transparency. JPEG cannot store it, so transparent areas become the background color. Keep PNG, WebP or AVIF for images with transparency.
- Enlarging small images. Scaling up cannot add detail; it only blurs. “Allow enlarging” is off by default.
- Stretching instead of cropping. To fit a fixed size without distortion, use “Fill a box” or “Fit and pad”.
- Re-compressing again and again. Each lossy save loses a little more. Convert from the original when you can.
Frequently asked questions
Are my images uploaded?
No. Images are read, converted and saved by your browser on your device. They never reach ObjectiveLine.
Can it convert iPhone HEIC photos?
Where your browser can read HEIC, yes: Safari on Apple devices can. Other browsers cannot decode HEIC, and the converter says so. On an iPhone, setting the camera format to “Most Compatible” saves JPEG instead.
Which format makes the smallest files?
For photos, usually AVIF, then WebP, then JPEG. For graphics with few colors, a PNG with a reduced palette can be smallest. Try the Smallest preset and compare.
How do I make a favicon?
Choose the Favicon preset. It crops your image to a square and writes an ICO file holding icons of 16, 32, 48 and 256 pixels. You can change the sizes.
How many images can I convert at once?
As many as your device’s memory allows. Images are converted a few at a time in the background, and you can download them all as one ZIP file.
Does it keep the photo’s EXIF data?
No. Camera details, dates and GPS location are removed, and the photo is turned upright using its orientation before that information is dropped.
Why is my PNG larger than the JPEG I started with?
PNG stores every pixel exactly, while JPEG throws detail away. For photos, choose JPEG, WebP or AVIF; or reduce the PNG to fewer colors.
Sources
- Image file type and format guideMDN Web Docs · retrieved Nov 13, 2026
- Window: createImageBitmap() methodMDN Web Docs · retrieved Nov 13, 2026
- WebP: Frequently Asked QuestionsGoogle for Developers · retrieved Nov 13, 2026
- Portable Network Graphics (PNG) Specification (Third Edition)W3C · retrieved Nov 13, 2026
- jSquash: browser image codecs derived from the Squoosh appjSquash project · retrieved Nov 13, 2026
About these results
- Images are converted in your browser. They are not uploaded to ObjectiveLine.
- Converted files have their metadata, such as camera details and GPS location, removed.
- Lossy formats discard some detail. Keep your originals.