Favicon & PWA Icon Generator
Turn one PNG, JPEG, or WebP source into a complete browser and web-app icon pack without stretching the artwork. Configure app metadata, start URL, scope, display mode, colors, padding, transparency, and maskable output, then download a locally generated ZIP containing favicons, manifest icons, favicon.ico, site.webmanifest, HTML links, and deployment guidance.
Choose one source image to preview the regular and maskable icon treatment.
How to Generate a Favicon and PWA Icon Pack
Choose one PNG, JPEG, or WebP source image.
Enter the app name and short name that should appear in site.webmanifest.
Review the start URL, scope, display mode, theme color, background color, regular-icon padding, and background treatment.
Keep dedicated maskable icons enabled for an installable web app unless a separate maskable design will be supplied manually.
Preview the regular and maskable composition, then download the ZIP.
What the Download Contains
The pack separates browser favicons, Apple touch artwork, regular manifest icons, and maskable icons because each context can crop, scale, or present artwork differently.
It also includes favicon.ico, a configured site.webmanifest, copyable head markup, and a README recording the selected settings and deployment checks.
Files generated in the icon pack
Swipe horizontally to view the full table.
Choose Source Artwork for the Smallest Output
A source that looks good at 1,024 pixels may fail at 16 pixels.
A simple symbol with strong silhouette, limited internal detail, and clear contrast usually survives favicon reduction better than a wordmark or illustration.
The generator accepts non-square artwork and preserves its shape, but a wide logo can become too small to recognise inside a square favicon.
Use a separate compact brand mark when the full logo cannot remain legible at browser-tab size.
Choosing source artwork
Swipe horizontally to view the full table.
Aspect Ratio Is Preserved
The renderer uses contain scaling rather than forcing the source into a square.
The source is centred on each square canvas and scaled until it fits inside the available area.
Regular padding reduces the available width and height equally on every side.
A 1,600×600 wordmark therefore remains a 1,600:600 shape instead of being distorted into a square.
Transparent and Solid Regular Icons
Regular favicon and manifest icons can retain transparency or use the selected solid background color.
Transparency is useful when the source was designed to sit directly on browser or operating-system surfaces.
A solid background gives more predictable contrast but becomes part of every regular PNG.
Inspect transparent artwork against both light and dark surfaces before publishing.
How Regular Padding Works
Padding is expressed as a percentage of each side of the square output.
At 8% padding, the available drawing box occupies 84% of the canvas width and height.
The source is fitted inside that box without cropping.
Padding applies to favicon PNGs, regular manifest icons, and the Apple touch icon. Dedicated maskable icons use their own safe-zone fit.
favicon.ico Is a Multi-Image Container
The generated favicon.ico is not a PNG renamed with an ICO extension.
Its ICO directory contains separate 16×16, 32×32, and 48×48 PNG-compressed image entries.
The HTML snippet links the ICO as a compatibility fallback and also links each generated PNG favicon explicitly.
Keeping favicon.ico at the site root supports browsers, crawlers, and tools that request /favicon.ico automatically.
Why Several Browser Favicon Sizes Are Generated
Browsers and operating systems can request different icon sizes for tabs, bookmarks, shortcuts, history, and high-density displays.
The sizes attribute describes the dimensions available at each linked resource.
A browser can still apply its own selection and scaling rules, so every generated size should remain visually consistent.
Regular Web App Manifest Icons
Regular manifest icons are generated at 192, 384, 512, and 1,024 pixels with purpose any.
Current Chromium guidance calls for at least 192×192 and 512×512 icons for common installation experiences.
The additional sizes let platforms choose a closer raster match and provide a high-resolution source for larger presentation contexts.
Transparent regular icons are allowed, but their appearance depends on the surface and platform treatment.
Maskable Icons and the Guaranteed Safe Zone
A manifest icon with purpose maskable allows a platform to crop the icon into circles, rounded rectangles, squircles, and other shapes.
The current manifest specification defines a guaranteed safe zone as a circle centred in the icon with a radius equal to 40% of the icon size.
The generator scales the complete source rectangle so its diagonal fits inside that circle. This conservative method keeps every source corner within the guaranteed region.
The remaining canvas is filled with the selected solid background color.
Safe Does Not Always Mean Optically Balanced
A mathematically safe icon can still look too small, too low, or visually unbalanced after platform masking.
Wide artwork becomes especially small when its entire rectangle must fit inside the safe circle.
Preview the maskable icon under several shapes and prepare dedicated artwork when the automatic fit does not match the intended brand presentation.
Apple Touch Icon
The pack creates apple-touch-icon.png at 180×180 and adds the corresponding link element.
It uses the selected solid background because transparent Apple home-screen artwork can be presented differently from an ordinary transparent browser favicon.
Apple touch-icon is a separate web-platform convention rather than a replacement for manifest icons.
Test the finished icon on the Apple devices and operating-system versions that matter to the project.
App Name and Short Name
The manifest name is the full product name used where sufficient space is available.
Short name is a compact alternative for constrained launcher labels and app lists.
The generator limits the short name to 30 characters, but a substantially shorter label is usually easier to scan and less likely to be truncated.
These values describe the installed experience and do not alter the website title or metadata automatically.
Start URL and Scope
Start URL is the address opened when the installed web app is launched.
Scope defines the part of the site treated as belonging to the installed app experience.
Both values must be same-origin root-relative URLs in this generator, and the start URL must fall inside the selected scope.
A root scope of / includes the complete origin. A scope such as /tools/ includes that path and its descendants but not unrelated root pages.
Display Modes
Display controls the preferred window treatment when the installed app launches.
The exact result still depends on browser and operating-system support.
Choose the mode according to the navigation and controls provided by the deployed app rather than selecting the most immersive option automatically.
Web app display modes
Swipe horizontally to view the full table.
Theme Color and Background Color
Theme color provides a default color hint for browser or operating-system interface surrounding the app.
Background color provides an initial background hint while the app is loading and is also used by this generator for Apple and maskable icon canvases.
Platforms can apply these values differently, so they should match the actual app design but should not be treated as guaranteed rendering instructions.
Generated Rendering Treatments
The same source is rendered differently where platform requirements differ.
The table shows which background, scaling method, and review step applies to each output family.
How each icon family is rendered
Swipe horizontally to view the full table.
Source Resolution and Upscaling
Every output is raster PNG artwork.
When the source is smaller than an output, the browser must enlarge the available pixels.
Smoothing can reduce jagged edges, but it cannot recreate missing line detail or sharp typography.
A source at least 512×512 is preferable for the main app icons, while a larger clean master is useful when a 1,024×1,024 output is needed.
Small Favicon Design Requires Manual Review
Automatic resizing preserves geometry but cannot make design decisions.
Thin strokes can disappear, letters can close up, shadows can become muddy, and multiple colors can collapse into an indistinct patch.
Inspect the actual 16×16 and 32×32 PNGs rather than judging only the large preview.
A manually redrawn small favicon can be better than a mathematically faithful reduction.
Deploying the Generated Files
The generated manifest and HTML markup use root-relative paths.
Upload the files to the site root or update every path consistently when using an asset directory, base path, CDN, or framework-specific metadata system.
Confirm that every icon and site.webmanifest returns the expected file with a successful response and correct content type.
Deployment checks
Swipe horizontally to view the full table.
Framework Metadata and Generated HTML
The generated favicon-links.html contains standard link and meta elements.
Frameworks such as Next.js can also generate these elements through route metadata or specially named icon files.
Use one clear source of truth so duplicate or conflicting icon declarations do not make debugging harder.
The HTML file is guidance and is not inserted into the project automatically.
Favicon and Manifest Caching
Browsers, bookmarks, operating systems, installed apps, service workers, CDNs, and search crawlers can retain old icons.
Replacing a file at the same path does not guarantee immediate visual replacement.
Use versioned asset paths or deliberate cache invalidation when the icon must change predictably.
An installed app may need to be refreshed or reinstalled before every platform surface updates.
A Manifest Does Not Guarantee Installation
The generated site.webmanifest supplies app metadata and icon declarations.
Installation behaviour also depends on the deployed origin, browser support, application behaviour, security requirements, and current platform criteria.
Test installation on the actual production-like site rather than assuming the presence of a manifest is sufficient.
Privacy and Local Processing
The image is decoded into a browser bitmap, rendered onto local canvases, encoded as new PNG files, assembled into favicon.ico, and packaged with JSZip.
The source image and entered manifest metadata are not uploaded by this implementation.
New canvas-rendered PNG files ordinarily do not copy source EXIF or other original-file metadata.
The ZIP is generated only when the download action is selected.
What the Generator Does Not Produce
The pack does not include an SVG favicon, monochrome Safari pinned-tab asset, Windows tile configuration, native Android or iOS project catalogs, app-store screenshots, splash-screen sets, or store-submission packages.
It also does not inspect trademark rights, brand standards, contrast compliance, installation eligibility, or visual quality on every device.
Icon Scaling Formulas
Regular icons use contain scaling inside the padded square. Maskable icons use a conservative diagonal fit inside the guaranteed safe circle.
Formula variables
- Square output dimension in pixels
- Regular padding percentage per side
- Available regular drawing width and height
- Decoded source width
- Decoded source height
- Regular contain scale
- Maskable safe-zone scale
- Guaranteed maskable safe-zone diameter
Examples
Generate a transparent website favicon
1Input
1,024×1,024 transparent PNG; transparent regular background; 8% padding.
Show result
Result
Transparent regular favicons and manifest icons, plus solid Apple touch and maskable variants.
Inspect the 16×16 result against light and dark browser surfaces.
Generate icons from a wide wordmark
2Input
1,600×600 WebP logo.
Show result
Result
The wordmark remains proportional and is centred without stretching.
A compact brand symbol will usually work better at favicon sizes.
Create a subdirectory web app
3Input
Start URL "/app/" and scope "/app/".
Show result
Result
The installed launch remains inside the selected app scope.
The generated icon paths still point to the site root unless edited.
Use a solid brand background
4Input
Transparent logo; regular background set to solid; background color #14213d.
Show result
Result
Regular, Apple touch, and maskable PNGs use the selected brand background.
Theme color remains separately configurable.
Create a maskable PWA pack
5Input
Maskable icons enabled with a square symbol source.
Show result
Result
Separate 192×192 and 512×512 solid-background icons with the source rectangle inside the guaranteed safe zone.
Preview several crop shapes before deployment.
Generate browser fallback files
6Input
Any supported source image and valid manifest details.
Show result
Result
favicon.ico with three embedded sizes plus explicit 16px, 32px, and 48px PNG favicon files.
Use a small source image
7Input
256×256 JPEG source.
Show result
Result
Every requested file is generated, but 384px, 512px, and 1,024px assets require upscaling.
Upscaling does not create missing source detail.
Frequently Asked Questions
Does the generator stretch non-square artwork?
No. It preserves the decoded source aspect ratio, centres the image, and fits it inside the available square area.
Which favicon sizes are generated?
The pack includes 16×16, 32×32, and 48×48 PNG favicons and the same three sizes inside favicon.ico.
Is favicon.ico just a renamed PNG?
No. It is an ICO container with separate PNG-compressed image entries.
Why generate both ICO and PNG favicons?
Explicit PNG links work well in modern browsers, while favicon.ico remains a common automatic request and compatibility fallback.
Does the pack include a 48×48 PNG link?
Yes. The generated HTML links the 16×16, 32×32, and 48×48 PNG files as well as favicon.ico.
What source size should I use?
A clean square source of at least 512×512 is preferable for the main app icons. A larger source can help with the 1,024×1,024 output, but small-favicon quality still depends on design simplicity.
Can I use a rectangular logo?
Yes. It remains proportional, but wide artwork may become too small to recognise inside a square favicon.
What does regular padding do?
It reserves the selected percentage on each side before fitting the source into the remaining square area.
Can regular icons stay transparent?
Yes. Choose Transparent under Regular background.
Why does the Apple touch icon use a solid background?
The generator uses a solid canvas to provide a more predictable home-screen asset instead of relying on platform handling of transparency.
What is a maskable icon?
It is a manifest icon designed to be cropped into platform-selected shapes while keeping important content inside a guaranteed safe region.
How large is the maskable safe zone?
The specification defines a centred circle with a radius equal to 40% of the icon size, or an 80% diameter.
Why does the maskable preview look smaller?
The generator conservatively fits the complete source rectangle inside the safe circle so no source corner falls outside the guaranteed region.
Does safe-zone fitting guarantee perfect appearance?
No. It prevents guaranteed cropping of the source rectangle, but optical sizing and balance still need manual review.
Which PWA icon sizes are generated?
Regular icons are generated at 192, 384, 512, and 1,024 pixels. Optional maskable icons are generated at 192 and 512 pixels.
What is start_url?
It is the root-relative URL the installed web app requests when launched.
What is manifest scope?
Scope defines the part of the site associated with the installed app experience.
Can start_url be outside scope?
No. This generator rejects that configuration.
What does standalone display mode mean?
It requests an app-like window without ordinary browser navigation controls where supported.
Does the manifest make my site installable automatically?
No. Installation also depends on the deployed site, browser support, security requirements, application behaviour, and current platform criteria.
Why is my generated favicon blurry?
The source may be too small, or its details may not survive reduction. Automatic resampling cannot recreate missing detail or redesign a complex logo.
Why does my old favicon still appear?
Browsers, bookmarks, operating systems, installed apps, service workers, CDNs, and crawlers can cache icon files. Change the URL or invalidate relevant caches.
Does the tool remove image metadata?
The generated PNGs are newly rendered canvas images rather than copies of the source file, so ordinary original-file metadata is not carried into them.
Does it generate an SVG favicon?
No. The pack contains raster PNG and ICO assets.
Does it generate a Safari pinned-tab icon?
No. Safari pinned-tab artwork normally requires a separate monochrome SVG workflow.
Are my image and manifest details uploaded?
No. Decoding, rendering, manifest creation, ICO construction, and ZIP packaging happen locally in the browser.
References
You might also like
Image Compressor
Compress JPG/JPEG, PNG, WebP, AVIF, HEIC, and HEIF locally with Target KB, per-image controls, before-and-after comparison, and ZIP downloads.
Screenshot Redaction Tool
Black out private areas of a screenshot with opaque replacement pixels and inspect the encoded PNG before downloading.
QR Code Generator
Create free static QR codes for URLs, Wi-Fi, vCards and more with logos, custom styling, PNG/SVG export, and no account, redirect, expiry, watermark, or scan limit.
JPG to PDF Converter
Combine JPG, JPEG and PNG images into one PDF locally with reorder, rotation, page-size and margin controls.