Contents
  1. The short answer
  2. Vector artwork, embedded rasters and previews
  3. Before you start: rights to the artwork
  4. Starting materials
  5. Step by step: from PNG to favicon
  6. Pixel-grid refinement
  7. Formats and sizes to export
  8. Choosing a converter or favicon maker
  9. Final inspection
  10. Gaps in the available evidence

The short answer

You can create a favicon from a PNG by scaling the image to standard icon sizes, refining it so it reads clearly at those sizes, and exporting it as an ICO file, PNG files, or both. A converter or favicon maker can handle resizing and packaging. Whether the result is sharp depends mostly on the source image and on how much the artwork is simplified for very small dimensions.

A PNG is a raster image. It is a fixed grid of pixels, not editable vector paths. Shrinking it to icon sizes discards detail, and the software decides how edge pixels are blended. If the logo also exists as true vector artwork, start from that file, because you can redraw shapes to fit the pixel grid before rasterizing. A PNG is a workable source, but it gives you less control.

Vector artwork, embedded rasters and previews

Do not assume a logo file is editable vector artwork because of its extension. An SVG, PDF or EPS can contain only an embedded raster image. A design file can include a low-resolution raster preview alongside, or instead of, real paths. To check, open the file in a vector editor and look at its structure. Editable artwork shows paths with anchor points that you can select. An embedded image appears as a single placed bitmap with no editable outlines.

Whether the file is vector or raster determines how much refinement you can do. With true paths you can adjust shapes, stroke widths and spacing so they land on whole pixels. With a PNG or an embedded raster, refinement means retouching pixels or redrawing simplified shapes by hand.

Before you start: rights to the artwork

Being able to download a logo does not give you permission to modify it or to use it as an icon. If the logo is not yours, check what the owner allows. Rights to the artwork, to any fonts in it, and to the trademark can each carry separate conditions. Simplifying or cropping a mark for a favicon counts as modifying it, and brand guidelines may restrict that.

Starting materials

  • The cleanest available source of the logo, preferably true vector artwork, otherwise the largest PNG you have.
  • A PNG with a transparent background if the icon should not sit on a solid box.
  • A simplified version of the mark, such as a symbol, monogram or single letter, if the full logo includes a wordmark or fine detail.
  • An image editor that lets you zoom to individual pixels and export PNG files, plus a converter or favicon maker that can write ICO files if you need one.

Step by step: from PNG to favicon

  • 1. Choose what goes in the icon. Full logos with taglines or long wordmarks rarely survive at favicon sizes. Use the symbol or initial on its own.
  • 2. Crop to a square. Center the mark and leave consistent padding so it does not touch the edges. Browsers display favicons in a square slot.
  • 3. Simplify the shapes. Remove thin strokes, small counters, gradients, shadows and fine text that will merge into noise when reduced. Thicken key strokes where needed.
  • 4. Reduce the colors. A small number of strongly contrasting flat colors stays legible better than subtle tones.
  • 5. Create each size separately instead of shrinking one image repeatedly. Scale down from the large source for each target size.
  • 6. Refine at the smallest sizes. Zoom in and adjust edges so horizontal and vertical lines fall on whole pixels, as described in the next section.
  • 7. Export. Save PNG files at the sizes you need. If you want a single ICO file, use a converter that packages several sizes into it.
  • 8. Reference the files in your site's HTML head and test them, as described below.

Pixel-grid refinement

At the smallest favicon sizes, each pixel is a noticeable part of the shape. When an edge falls between two pixels, scaling software fills both with intermediate tones, and the edge looks blurry. Pixel-grid refinement means adjusting the artwork so that important edges line up with pixel boundaries.

  • Snap straight horizontal and vertical edges to whole-pixel positions so they render as crisp single-color rows or columns.
  • Make stroke widths whole numbers of pixels at the target size. A stroke that is a fraction of a pixel wide turns into a faint smear.
  • Keep spacing between elements at a full pixel or more so separate shapes do not merge.
  • Where a diagonal or curve looks jagged or muddy, hand-edit the antialiased pixels to choose which ones carry the shape.
  • Check the icon at actual size, not only zoomed in. Some corrections that look rough up close read better at real size.

With vector artwork, you can make most of these adjustments to the paths before export by setting the document to the target pixel dimensions and aligning anchor points to the grid. With a PNG source, you do the same work by editing pixels after scaling. In both cases, the smallest size usually needs its own drawing rather than a straight reduction of the large one.

Formats and sizes to export

Browsers support ICO, a container format that can hold several image sizes in one file, as well as PNG favicons declared in HTML. Common practice is to provide small sizes for browser tabs, typically 16×16 and 32×32 pixels and often 48×48 in the ICO file. Many sites also add larger PNGs for other uses: a 180×180 touch icon for Apple devices, and 192×192 and 512×512 icons referenced from a web app manifest. Which of these you need depends on the platforms you want to support. The material available for this article does not confirm a current required set, so check current browser and platform documentation before finalizing.

Use | Typical format | Notes
Browser tab and bookmarks | ICO or small PNGs | Smallest sizes; benefits most from pixel-grid refinement
Apple home-screen icon | PNG | Larger size; the platform may round the corners, so keep the mark away from the edges
Web app manifest icons | PNG | Larger sizes listed in the manifest file
Scalable icon in supporting browsers | SVG | Only an option if you have true vector artwork; an SVG wrapping a PNG adds nothing

Choosing a converter or favicon maker

Online favicon makers and image editors can resize a PNG, package an ICO file and sometimes generate the matching HTML tags. The evidence available for this article does not cover specific tools, so there is no comparison or recommendation of particular products here. When you choose one, check whether it outputs multi-size ICO files, keeps transparency, lets you supply a hand-refined image for each size instead of auto-scaling a single image, and does not add watermarks or recompress your files. If the logo is unpublished or confidential, consider an offline editor rather than uploading it to a web service.

Final inspection

  • View each exported size at 100% zoom and confirm the mark is recognizable.
  • Check the icon on light and dark backgrounds, since browser tabs and themes vary. Add an outline or adjust contrast if the mark disappears on either.
  • Confirm that transparency survived export and no unwanted background box appears.
  • Open the ICO file in a viewer that lists its contents to confirm it contains all intended sizes.
  • Load the site in more than one browser and device. Clear the cache or use a private window if the old icon persists, because browsers cache favicons aggressively.
  • Keep the large source and the refined small-size files so you can make future changes without redoing the work.

Gaps in the available evidence

This guide relies on general principles of raster scaling and favicon delivery. No specific tool tests, measurements, version-specific browser behavior or platform requirements were available, so those points are not presented as confirmed. Confirm exact size lists and markup against current browser and platform documentation before publishing.