Image Converter
Convert, resize, and compress images between PNG, JPEG, and WebP, or copy them as a Base64 data URI — entirely in your browser.
Prefer the terminal? See the CLI equivalent →About the Image Converter
- Convert to WebP, PNG & JPEG
- Resize & quality control
- Instant results
- 100% private — runs in your browser
- Free, no sign-up
This tool converts images between the three formats the web relies on — PNG, JPEG, and WebP — and lets you resize and compress them at the same time. Drop in a photo or screenshot, pick a target format and size, and download the result or copy it as a Base64 data URI to embed directly in HTML or CSS.
Everything happens in your browser using the Canvas API: the image is decoded, redrawn at your chosen dimensions, and re-encoded locally. Nothing is uploaded to a server, which keeps private screenshots and photos private and makes the whole process instant. A useful side effect of re-encoding is that EXIF and other metadata (including GPS location) are stripped from the output.
Choosing the right format matters. PNG is lossless and supports transparency, ideal for logos, icons, and screenshots with sharp edges. JPEG is lossy and best for photographs. WebP usually beats both — smaller files at the same quality, with support for transparency — and is well supported across modern browsers.
How to use it
- Drop an image onto the box, or click to choose a file. Its dimensions, size, and type are shown.
- Pick an output format (WebP, PNG, or JPEG) and, for the lossy formats, drag the quality slider.
- Optionally resize — set a width or height (aspect ratio locks by default) or reset to the original size.
- Compare the original and result side by side, then download the file or copy it as a Base64 data URI / CSS url().
Choosing a format
- PNG
- Lossless, supports transparency. Best for logos, icons, line art, and screenshots.
- JPEG
- Lossy, no transparency. Best for photographs where small size matters more than pixel-perfect edges.
- WebP
- Modern format with lossy and lossless modes plus transparency — usually the smallest for the same quality.
- Quality
- For JPEG/WebP, controls the compression trade-off. ~80% is a good balance of size and fidelity.
Frequently asked questions
Are my images uploaded anywhere?+
No. Decoding, resizing, and re-encoding all happen locally in your browser with the Canvas API. The image never leaves your device — there is no server involved — so it is safe to convert private screenshots and photos.
Does converting remove EXIF / location metadata?+
Yes. Because the image is redrawn onto a canvas and re-encoded, EXIF data — including camera details and GPS coordinates — is not carried over to the output. It is an easy way to strip metadata before sharing an image.
PNG, JPEG, or WebP — which should I pick?+
Use PNG for graphics with transparency or sharp edges (logos, icons, screenshots), JPEG for photographs, and WebP when you want the smallest file — it typically produces noticeably smaller images than JPEG or PNG at equivalent quality and supports transparency.
Why is my JPEG larger than the WebP?+
WebP uses more efficient compression, so for the same visual quality it is usually smaller than JPEG or PNG. If a converted file is larger than the original, lower the quality, reduce the dimensions, or try WebP.
Why can’t I export to AVIF or GIF?+
Browsers can decode many formats but can only reliably encode PNG, JPEG, and WebP via the Canvas API, so those are the export options. You can still load a GIF or other image and convert it to one of these.
Works well with
Image Converter chains with these tools — send your result straight on:
Related tools
Code to UML
Turn TypeScript or Java source into a Mermaid class diagram — classes, interfaces, enums, fields, methods, inheritance, and interfaces — rendered live in your browser.
Color Converter
Convert colors between HEX, RGB, HSL, HSV, and OKLCH, with a picker, alpha, and a WCAG contrast checker — all in your browser.
CSS Unit Converter
Convert between CSS units — px, rem, em, pt, vw, vh, and more — with live visual feedback and a full conversion table.
Encoder / Decoder
Encode and decode text with Base64, URL, and Hex — UTF-8 safe, instant, and fully in your browser.
HEIC to JPG Converter
Convert iPhone HEIC/HEIF photos to JPG, PNG, or WebP — fast, multi-threaded batch conversion entirely in your browser. Nothing is uploaded, and location and metadata are removed by default.
Image Compressor
Fast, multi-threaded image compression — shrink many images at once by quality or to a target file size, with WebP/JPEG output and optional resizing, entirely in your browser.