A favicon generator for beginners creates selectable square PNG favicons from one local PNG, JPEG, or WebP image at 16 to 512 pixels and provides matching HTML icon links.

The Favicon Generator performs this work inside the current browser tab: it decodes the source locally, center-crops it to a square, resizes it separately for each selected size, and exports PNG files. The source image is never sent to a processing server.

A favicon is the small image a browser may display for a website in a tab, bookmark, history entry, or address bar. Because it has very little room for detail, a simple subject, strong contrast, and careful positioning matter more than a complicated original image.

favicon generator for beginners
Favicon Generator for Beginners: Preview, Check, Publish

Know what you will download

This generator creates square PNG favicons at 16, 32, 48, 64, 128, 256, and 512 pixels. You choose which sizes to generate, and each selected file is downloaded separately. Every result is rendered independently from the decoded source at its requested natural dimensions rather than enlarged from a small preview.

Generated element Example What it means
File format PNG Each icon is exported as an image/png file.
Output dimensions 32 × 32 pixels The downloaded file has the exact selected square dimensions.
Filename favicon-32x32.png The filename stays aligned with the matching HTML link.
Link relationship rel="icon" Marks the file as an icon resource for the page.
Media type type="image/png" Declares the generated file format.
Sizes declaration sizes="32x32" Identifies the square dimensions represented by that file.
Default path /favicon-32x32.png The generated href is root-relative and can be edited to match your asset directory.

Copy only the HTML lines for files you actually place on the website. The preview is intended as a quick visual check; downloading a result gives you the exact dimensions named by that download and its link.

Pick a source that crops cleanly

The generator uses a centered cover crop. It takes the largest possible square from the middle of the source before resizing it. This predictable rule works well for logos, symbols, initials, and illustrations whose important subject is already near the center.

Source shape What the center crop does Beginner preparation
Landscape Removes equal portions from the left and right edges. Keep the main subject close to the horizontal center.
Portrait Removes equal portions from the top and bottom edges. Keep the main subject close to the vertical center.
Square Does not crop the source. Simplify the design so it remains recognizable at tiny sizes.

The tool is not an interactive crop editor. If the subject is intentionally positioned away from the middle, crop the source before continuing. The Image Cropper can prepare a centered square first, after which the generator can produce the final icon sizes.

A simple, high-contrast square logo is a dependable starting point. Avoid designs that depend on thin outlines, tiny lettering, or subtle gradients, because resizing can make those elements disappear or soften.

Create and inspect the icon files

  1. Open the Favicon Generator and choose a static PNG, JPEG, or WebP file no larger than 25 MB. Check that its main subject is near the center before generating anything.
  2. Select the square PNG sizes you need from 16, 32, 48, 64, 128, 256, and 512 pixels. You can generate several sizes from the same source.
  3. Generate the favicon files and let the tool create each selected size independently from the decoded original.
  4. Inspect the preview, then download every selected PNG separately. Open the 16- and 32-pixel downloads at actual size or 100 percent zoom to check that the subject is still recognizable.
  5. Copy the HTML icon link snippets that correspond to the files you downloaded. Keep each snippet paired with its matching filename and dimensions.
  6. Place the PNG files on your site using the paths in those snippets, paste the link elements into the document head, and verify the deployed page source and network paths.

Do not judge the final quality from the largest preview alone. Browser pixel smoothing can soften thin lines and tiny lettering, particularly in the smallest outputs. Review the 16- and 32-pixel downloads directly because those files reveal readability problems that a large preview can hide.

The generator does not enlarge one small preview and reuse it for larger downloads. Each result comes from the decoded source at its requested dimensions, so the downloaded file remains the relevant version to inspect and publish.

Match the files to their HTML paths

Generated hrefs are root-relative, so a file named favicon-32x32.png normally points to /favicon-32x32.png. The matching link element has this form:

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">

Place favicon-32x32.png at the root path if you keep that href. If your icons live in a directory such as /assets/icons/, change the href to /assets/icons/favicon-32x32.png and place the file there. The filename, dimensions, and URL should all describe the same downloaded asset.

The markup uses the standard rel="icon" relationship described in MDN's rel attribute reference. Providing several icon links can give a browser suitable resources to choose from, but the final selection remains browser behavior. No specific browser, bookmark surface, or operating system is guaranteed to display one particular generated size.

After deployment, inspect the page source and network requests to confirm that the browser can retrieve each file. If an old icon remains visible, clear site data or browser caches. The generator prepares assets and markup, but it does not upload files, modify your website, or confirm production cache behavior.

Fix visual and file problems

Check a subject that appears cut off

The crop is always centered rather than adjusted to the most recognizable object. A landscape source loses equal left and right sections, while a portrait source loses equal top and bottom sections. If an important element is missing, crop or reposition the source first and generate the icons again. Do not rely on the generator to recover detail that was excluded from the centered square.

Improve a soft or crowded small icon

Very small dimensions cannot preserve every source detail. Canvas resizing smooths pixels, which can blur thin strokes or compact tiny letters. Start with a simpler subject, stronger contrast, and more open spacing. Then inspect the actual 16- and 32-pixel files rather than only the larger results.

Determine why a source was rejected

Inputs are limited to static PNG, JPEG, and WebP files up to 25 MB. After the browser has decoded the source, the tool rejects images above 40 million pixels before allocating the output canvases. That post-decode limit reduces later Canvas memory use, but it cannot prevent the browser's initial decode from using substantial memory or failing on an unusually large or malformed file. Compressed file size alone does not describe decode memory.

SVG files and animated inputs are excluded. If either is rejected, convert it to a supported static PNG, JPEG, or WebP raster file before trying again.

Understand the PNG format boundary

This tool is deliberately limited to PNG browser favicons and their matching HTML link elements. It does not create an ICO container, SVG icon, Apple touch icon, Android icon set, pinned-tab asset, web app manifest, or platform-specific package.

  • PNG favicon files are the only generated image assets.
  • Each selected size is downloaded as a separate file.
  • The copied HTML is limited to the matching icon link elements.

Transparency is handled according to the source. Existing transparency can be preserved in a PNG or WebP source, while a JPEG source begins with no transparent pixels. The generator does not add transparency to an opaque image or remove its background automatically. If an icon has transparent or pale edges, review it against both light and dark backgrounds before publishing.

Complete a pre-publish check

  • Confirm that the source is a supported static PNG, JPEG, or WebP file within the size and pixel limits.
  • Check that the center crop keeps every important part of the subject.
  • Open the 16- and 32-pixel downloads at actual size and confirm that the design remains recognizable.
  • Review transparent or pale edges against light and dark backgrounds.
  • Place each chosen PNG at the location named by its corresponding href.
  • Confirm that every copied HTML line points to a file you actually published.
  • Verify the deployed page source and network paths before considering the setup complete.

This workflow produces a small set of inspectable PNG assets and aligned HTML references. It gives beginners precise control over the crop, output dimensions, filenames, and placement without pretending that every browser or platform consumes favicons in the same way.

If you're weighing options, Flip Image for Beginners: A Simple Browser Guide covers this in detail.