Design · verktøy

Favicon-generator

Velg en kvadratisk logo for å lage vanlige favicon-størrelser og en nettstedspakke klar til bruk.

Kjøres i nettleseren. Ingen opplasting.

Choose a square PNG, JPG, WebP or SVG image (up to 10 MB).

Set up your icon files

Preview

Choose an image to preview the generated icons.

Om verktøyet

Favicon-generator sem complicação.

Lag PNG-ikoner på 16, 32 og 48 piksler, en ICO med flere størrelser, et Apple touch-ikon på 180 piksler, appikoner på 192 og 512 piksler, et webmanifest og et HTML-utdrag. Legg til marg eller bakgrunnsfarge, forhåndsvis resultatet og last ned filene samlet som ZIP.

Veiledning

Slik bruker du Favicon-generator

Pick a logo or any picture and this page turns it into the small icons a website needs: the tab icon, the home-screen icon for Apple devices and the two app icons for Android-style installs. You get one ZIP with image files, a web manifest and a few lines of HTML to paste into your page. Everything is made on your device and nothing is uploaded. A square picture gives the best result, and the page cannot judge how good the small icons look.

Slik gjør du

  1. Choose an image: PNG, JPG, WebP or SVG, up to 10 MB. A square picture works best, and the preview appears at once.
  2. Type the Website or app name (up to 50 characters). You may also add a Short name of up to 20 characters for small spaces.
  3. Move the Image padding slider from 0 to 30 percent to leave an empty border. Pick a Transparent, White or Black background.
  4. Press Generate favicon pack. The page makes the icons and a download link for favicon-package.zip.
  5. Unzip the package into the top folder of your website, then copy the HTML snippet into the head of your page. Check the icon paths if you use another folder.

Eksempler

A logo with a white background

Du skriver inn
Bilde
logo.png, 512 x 512
Bildefyll
10%
Bakgrunn
White
Navn på nettsted eller app
Cafe Luna
Du får
ZIP-pakke
favicon-package.zip
Filer
11

The ZIP lists favicon-16x16, 32x32, 48x48, 180x180, 192x192 and 512x512 PNG files, plus favicon.ico, apple-touch-icon.png, site.webmanifest, favicon-html-snippet.html and README.txt. That is 11 files.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

A wide picture that is not square

Du skriver inn
Bilde
banner.jpg, 1200 x 400
Bildefyll
10%
Bakgrunn
Transparent
Du får
Resultat
The banner is shrunk to fit inside each square, centered, with empty space above and below

The code scales the image to fit and centers it. It is not cropped. At 16 pixels a wide banner becomes a thin strip, so use a square logo for the best tab icon.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

What goes into the ICO file

Du skriver inn
Størrelser
16, 32, 48
Du får
ICO-oppføringer
3
Oppføringsstørrelser
16; 32; 48

The page's ICO builder was run in a test on three small PNG images. It wrote one icon directory with three entries, at 16, 32 and 48 pixels. The page does the same with the three real icons.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

An SVG that uses a gradient

Du skriver inn
Bilde
mark.svg with fill=url(#grad)
Du får
Resultat
The gradient reference is stripped, so the colors may look different from the original

For safety, the page removes scripts, inline styles, outside links and any value that uses url(...). A flat-colored SVG is the safest choice. Check the preview before you generate.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

Når det er nyttig

  • Add a tab icon to a new website, so visitors can spot your page among many open tabs.
  • Make the icon that shows up when someone saves your site to the home screen of an iPhone or iPad.
  • Replace a blurry old favicon by building a fresh set from a clean logo file.
  • Prepare icons for a small web app that needs a manifest with 192 and 512 pixel images.
  • Produce all the standard sizes in one step instead of resizing a logo six times by hand.

Begrensninger

  • Input files must be PNG, JPG, WebP or SVG, no larger than 10 MB and no more than 40 megapixels.
  • Non-square pictures are fitted inside the square and centered. There is no cropping tool.
  • For SVG files, scripts, styles, embedded images and anything that uses url(...) are removed. Gradients and filters may be lost.
  • The manifest only holds a name, a short name and the 192 and 512 icons. It has no theme color or start page, and its paths begin with a slash for the site root.
  • The HTML snippet links the ICO, the 32 pixel PNG, the Apple icon and the manifest, not the 16 or 48 pixel PNGs. It cannot show how the icon looks in every browser, so test on a real device.

Tips

  • Start with a simple square logo that has little detail. Fine lines disappear at 16 pixels.
  • Pick a white or black background if the icon will sit on unknown colors; transparency is up to the device.
  • Put the files at the root of your site so the paths in the snippet work without edits.
  • After you publish, clear your browser cache or open a private window, since tab icons are cached for a long time.

Kilder

Vanlige spørsmål

Sobre Favicon-generator.

Which files does the favicon package contain?

It holds PNG icons at 16, 32, 48, 180, 192 and 512 pixels, a favicon.ico that bundles 16, 32 and 48, apple-touch-icon.png, site.webmanifest, favicon-html-snippet.html and a README.txt. That is eleven files in one ZIP.

Where do I put the files and the HTML?

Unzip the files into the root folder of your site, so /favicon.ico opens. Then paste the lines from the snippet into the head of each page. If you keep icons in a subfolder, change every path in the snippet and in the manifest to match.

Does my image leave my computer?

No. The icons are drawn on your device using your browser's canvas, and the ZIP is built there too. Nothing is uploaded. An SVG file is cleaned in the browser before it is drawn.

Why does my wide logo look small in the icon?

The tool fits the whole picture inside a square and does not crop it. A wide logo ends up as a thin band in the middle. Make a square version of the logo, or only its main symbol, for the best result.

What does the padding slider do?

It leaves an empty border around the picture, from 0 to 30 percent on each side, with 10 percent as the default. A little padding keeps the picture from touching the edge on rounded home-screen icons.

Should I choose a transparent, white or black background?

Transparent keeps the see-through parts of your logo. White or black fills the square with a solid color. If you want to control exactly how the icon looks on any device, a solid background is safer.

What is the short name for?

It is the name shown when there is little room, such as under a home-screen icon. It can be up to 20 characters. If you leave it empty, the page uses the first 12 characters of the full name.

Why did my SVG look different after upload?

To stay safe the page removes scripts, inline styles, outside links and values that use url(...). A gradient fill or a filter may therefore disappear. Redraw the logo with plain filled shapes, or export it as a PNG first.

Do I need every size in the package?

Most sites work with the ICO, a 32 pixel PNG, the Apple icon and the manifest, which the snippet links. The other files are there for apps and special cases. Keeping them all in the root folder does no harm.

Hvordan bruker du Favicon-generator?

Velg en kvadratisk logo for å lage vanlige favicon-størrelser og en nettstedspakke klar til bruk.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.