Contents
  1. Key terms before you start
  2. Choose what to keep before you crop
  3. Step-by-step: cropping in a vector editor
  4. Cropping when you only have a raster image
  5. Vector crop versus raster crop
  6. Exporting the cropped artwork
  7. How to verify the result
  8. Common cropping mistakes
  9. Permissions and file sources
  10. Gaps in this guide

To crop an image for a favicon, isolate the single most recognizable part of the logo, place it on a square canvas with a small, even margin on all sides, and do the crop on the vector artwork rather than on a flattened picture wherever you can. Then export it and judge it at the actual tiny size it will be shown, not at full zoom. A favicon is the small icon a browser shows beside a page title, in tabs, bookmarks and history lists. Because it is displayed at a fraction of the size of a normal logo, cropping it is less about trimming edges and more about choosing what survives.

Key terms before you start

  • Vector artwork: an image built from mathematical paths (lines and curves) instead of pixels, so it can be resized without losing sharpness. Common vector formats include SVG, AI and EPS, but an extension alone does not prove a file contains only editable paths; it may hold an embedded pixel image.
  • Raster image: an image made of a fixed grid of pixels, such as PNG or JPG. Enlarging it adds blur; cropping it simply discards pixels.
  • Artboard: the defined working area in a vector editor. Resizing the artboard to a square is the vector equivalent of cropping to a square.
  • Bounding box: the invisible rectangle that encloses an object's outermost points. Shapes with uneven edges can look off-centre even when their bounding box is perfectly centred.
  • Clipping mask: a shape that hides everything outside it without deleting the hidden parts. Useful for non-destructive cropping, but the hidden content may still remain in the exported file.
  • Logomark and wordmark: a logomark is the symbol or icon part of a logo; a wordmark is the brand name set in type. Favicons almost always work best with a logomark or a single letterform.

Choose what to keep before you crop

Most logos are wider than they are tall and combine a symbol with text. Simply cutting a square out of the middle usually produces fragments of letters that mean nothing at icon size. Decide on the element first, then crop around it.

  • If the logo has a standalone symbol, use the symbol alone and drop the wordmark.
  • If the logo is text only, consider a single initial or a monogram drawn from the existing typeface rather than shrinking the full name.
  • If the symbol contains fine detail, thin strokes or small interior gaps, plan a simplified version; detail that reads well on a letterhead can merge into a blur at icon size.
  • If the brand already has an approved app icon or social avatar, check whether it can serve as the favicon source, since it has usually been designed for square, small-scale use.
  • If none of these work, a simplified shape or a letter on a solid background in the brand colour is a common fallback, but this is a design decision for whoever owns the brand.

Step-by-step: cropping in a vector editor

  • 1. Work on a copy of the master logo file so the original remains untouched.
  • 2. Confirm the file actually contains editable paths: select the artwork and check that it shows anchor points and paths rather than a single embedded image.
  • 3. Delete or hide every element you are not keeping, such as the wordmark, tagline or decorative extras.
  • 4. Convert any remaining live type to outlines (paths) so the letterforms do not depend on an installed font.
  • 5. Set the artboard to a square. The exact dimensions matter less in vector than the 1:1 proportion.
  • 6. Scale the chosen element so it fills most of the square while leaving an even margin on all sides. How much margin to leave is a design judgement; too little and the mark appears to touch the edges of the tab, too much and it looks small next to other sites' icons.
  • 7. Centre the element, then adjust by eye. Shapes such as triangles, circles with a tail, or asymmetric letters often need a slight shift to look centred, a practice called optical centring.
  • 8. If you used a clipping mask, release it and delete the hidden parts, or expand the artwork, so no off-canvas content is carried into the export.
  • 9. Decide on the background: transparent, or a solid square or rounded shape in a brand colour. A transparent background will show whatever colour the browser interface uses, which may be light or dark.
  • 10. Save this square master as a vector file, then export the formats you need from it.

Cropping when you only have a raster image

If the only source is a PNG or JPG, crop it to a square in an image editor or an online favicon cropper, keeping the same rule of an even margin around the chosen element. Start from the largest, sharpest version available; cropping and downscaling a large image produces cleaner results than enlarging a small one. Be aware of the limits: a raster crop cannot remove text that overlaps the symbol cleanly, cannot simplify thin strokes, and cannot recover detail lost to compression. If the result looks muddy at small sizes, the better fix is to obtain or redraw vector artwork rather than to keep adjusting the crop. Tracing a raster logo into vectors is possible, but automatic tracing often produces lumpy curves and should be checked and cleaned up by hand.

Vector crop versus raster crop

Aspect | Cropping vector artwork | Cropping a raster image
Editing the content | Elements can be removed, simplified or redrawn | Only pixels can be cut away or painted over
Resizing afterwards | Stays sharp at any size | Loses quality if enlarged
Centring | Can be aligned precisely, then adjusted optically | Limited by pixel boundaries and existing composition
Output flexibility | One master can produce every required export | Each export inherits the original's resolution and flaws

Exporting the cropped artwork

Browsers and platforms request favicons in different formats and pixel sizes, including the long-standing ICO format, PNG files at several sizes, and SVG in browsers that support it. The source material for this guide did not include a verified, current list of required sizes, so check each target platform's own documentation before finalising your export set. Whatever the list turns out to be, export every size from the square vector master rather than scaling one PNG up and down. At the very smallest sizes, a version with fewer details or slightly thicker strokes may read better than a straight reduction; that is a design recommendation, not a documented requirement.

How to verify the result

  • View each export at 100% zoom, not magnified, and check that the shape is still recognisable.
  • Place the icon on both a light and a dark background to see whether a transparent background or thin edges disappear.
  • Compare it beside other icons in a row of browser tabs; it should feel balanced, neither cramped against the edges nor floating in empty space.
  • Squint at it or step back from the screen; if you cannot tell what it is, simplify the artwork rather than recropping.
  • Open the exported files and confirm they are truly square and that no hidden, clipped or off-artboard content was included.
  • After installing the icon on a site, reload it in a fresh or private browser window, since browsers often cache old favicons.

Common cropping mistakes

  • Shrinking the full horizontal logo, including the name, into a square, which leaves unreadable text.
  • Cropping a square from the centre of a wide logo and cutting letters or symbols in half.
  • Centring by bounding box only, so an asymmetric mark looks shifted.
  • Leaving the artwork touching the canvas edges, which makes it look clipped in the browser.
  • Enlarging a small, low-resolution image to make larger favicon sizes.
  • Assuming a file is vector because of its extension, when it actually contains an embedded pixel image.

Permissions and file sources

Having a logo file, in any format, is not the same as having permission to modify or reuse it. If you are preparing a favicon for a client or employer, confirm that a cropped or simplified version of the mark is acceptable to the brand owner, and check whether brand guidelines already define an icon version, minimum clear space or colour rules that should govern the crop.

Gaps in this guide

No verified specifications were available for this article, so it does not state exact required favicon dimensions, margin percentages, file size limits or platform-specific rules. The steps above are general design and file-preparation principles; confirm precise technical requirements against current documentation for the browsers and platforms you are targeting.