A favicon is a small asset with an outsized role in a website’s visual identity. This practical workflow explains how to prepare source artwork, choose favicon sizes, export PNG, ICO, and SVG files, add Apple touch icons, install the files, and test them before launch.
Overview
A favicon is the small icon associated with a website in browser tabs, bookmarks, history views, and other browser interface areas. It may also appear when a visitor saves a site to a device home screen. Because the icon is displayed at a small size, a detailed logo often performs poorly. A simplified mark, initial, or distinctive shape is usually easier to recognize.
The most reliable workflow begins with one carefully prepared source artwork and produces several purpose-specific files. You do not need to design each size independently, but you should inspect the smallest versions rather than assuming that a large export will remain legible.
A practical favicon package commonly includes:
- A square PNG for general browser use.
- An ICO file when broad legacy compatibility is part of the project requirements.
- An SVG favicon for browsers and workflows that support scalable vector icons.
- A larger PNG, often used as an Apple touch icon for saved website shortcuts.
- Clear HTML references and consistently named files stored in a predictable public directory.
Exact browser behavior can change, so treat this as a dependable production checklist rather than a permanent list of universal requirements. Confirm the needs of the site’s framework, hosting setup, and supported browsers before publishing.
Checklist by scenario
1. Start with a favicon-ready source
- Choose a simple symbol, monogram, or logo detail that remains recognizable without surrounding wordmark text.
- Place the artwork on a square canvas. A transparent background is useful when the icon must sit naturally against different browser interface backgrounds.
- Check the design at small dimensions. Remove fine strokes, tiny lettering, and decorative details that disappear when reduced.
- Keep the source file editable, preferably as vector artwork or a high-resolution raster file, so you can revise the mark later.
- Use brand colors consistently. If the favicon is part of a broader identity update, compare it with the palette used across the site. The guide to extracting a color palette from an image can help organize related brand assets.
2. Create a standard PNG favicon
Export a square PNG at a size that gives the browser enough pixels to work with, then create any smaller variants required by the site or implementation. A common working set may include 16 by 16, 32 by 32, and 48 by 48 pixel versions, with a larger square PNG retained as the master export. The exact set depends on the project, so check the generator and platform documentation you are using.
Use a transparent PNG when the design calls for transparency. If the mark needs a colored field to remain visible, include that background deliberately rather than relying on a browser to supply one. Open each export at its actual size and inspect edges, contrast, and visual weight.
3. Export an ICO file
An ICO file can contain multiple embedded icon sizes. If you use a favicon generator online, upload the prepared square source and confirm which dimensions the tool includes in the download. Do not assume that a file named favicon.ico contains every size you need.
Keep the filename simple and lowercase, such as favicon.ico. Place it in the public root when your hosting or framework expects that location, and add an explicit HTML reference if your project benefits from one.
4. Add SVG for scalable use
SVG is useful when the favicon artwork is vector-based and the target browsers and application setup support it. Before using an SVG favicon, confirm that the file has a viewBox, uses the intended colors, and does not depend on external fonts, linked images, or unavailable stylesheets. Keep the SVG self-contained.
SVG is not a replacement for every fallback. If the site must support a wider range of environments, retain suitable PNG or ICO files and reference them clearly.
5. Prepare a touch icon
For saved website shortcuts on Apple devices and similar home-screen workflows, prepare a larger square PNG, commonly named apple-touch-icon.png. Use a version with enough visual padding that the mark does not feel crowded when displayed as a shortcut icon. Preview it at a small size and against both light and dark surroundings where possible.
6. Install the files
Place the files in the location served by the website, then add references in the document head. A basic implementation might look like this:
<link rel="icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
Use only the references that match files actually deployed. If a framework generates its own head tags or manifest, check for duplicate or conflicting declarations before adding more markup.
What to double-check
- Canvas: Every file should be square. Check that the artwork has not been stretched or unintentionally cropped during export.
- Transparency: Inspect transparent edges for unwanted halos, especially when artwork was exported against a temporary background.
- Contrast: A favicon must remain distinguishable at tiny scale. A contrast checker for designers can support the review, but visual inspection is still necessary.
- Color: Verify that the exported file uses the intended color profile and that saturated brand colors have not shifted noticeably.
- Filenames: Keep names short, predictable, and consistent between the HTML references and deployed files.
- Paths: Open each asset URL directly in a browser. A correct filename is not enough if the file is in the wrong directory or blocked by the build process.
- Cache behavior: When replacing an existing favicon, use a deliberate cache-busting approach if the old icon continues to appear during testing. Avoid changing filenames randomly without updating every reference.
- Licensing: Confirm that the logo, typeface, icon, or illustration used in the favicon is cleared for the website. The design asset license audit checklist is useful when the icon incorporates third-party creative assets.
Common mistakes
Using a full wordmark
Long text becomes unreadable in a browser tab. Reduce the identity to a compact symbol or initial instead of shrinking the entire logo until it becomes a blur.
Exporting only one large image
A single large PNG may look good in a design file but fail to provide the formats or dimensions required by the site. Build a small package of deliberate exports and document what each file is for.
Relying on a generator without inspecting the output
A favicon generator online can speed up conversion, but it cannot decide whether the artwork is legible, whether transparency is appropriate, or whether the downloaded filenames match your implementation. Review the archive before uploading it.
Forgetting non-browser touchpoints
Testing only the desktop tab can miss a missing shortcut icon, an incorrect manifest reference, or a mark that looks unbalanced on a mobile home screen. Include the devices and surfaces that matter to the project.
Adding conflicting references
Multiple icon declarations from a theme, framework, plugin, and custom template can make troubleshooting difficult. Search the rendered page source and retain a clear, intentional set of references.
When to revisit
Revisit the favicon whenever the brand mark, color system, domain, or website framework changes. It should also be reviewed before a major launch, seasonal campaign, product microsite, or redesign that changes the site’s header and metadata. A new domain or subdomain deserves its own check so that visitors do not see a stale icon from another property.
Browser support, generator features, and framework conventions can change over time. At least once during a planned website maintenance cycle, confirm that the current PNG, ICO, SVG, touch-icon, manifest, and HTML references still match the project’s needs. This is especially useful after changing build tools or moving the site to a new host.
Use this final launch pass:
- Open the source artwork and confirm that the simplified mark still represents the brand.
- Regenerate the required square exports from the approved source.
- Inspect PNG, ICO, SVG, and touch-icon files at their intended display sizes.
- Upload the files to the correct public directory.
- Verify every HTML, manifest, and framework reference.
- Test a new private browsing session, a previously visited page, a mobile shortcut workflow, and the main browsers included in the project’s support plan.
- Record the source file, export settings, filenames, and installation location for the next update.
A favicon is small, but treating it as a documented web design asset prevents avoidable launch issues. A clear source, focused export set, and repeatable QA check are enough to keep the icon recognizable and maintainable as the website evolves. For broader interface preparation, pair this workflow with a website UI asset QA checklist.