About this tool
This converter turns JPG (JPEG) photos and images into PNG files, or into WebP if you prefer, directly in your browser. Add one image or a batch of up to 30, convert them in one go and download each file or everything as a ZIP. The pixel dimensions stay exactly the same, and the files never leave your device.
PNG is a lossless format: once an image is saved as PNG, editing and saving it again adds no new compression artifacts. That makes it a good working format for screenshots, diagrams, logos and images you plan to edit, and some upload forms and programs accept only PNG. Converting a JPG to PNG cannot bring back detail that JPEG compression already removed, and photos usually become larger as PNG, so choose WebP when you want a smaller file for the web.
How it works
Choose or drop your images; JPG, PNG, WebP, GIF, BMP and AVIF files are accepted. PNG is preselected as the output on this page, but you can switch to JPG or WebP. Select Convert, then download each result with its own button or use Download all to save a single ZIP file. The list shows each image's dimensions and its file size before and after conversion.
Each image is decoded by the browser, drawn onto a canvas at its original width and height, and encoded again in the chosen format. PNG output is lossless and keeps any transparency. WebP and JPG output use the quality slider: higher values keep more detail and produce larger files. Changing the format, quality or background marks finished files for conversion again, so a download always matches the current settings.
Example
A 4032 × 3024 phone photo saved as a 3.1 MB JPG stays 4032 × 3024 as a PNG, but the file often grows to four or five times the size, around 12 to 16 MB, because PNG stores every pixel without lossy compression. The same photo converted to WebP at 80% quality typically comes out at 1 to 2 MB.
A 1200 × 630 JPG banner with flat areas of color and text might be 180 KB; as a PNG it could be anywhere from 250 to 600 KB. If you need a smaller file, WebP is usually the better target, while PNG is the safe choice for editing or for software that only accepts PNG.
Assumptions and limits
Inputs can be JPG, PNG, WebP, GIF, BMP or AVIF, each up to 20 MB, 40 megapixels and 8192 pixels per side, with up to 30 files per batch. The output keeps the original dimensions. EXIF data (camera, location, date), color profiles and animation are not carried over; animated files keep their first frame. JPG and WebP quality ranges from 10% to 100%. Very large images can fail on phones and tablets, where browsers limit canvas memory. Conversion uses the browser's own encoders, so file sizes vary slightly between browsers.
Frequently asked questions
Are my images uploaded to a server?
No. The images are read, converted and saved entirely in your browser. Nothing is sent to CalcRobin or anywhere else, and the converted files exist only until you reset or close the page.
Does converting JPG to PNG improve the quality?
No. The PNG preserves exactly what is in the JPG, including any blur or blocky artifacts from JPEG compression. It prevents further loss when you edit and save again, but it cannot restore detail that was already discarded.
Why is my PNG larger than the JPG?
JPEG discards fine detail to keep photos small, while PNG stores every pixel losslessly. For photographs this usually makes PNG files several times larger. For a smaller file that still looks good, choose WebP as the output.
Can I make the background transparent?
Converting to PNG keeps transparency that already exists, but a JPG never contains transparency, so its background stays as it is. Removing a background needs an image editor or a background-removal tool.
Can I convert several files at once?
Yes. Add up to 30 images, convert them together and download them one by one or as a single ZIP. Files with the same name get a number added, such as photo (2).png, so nothing is overwritten inside the ZIP.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
formatConvert to | one of: png, jpeg, webp | default png |
quality_pctQuality | percent: 6.5 means 6.5%; allowed 10–100 | default 90 |
backgroundBackground for transparent areas | colour: hex without # (3b82f6) or a CSS name | default ffffff |
Examples
?format=webp&quality_pct=80?quality_pct=75&background=000000
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="converted-images"]