Responsive image generator
Turn one image into every size a page needs, with the code ready to paste.
Drop one image here
PNG, JPG, WebP, GIF, SVG and more, as many as you like. You can also paste with Ctrl+V or ⌘V.
Use the largest version you have: an image at least 1920 px wide gives every size. JPG, PNG, WebP and more work.
Code options
Describe the image for screen readers and search engines. Leave it empty only if the image is decorative.
The folder you’ll upload the files to, for example /images/. Leave empty if they sit next to the page.
Files are named like image-480w.webp.
Loads this image first instead of lazily, so the largest image on the page appears sooner.
AVIF files are usually even smaller than WebP but take longer to create. The code offers AVIF to browsers that support it.
How it works
- Add one image, ideally at least 1920 px wide.
- Pixlune creates the WebP and JPG sizes right in your browser. Your files are never sent to a server.
- Choose how wide the image appears on your page and add alt text, then copy the code and download the ZIP.
When to use it
Use this on hand-coded sites, static sites or an Elementor HTML widget, where nothing creates image sizes for you. Phones download a small file and large screens a sharp one, so the page loads faster. WordPress already creates its own sizes for images in the media library.
Good to know
Upload all the files to the same folder and set the file path to match it. Pixlune never enlarges images: an image narrower than 480 px gives only its own size.
Questions and answers
- Which sizes are created?
- 480, 768, 1200 and 1920 px wide, each as WebP and JPG. You can also create an AVIF version of each size. Sizes wider than your image are skipped, because Pixlune never enlarges images. If your image falls well between two steps, for example 1000 px, its own width is added as the largest size.
- What does the code do?
- If you created AVIF versions, the <picture> element offers AVIF first, then WebP, and other browsers use JPG. srcset and sizes let the browser pick the smallest file that still looks sharp on each screen, and width and height keep the page from jumping while it loads.
- When should I tick the main image option?
- Tick it for the large image at the top of the page, such as a hero banner. That image is usually the page’s Largest Contentful Paint, so it should load first instead of lazily. Leave it off for images further down.
- What happens to a transparent PNG?
- WebP keeps the transparency. JPG doesn’t support it, so the JPG versions get a white background and the row tells you.
- Are my images uploaded to a server?
- No. Pixlune converts and compresses images in your browser. Your files never leave your device, and nothing is kept after you close the page.
- Is Pixlune free? Are there limits?
- Pixlune is free, with no sign-up and no limit on the number or size of files. The only limit is your device's memory.
About the formats
What is WebP?
WebP is a modern image format from Google that supports lossy and lossless compression as well as transparency. It's usually much smaller than JPG or PNG and works in all current browsers.
What is JPG?
JPG (JPEG) is the most common format for photos. It makes files small by discarding detail you barely notice, and it doesn't support transparency. Every save at a lower quality loses a little more detail.