Image to PNG
Fig. 02 — Format Conversion
OUTPUT: PNG (LOSSLESS)
Transparency is preserved where the source format supports it (WEBP, GIF, SVG).

How to Convert Any Image to PNG
You’ve got a JPEG, a WebP, a screenshot saved as a HEIC file from your iPhone, or maybe an old BMP that’s been sitting in a folder for years — and now something needs it as a PNG. Maybe a website upload form rejects everything else. Maybe a client simply said “send it as a PNG” and didn’t explain why. Whatever the reason, converting to PNG is one of the most common small tasks in everyday computer use, and it trips people up more than it should, mostly because there are so many ways to do it and not all of them give you the same result.
This guide walks through what actually makes PNG different from other formats, the fastest ways to convert an image without installing anything, how to batch-convert dozens of files at once, and how to build a simple browser-based converter yourself if you want a tool that lives entirely on your own site.
What You’ll Need
- The image file(s) you want to convert, saved somewhere easy to find (desktop, downloads folder, or cloud drive)
- A web browser, for online conversion tools
- Optional: image editing software already installed on your computer (Preview on Mac, Paint or Photos on Windows, GIMP, or Photoshop)
- Optional: a code editor if you want to build a custom browser-based converter
- A few minutes, since even batch conversions of dozens of images typically finish in under a minute
Step 1: Understand Why PNG Is Different
Before converting anything, it helps to know what you’re actually gaining or losing, because this determines whether PNG is even the right choice for your specific file.
PNG (Portable Network Graphics) is a lossless format, meaning it doesn’t throw away image data to save file size the way JPEG does. Every pixel is preserved exactly, which makes PNG the right choice for screenshots, graphics with sharp lines and text, logos, and anything with flat colors or transparency. The tradeoff is file size — a PNG of a complex photograph will almost always be noticeably larger than the same photo saved as a JPEG, sometimes by several times over.
PNG also supports an alpha channel, which is the technical term for transparency. This is the single biggest reason people convert to PNG specifically: JPEG has no way to represent a transparent background, so if you need a logo that sits cleanly on top of any color background, PNG (or a similar format like WebP) is required, not optional.
Knowing this upfront prevents a common mistake — converting a large batch of ordinary photos to PNG “just to be safe,” which needlessly balloons your file sizes without adding any actual benefit, since a photo without transparency needs and rarely gets any benefit from the lossless treatment.
Step 2: Choose Your Conversion Method
There are four realistic paths to converting an image to PNG, and which one makes sense depends on how many files you have and whether you’re willing to install anything.
Built-in operating system tools work well for one-off conversions. Both Mac and Windows can open most common formats and re-save or export as PNG without installing anything extra.
Free online converters are the fastest option when you’re on a device that isn’t yours, don’t want to install software, or need to convert a format your operating system doesn’t natively support (like some camera RAW formats or older, obscure formats).
Dedicated image editing software (GIMP, Photoshop, Affinity Photo) is worth it if you’re already editing the image anyway — cropping, resizing, adjusting colors — since exporting as PNG becomes just the last step of a process you’re already doing.
A custom browser-based tool makes sense if you convert images to PNG regularly as part of a workflow and want something that runs entirely in your own browser tab without uploading files anywhere, which matters if the images are sensitive or you’re converting a large number of them repeatedly.
Step 3: Convert Using Your Operating System’s Built-In Tools
On a Mac, open the image in Preview (the default app for most image files), then go to File > Export, and choose PNG from the format dropdown before saving. This works for nearly every common format Preview can open, including HEIC files straight off an iPhone.
On Windows, open the image in the Photos app, click the three-dot menu, and look for a “Save as” or “Save a copy” option, then choose PNG from the format list. Alternatively, Paint (still built into Windows) can open most image formats and re-save as PNG through File > Save As.
Both approaches are genuinely fast for a single file and require zero downloads, which makes them the right choice for a quick one-off conversion rather than anything happening at scale.
Step 4: Convert Using a Free Online Tool
For a single file or a small handful, an online converter is usually the path of least resistance. The general workflow across nearly every tool of this kind is the same: upload or drag your file into the browser window, wait a few seconds for processing, then download the resulting PNG.
A few things are worth checking before you commit to a specific tool. First, confirm the tool actually processes the conversion locally in your browser rather than uploading your file to a remote server, especially if the image contains anything sensitive — many modern converters do this client-side, but not all of them advertise it clearly. Second, check whether the tool preserves transparency correctly if your source image already has a transparent background (some poorly built converters flatten transparency onto a white background by mistake, which defeats the purpose if that’s exactly why you needed PNG in the first place).
Step 5: Batch Convert Multiple Images at Once
If you’re converting more than a handful of files, doing them one at a time quickly becomes tedious. Most online converters support drag-and-drop of multiple files simultaneously, processing each one and offering either individual downloads or a single zipped folder containing all the converted PNGs.
For very large batches — dozens or hundreds of images — desktop software is usually more reliable than a browser tool, since browser-based batch processing can slow down or time out with too many large files at once. GIMP includes a Script-Fu batch conversion option under Filters, and Photoshop has a built-in Batch action under File > Automate that can apply a PNG export action across an entire folder automatically.
Step 6: Check the Result Before You Use It
Once converted, open the resulting PNG and actually look at it before uploading or sending it anywhere. Two issues show up often enough to be worth a specific check.
First, verify transparency looks right if your source image needed it — open the PNG over a colored or patterned background (many image viewers and editors show a checkerboard pattern behind transparent areas) to confirm the background is actually see-through rather than solid white or black.
Second, check the file size. If a simple screenshot or logo converted to an unexpectedly enormous PNG, it may be worth running it through a PNG-specific compression tool afterward, since PNG’s lossless nature means file size can balloon with complex images even though the visual quality itself is preserved perfectly.
Tips
- Keep your original file. PNG conversion is generally safe and lossless from most source formats, but keeping the original protects you if you ever need to convert to a different format later or discover an issue with the converted version.
- Compress large PNGs after converting using a PNG-specific optimization tool if file size matters (for web use, email attachments, or upload limits) — this can often shrink file size by 50% or more with no visible quality difference.
- Rename files as you batch convert to avoid confusion, especially if your batch tool doesn’t preserve original filenames or appends generic names like “image1.png” to everything.
- Double-check color profiles if you’re converting professional or print-destined images, since some converters strip embedded color profile data by default, which can shift colors slightly when the file is opened elsewhere.
- Test transparency on multiple backgrounds before finalizing a logo or graphic — a transparent PNG that looks perfect on a white page can reveal unexpected edge artifacts on a dark or colorful background.
Troubleshooting Common Issues
My converted PNG has a white background instead of transparency. This usually means either the original image never had transparency to begin with (a flattened JPEG can’t regain transparency it never had), or the converter tool flattened it automatically. Try a different tool and confirm the source file supports transparency before conversion.
The PNG file is much larger than I expected. This is normal for complex, photo-like images, since PNG’s lossless compression doesn’t discard detail the way JPEG does. If size matters more than perfect pixel accuracy, consider whether JPEG or WebP might actually be the better format for that particular image.
My batch conversion only processed some of the files. Very large batches can time out in browser-based tools, especially with large image files. Try splitting the batch into smaller groups, or switch to desktop software with a proper batch-processing feature for anything beyond twenty or so files.
Colors look slightly different after conversion. This is often caused by a stripped or mismatched color profile. Check whether your conversion tool offers an option to preserve the embedded color profile, or use software that explicitly supports profile-aware conversion, like Photoshop or GIMP.
My custom browser-based converter isn’t working for large images. Very large source images can hit browser memory limits when drawn onto a canvas. Consider adding a maximum file size check or resizing the image before it’s drawn onto the canvas if you expect visitors to upload very high-resolution files.
Wrapping Up
Converting an image to PNG is a simple task on the surface, but understanding what PNG actually does differently — lossless compression and transparency support — helps you make better decisions about when it’s actually the right format, and avoid needlessly bloating file sizes when it isn’t. Whether you use a built-in operating system tool for a one-off conversion, an online converter for convenience, dedicated software for a large batch, or build your own lightweight browser-based tool for full control, the underlying goal is the same: get a clean, accurate PNG without losing anything from the original image along the way.
Frequently Asked Questions
1. Does converting to PNG reduce image quality? No, as long as the source format itself wasn’t already lossy in a way that degraded quality before conversion. PNG is lossless, meaning the conversion process itself doesn’t discard any pixel data. However, converting from an already-compressed JPEG won’t restore detail that JPEG’s compression already removed.
2. Why is my PNG file so much bigger than the original JPEG? JPEG uses lossy compression that discards some image detail to shrink file size significantly, while PNG preserves every pixel exactly. This makes PNG files inherently larger for complex, photo-like images, even though the visual quality is arguably “better” in a technical sense.
3. Can I convert a PNG back to JPEG later? Yes, though be aware that converting to JPEG will apply lossy compression and, if the PNG has transparency, that transparent area will need to be filled with a solid color (usually white) since JPEG doesn’t support transparency at all.
4. Do I need special software to convert HEIC files from an iPhone to PNG? Not necessarily. Both Mac’s Preview app and many free online converters support HEIC files directly. If you’re on Windows and running into compatibility issues, installing the free “HEIF Image Extensions” from the Microsoft Store can help your system read HEIC files natively.
5. Is it safe to use free online image converters? Generally yes, for non-sensitive images. For anything private or confidential, look specifically for tools that state they process files locally in your browser rather than uploading them to a server, or use offline software instead.
6. What’s the difference between PNG-8 and PNG-24? PNG-8 uses a limited palette of up to 256 colors, resulting in smaller file sizes and is well-suited to simple graphics or icons. PNG-24 supports millions of colors and full transparency gradients, making it the better choice for photos or complex graphics, at the cost of a larger file size.
7. Can I convert multiple different image formats to PNG in one batch? Yes, most batch conversion tools and desktop software can handle a mixed folder of formats (JPEG, WebP, BMP, HEIC, etc.) in a single batch job and will convert each one to PNG regardless of its original format.
8. Will converting an image to PNG make it print better? Not automatically. Print quality depends primarily on resolution (pixel dimensions) and color profile, not file format. Converting a low-resolution JPEG to PNG won’t add detail that wasn’t there to begin with — it simply preserves whatever resolution and detail already existed in the source file.

4 Comments