Calculates on this device. File exports run online.
Responsive Web Asset Generator
Choose one picture. The page reads its size, lists every file your site needs with its pixel size, and writes the HTML lines and the web app manifest. Then make all the files at once as one ZIP file.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to make the files
- Choose Web files from one picture and pick your picture: a logo for icons, or a photo for responsive sizes. A square picture of at least 512 × 512 pixels makes good icons.
- Tick what you need: icons, a social preview image, responsive sizes. Enter the name of your site and its colours.
- Press Plan the files. The table shows every file with its size, and says when a file would be larger than your picture.
- Press Make the files in the box below. You get one ZIP file with all the pictures, head-tags.html, the picture HTML and site.webmanifest.
- Put the files in the folder of your site and paste the HTML lines into your pages.
Which files you get
- favicon.ico with pictures of 16, 32 and 48 pixels, and favicon-16x16.png and favicon-32x32.png for browser tabs. From an SVG you also get favicon.svg, which stays sharp.
- apple-touch-icon.png, 180 × 180 pixels, filled with your background colour, because iPhone and iPad show transparent parts as black.
- android-chrome-192x192.png and android-chrome-512x512.png, the icons of the web app manifest (web.dev, "Add a web app manifest").
- og-image.jpg (or PNG), 1200 × 630 pixels by default: the Open Graph size that Facebook and LinkedIn document for link previews. You can change the size under More options.
- Responsive sizes such as photo-480w.webp, photo-800w.webp and photo-1200w.webp, for the srcset of an image in a page.
srcset and sizes
srcset lists the same picture in several widths. sizes tells the browser how wide the picture is shown. The browser multiplies that width by the pixel density of the screen and loads only the file it needs. Widths wider than your picture are left out, because a picture made larger only looks soft.
For a picture in a column of at most 800 CSS pixels with 16 pixels of space at each side, the sizes value is (max-width: 832px) calc(100vw - 32px), 800px. Choose srcset and sizes for a picture to get this HTML without a file.
Web app manifest
Web app manifest (PWA) writes site.webmanifest: name, short name, start address, scope, display mode, orientation, theme and background colours, language and icons, as the W3C Web Application Manifest names them, with the HTML lines for <head>. It warns when the short name is long or the start address lies outside the scope.
What this tool does not do
- It does not make a small picture sharper. To make a picture larger with better detail, use the Image Upscaler; to change one picture to one size, use the Image Resizer.
- It does not make a maskable icon with a safe zone, or iOS and Android app icon sets. The Favicon & App Icon Generator makes those.
- It does not read HEIC, AVIF or BMP pictures. Save them as PNG or JPEG first.
- Animated GIF, WebP and PNG pictures give still files of their first picture.
Privacy
The plan is made in your browser: the size is read from your picture there. Only when you press Make the files are your picture, the list of files and the HTML lines sent to the Toolvito server to make the files. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.