Image Converter
Convert an image between JPG, PNG and WebP — for example JPG to PNG, PNG to JPG, or anything to WebP. For JPG and WebP you can also set an exact target size in KB. Processing happens on your device — the image is never uploaded.
Want finer control, like a maximum width? Try the Image Compressor →
How This Image Converter Works
Every image format stores the same picture in a different way, and converting between them means decoding the picture once and writing it out again under a different set of rules. This converter does that entirely inside your browser. When you choose a file, your browser reads it locally and draws it onto a canvas — a temporary, full-resolution copy of the image held in memory. When you pick an output format, the browser re-encodes that canvas as a PNG, a JPG or a WebP and hands the new file straight back to you as a download. Nothing is uploaded to a server, which is why the conversion is instant and why it is safe for personal photos, screenshots and documents.
Two details are handled for you automatically. First, transparency: PNG and WebP can store see-through areas, but JPG cannot, so when you convert to JPG any transparent parts are placed on a clean white background — the standard behaviour you would expect from a photo. Second, quality: JPG and WebP use lossy compression, so a quality slider appears for those formats and lets you trade a little fine detail for a much smaller file. PNG output is always lossless, so no slider is needed.
JPG vs PNG vs WebP: What Each Format Actually Does
JPG (also written JPEG) is the world's default photo format. It shrinks files aggressively by discarding fine detail your eyes are unlikely to miss, which is why a 5 MB camera photo can become a few hundred kilobytes. The costs are that it has no transparency, and its simplification is permanent — every re-save at low quality softens the image a little more. It is poor at sharp edges, so text and logos saved as JPG often grow fuzzy halos.
PNG is lossless: every pixel is stored exactly, so screenshots, logos, diagrams and images with text stay perfectly crisp, and transparency is fully supported. The price is size — a photograph saved as PNG can be five to ten times larger than the same photo as JPG, because real-world photos contain millions of slightly different colours that lossless storage cannot squeeze.
WebP is the modern middle path, developed by Google. It can behave like JPG (lossy, small, ideal for photos) or like PNG (lossless, with transparency), and in both modes it usually produces smaller files than the older format doing the same job — often 25–35% smaller than an equivalent JPG. Support is now broad across modern browsers and phones, though an occasional old program or platform still cannot open WebP, which is exactly when a converter like this one earns its keep.
When to Use Each Format
Choose JPG for photographs you will email, upload to a form, or share on platforms that do not accept WebP — it is the most universally accepted format of all. Choose PNG when the image has a transparent background, contains text or sharp line art, or will be edited again later and must not lose quality. Choose WebP for your own website or anywhere file size and loading speed matter most and your audience uses modern browsers. If a destination rejects WebP, converting back to JPG or PNG takes seconds here.
Worked Example
An online seller receives product photos from her supplier as PNG files of about 4 MB each. Her marketplace loads listings slowly and recommends JPG uploads, so she opens each photo here, selects JPG at quality 90, and downloads the result: roughly 550 KB per photo, visually identical on a product page, and uploaded in a fraction of the time. The reverse journey is just as common — a website owner converts her JPG blog images to WebP and cuts her page weight by a third, while a student who downloaded a WebP image that his presentation software refuses to open converts it to PNG and carries on.
Two Honest Warnings
First, converting to JPG removes transparency for good in that copy: a logo's clear background becomes white, and converting the JPG back to PNG afterwards will not bring the transparency back — the information is gone, so keep your original PNG. Second, converting a JPG to PNG does not improve its quality. The PNG is a perfect, lossless copy of the image exactly as the JPG stored it, softness and all; it will usually be a much larger file with no extra detail. PNG makes sense as a destination when you need transparency support for editing or a format a particular program demands — never as a way to "upgrade" a photo.
Converting to an Exact File Size
Upload forms often demand not just a format but a size: "JPG, under 500 KB". For JPG and WebP output, this converter handles that directly. Switch the size mode from Quality to Target size (KB), type the limit (or tap a preset chip — 100 KB, 200 KB, 500 KB, 1 MB), and press Convert to Target Size. The tool searches for the highest quality that lands at or just under your target; if even the lowest quality is too big, it progressively reduces the dimensions as well, and the result note tells you honestly what was achieved — including if the dimensions had to shrink. PNG output deliberately has no target mode: PNG is lossless, so there is no quality dial to turn, and pretending otherwise would be dishonest. For PNG the before-and-after sizes are still shown, and if a PNG must be smaller, the honest routes are resizing it or choosing JPG/WebP.
Tips for Best Results
Keep the original file whenever a conversion is lossy — work on copies, because detail discarded by JPG or lossy WebP cannot be recovered. For JPG and WebP output, quality 85–92 is the sweet spot for photos: far smaller files with no visible difference on screen. If your real goal is a smaller file rather than a different format, our Image Compressor adds finer control such as a maximum width. And if you need several images gathered into one document, convert them here first if needed, then combine them with our JPG to PDF tool.
Frequently Asked Questions
Is my image uploaded to a server?
No. Conversion happens in your browser on your own device. Your image is never transmitted, stored or viewed by us.
Why did my transparent image get a white background?
That happens when you convert to JPG: the format simply has no way to store transparency, so transparent areas are placed on white. Convert to PNG or WebP instead if you need the transparency kept.
Does converting JPG to PNG improve the quality?
No. The PNG faithfully copies the image exactly as the JPG stored it — it cannot restore detail the JPG discarded, and the file will usually be much bigger. Convert to PNG only when you need its features, such as transparency support for further editing.
Which format gives the smallest file?
For photos, WebP is usually smallest at the same visual quality, with JPG close behind. PNG is almost always the largest for photos, but it is the right choice for crisp graphics, text and transparency.
Can I convert to an exact size, like 500 KB?
Yes — for JPG and WebP output. Choose the format, switch to Target size (KB) mode, enter 500 or tap the 500 KB chip, and press Convert to Target Size. The tool finds the highest quality that fits at or under your target, shrinking the dimensions too if quality alone is not enough, and reports the achieved size. PNG has no target mode because it is lossless — there is no quality setting to adjust.