This PNG to JPG widget gives your visitors a one-step way to turn PNG images into JPG files on your own website. It is the simplest fix when a form, marketplace or printer accepts only JPG, or when a PNG photo is far too heavy. Visitors drop their PNG files, choose a quality and background colour if they like, and download light JPGs. Paste the code once and the converter is yours to offer for free.
Live preview – this is the real widget. Try it.
Customise your widget
The widget grows and shrinks to fit its content automatically, so visitors never see a scroll bar inside it.
Free forever. No sign-up, no API key, no ads inside the widget. Paste it into any page (WordPress: Custom HTML block).
What the PNG to JPG widget does
The widget is our PNG to JPG converter, made to do one job quickly. Visitors do not need to choose a format or understand settings, but the options are there when they need them:
- Quality set to 92 by default for sharp JPGs, adjustable for smaller files.
- A background colour for transparent areas: white by default, or any colour.
- Many PNG files at once, with ZIP download.
- Paste an image straight from the clipboard with Ctrl+V.
- JPG files that are usually 50–80 percent smaller than the PNG photo.
The difference between PNG and JPG, and why JPG fills transparency with a colour, is explained on the PNG to JPG tool page. Your widget lets readers convert their files without leaving your site.
Who should add a png to jpg widget to their website
The widget suits any site where visitors are told “please upload a JPG”. Typical examples:
- Design and printing blogs – many print services ask for JPG. A post about preparing artwork can include the converter right under the file rules.
- E-commerce seller help pages – sellers exporting product shots as PNG can convert them before uploading to a marketplace that wants JPG.
- Marketplace listing guides – classified and listing sites can reduce failed uploads by placing the converter on the “add photos” help page.
- Upload pages that only accept JPG – exam portals, job sites and HR systems can add it beside the upload field.
- Screenshot-heavy help desks – support sites can help users turn large PNG screenshots into smaller JPGs before attaching them to a ticket.
How your visitors use it
- The visitor drops PNG files into the widget, clicks Choose PNG files or pastes an image.
- Optionally, they change the quality or the background colour.
- Each image converts at once and shows its new size.
- They download the JPGs one by one or all together as a ZIP.
How to add the PNG to JPG widget to your website
Set the colour and size in the box above, click Copy code, then paste the code where the PNG to JPG widget should appear. It is plain HTML (an iframe, one credit line and a tiny height script), so you need no account, API key or plugin.
| Platform | Where to paste the code |
|---|---|
| WordPress | Add a Custom HTML block and paste. Elementor: HTML widget. Classic editor: Text tab. |
| Blogger | Post editor in HTML view, or Layout › Add a Gadget › HTML/JavaScript for every page. |
| Wix | Add › Embed Code › Embed HTML, paste, then set the box height yourself (about 650–750 px). |
| Shopify | Online Store › Pages › Show HTML (<>), or a Custom Liquid section in the theme editor. |
| Google Sites | Insert › Embed › Embed code, then drag the box tall enough for the whole tool. |
| Any HTML site | Paste anywhere inside <body>. No jQuery or other library needed. |
Where to put it: Place it just below the sentence “please upload JPG files only” in your guide. Put it right next to your upload field so visitors can convert and upload in one go. To remove the widget later, simply delete the code.
Customise the PNG to JPG widget
| Setting | Options | Tip for the PNG to JPG widget |
|---|---|---|
| Button colour | Any colour (colour picker) | Choose your brand colour; it marks the buttons and the selected options. |
| Maximum width | 760 px (recommended), 600 px, 480 px for sidebars, or full width | 600 px is often enough for this simple tool. 480 px works in sidebars. |
| Starting height | 480, 560 (recommended) or 680 px | 480–560 px fits the empty widget well; it grows with the file list. |
Size and mobile
Being one of our simplest widgets, it works well even in narrow spaces such as blog sidebars and mobile screens. The drop area turns into a large tap target on phones, and the file list stacks below it. The iframe never gets wider than your column and resizes its height automatically as files are converted.
Light on your page and always up to date
The iframe uses lazy loading, so the browser only loads the widget when a visitor scrolls near it. Inside the widget there are no ads, no analytics and no tracking scripts. The converter needs no extra libraries at all; PNG to JPG uses the browser’s own image tools. That makes it one of the lightest widgets you can add to a page.
When we improve the converter, such as faster batch handling or better colour handling, the change arrives in your widget automatically. There is no plugin to update and no new code to paste.
When the PNG to JPG widget is not the right fit
- JPG cannot store transparency. For logos and icons that must keep a see-through background, keep PNG or use the Image Converter widget to make a WebP.
- For converting other formats, such as HEIC or WebP, the Image Converter widget is the better choice.
- If visitors need a fixed size in KB, the Resize Image in KB widget is more suitable than a plain conversion.
- On Wix and Google Sites the widget cannot resize itself, because those builders keep embedded code in a closed frame. Set a fixed height there.
Privacy for your visitors
PNG files are converted inside the visitor’s browser and never uploaded to our server or yours. Screenshots often contain private information, such as emails or account details, so this makes the widget safe to recommend. There is no account, no cookie and no advertising inside it.
Is the PNG to JPG widget free?
Yes. It is free for any website with no limits, no sign-up and no API key. Just keep the small credit line under it.
What happens to transparent backgrounds?
JPG cannot store transparency, so those areas are filled with white, or with any colour the visitor picks.
Can visitors convert many PNGs at once?
Yes. They can add many files and download all the JPGs in one ZIP.
Are the images uploaded?
No. The conversion runs in the visitor’s browser and nothing is sent to a server.
Will it slow down my page?
No. It is lazy-loaded, uses no extra libraries and contains no ads or trackers.
Can it go in a sidebar?
Yes. Choose 480 px as the maximum width; the widget fits narrow spaces well.
Does it work on phones?
Yes, in all modern browsers on Android and iPhone.