Best Practices · Beginner
Favicon Design Guide: Create a Clear Icon at Every Size
Design a recognizable favicon with simple shapes, strong contrast and suitable PNG or ICO files. Learn about browser tabs, touch icons and small-size testing.
What a favicon is used for
A favicon is a small site icon that can appear in browser tabs, bookmarks, history lists and other browser surfaces. Some devices also use separate touch or home-screen icons. A consistent icon helps people recognize a site, but each browser and platform may request different dimensions and formats.
Start with a simple visual idea
A favicon is displayed at very small sizes, where fine details disappear. Use a simple silhouette, one clear initial or a compact brand symbol. Avoid tiny text, thin strokes and complex gradients. Design the mark so its important shape remains recognizable when reduced to 16 or 32 pixels.
Use contrast and safe spacing
Make the foreground and background visually distinct. Leave enough padding so the mark does not touch the edges, and check that it remains visible on both light and dark browser chrome. Brand logo contrast rules have specific exceptions in WCAG, but small functional icons should still be easy to distinguish.
Prepare multiple sizes
A single high-resolution source can be exported at several raster sizes, but small versions may need optical adjustments rather than simple downscaling. Test the icon at common tab sizes such as 16 × 16 and 32 × 32, and prepare platform-specific icons when a site supports installation or home-screen shortcuts. Check current browser and platform requirements for the exact assets.
Choose a suitable file format
PNG is a widely used raster format for favicons and supports transparency. ICO is a container format that can include one or more icon images and remains useful for compatibility in some environments. SVG favicons are supported by many modern browsers but are not accepted in every platform context. Do not simply rename a PNG file to .ico; the file contents must match the format.
Create an initial icon with Editagram
Open the Editagram Favicon Maker, enter one to three characters, choose foreground and background colours, set the output size and select a font. The tool draws the design on an HTML canvas and shows small previews. Download the PNG version when you need a raster icon; inspect the actual file format before using any ICO-labelled export.
Add the favicon to a website
Place the icon file at a stable public path and reference it from the document head with a link element such as <link rel="icon" href="/favicon.png" type="image/png">. If you publish multiple sizes or touch icons, add the appropriate link elements and dimensions. Ensure the file is served with the correct content type and that the URL can be fetched without authentication.
Test caching and visual clarity
Favicons are often cached aggressively, so a changed icon may not appear immediately. Use a versioned filename or refresh the relevant cache when deploying updates, while preserving the correct canonical asset path. Test browser tabs, bookmarks, mobile shortcuts and dark/light browser themes before calling the design finished.