Skip to content

SVG to Favicon Converter

Upload an SVG logo and download favicon.ico, every PNG favicon size, an Apple touch icon and a web manifest. Conversion runs in your browser — nothing is uploaded.

Upload your SVG

The Image tab is already selected. Drop in an SVG (PNG, JPG and WebP work too), adjust padding and corner radius, then download.

Image Favicon

Upload Your Image

Drag and drop an image here, or click to browse

Supports PNG, JPG, GIF, SVG (max 5MB)

💡 Tips for Best Results

  • • Use square images for best results
  • • High contrast images work better at small sizes
  • • Simple designs are more recognizable as favicons
  • • Avoid text in images — it may be unreadable at small sizes

Preview

Preview

64x64 preview

Different Sizes

16x16

32x32

48x48

64x64

Preview in light and dark mode

Your Website Title
Dark OS taskbar / home screen
Pinned
Tip: some icons look great on white but disappear on dark — this preview helps you catch that before downloading.

HTML Code

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

Download Options

Raster format

ICO mode keeps loose PNGs for the web; favicon.ico (16–64) is always added to the ZIP. PWA icons stay PNG.

Sizes

|
PWA manifest (site.webmanifest)
PWA ready
What is a web app manifest?
A site.webmanifest tells browsers which icons to use when your site is saved to a phone home screen or installed as a PWA.
Included in ZIP with 192×192 and 512×512 PNG icons.

📋 Usage Instructions

  1. 1. Download your favicon files
  2. 2. Upload them to your website's root directory
  3. 3. Add the HTML code from the preview panel to your <head>
  4. 4. Test your favicon in different browsers
File Information
Loose icons: PNG (ICO mode uses PNG for loose files)
Always included: multi-size favicon.ico (PNG frames)
Selected sizes: 7
ZIP: selected icons + favicon.ico + site.webmanifest + 192×192 + 512×512 PNG

Who this converter is for

Most brand logos are delivered as SVG, but most places a favicon appears cannot use one. This page is for turning that one vector file into everything else:

  • Developers handed a logo.svg by a designer, who need the full icon set for a launch.
  • Designers who want to check how their mark survives at 16 px before handing it over.
  • Site owners on WordPress, Shopify or a site builder, where the favicon field only accepts PNG.

How to convert SVG to a favicon

  1. 1

    Prepare the SVG

    Use a square viewBox (for example viewBox="0 0 512 512"), convert any text to outlines and inline your fill colours. Give the root <svg> a width and height so every browser can rasterise it.

  2. 2

    Upload it in the Image tab

    Drag the file into the generator above or click to choose it. The preview updates immediately.

  3. 3

    Check the 16 px preview

    Thin strokes and small details disappear first. If the 16×16 preview looks muddy, simplify the mark or increase padding.

  4. 4

    Download the ZIP

    You get favicon.ico, the PNG sizes you selected, apple-touch-icon.png, the two Android Chrome icons and site.webmanifest.

  5. 5

    Add the files and HTML

    Upload everything to your site root and paste the HTML below into your <head>. Then run the favicon checker to confirm each file loads.

SVG favicon or converted files?

You usually want both. The SVG is the sharpest option where it is supported; the converted files cover everything else.

Where the icon appearsFile it uses
Chrome, Edge, Firefox tabsfavicon.svg if declared, otherwise favicon.ico / 32×32 PNG
Safari tabs and older browsersfavicon.ico or the 32×32 PNG
iPhone and iPad home screenapple-touch-icon.png (180×180)
Android home screen and PWA install192×192 and 512×512 PNGs from site.webmanifest
Windows shortcuts, RSS readers, many crawlers/favicon.ico

Full format comparison: ICO vs PNG vs SVG favicons. Dark-mode SVG techniques: SVG favicon guide.

HTML for an SVG favicon with fallbacks

Keep sizes="32x32" on the ICO line. With sizes="any", Chrome prefers the ICO and never uses your SVG.

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

Leave out the second line if you are not shipping the SVG itself. Sizes for each file are covered in the favicon sizes guide; Android manifest details are in the Android Chrome icon sizes section.

SVG problems that break conversion

What you seeCauseFix
Blank or tiny previewNo width/height on the root <svg>, only a viewBoxAdd width="512" height="512" to the <svg> element
Letters in the wrong fontText uses a web font that is not embeddedConvert text to outlines (paths) in your editor before exporting
Black shapes instead of coloursFills come from an external stylesheet or CSS variablesExport with inline fill attributes or a <style> block inside the file
Logo squashed to one sideviewBox is not square, or has extra empty spaceCrop the artboard to the mark and use a square viewBox
Embedded photo missingThe SVG links to an external image fileEmbed the image, or upload a PNG instead

A minimal SVG that converts cleanly looks like this:

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
  <rect width="512" height="512" rx="96" fill="#1d4ed8"/>
  <path d="M176 128h176v64H248v48h88v64h-88v80h-72z" fill="#ffffff"/>
</svg>

Square viewBox, explicit size, inline fills, text drawn as a path. Exports from Figma ("Outline text" on) and Illustrator ("Presentation attributes") usually meet all four.

Tips for a sharp result

  • ✓Crop the SVG to the mark itself. A wordmark next to a logo becomes unreadable at 16 px — use just the symbol.
  • ✓Use solid fills rather than hairline strokes; strokes under 2 px at 512 px vanish at 16 px.
  • ✓Switch the preview to dark mode before downloading. A dark logo with no backing shape can disappear on dark browser tabs.
  • ✓Keep the main shape within the central 80% if you plan to use the 512 px icon as a maskable Android icon.

SVG to favicon FAQ

Can I use an SVG file directly as a favicon?▾
Yes, in Chrome, Edge and Firefox: add <link rel="icon" href="/favicon.svg" type="image/svg+xml"> to your head. Safari has historically ignored SVG favicons, and iPhone home screens, Android manifests and many crawlers only read PNG or ICO, so keep favicon.ico, a 32×32 PNG and a 180×180 apple-touch-icon alongside it.
Why convert an SVG to ICO and PNG at all?▾
Because the places a favicon appears are not all browsers. Windows shortcuts and older browsers request /favicon.ico, iOS uses apple-touch-icon.png, Android reads PNGs from site.webmanifest, and Google Search fetches whichever icon your page declares. Converting once gives you every file those consumers expect.
What files do I get after converting?▾
A ZIP with favicon.ico (16, 32, 48 and 64 px layers), favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png (180×180), android-chrome-192x192.png, android-chrome-512x512.png and a site.webmanifest that references the Android icons. You can untick sizes you do not need.
Will my SVG look the same after conversion?▾
Shapes and fill colours are preserved because the SVG is rendered by your browser before it is rasterised. Things that live outside the file do not survive: external stylesheets, CSS variables defined elsewhere, and web fonts. Convert text to outlines and inline your colours before uploading.
Do converted PNG and ICO favicons support dark mode?▾
No. PNG and ICO are static images. Only an SVG favicon can switch colours with a prefers-color-scheme media query. If dark mode matters, ship your original SVG as favicon.svg and check the PNG and ICO versions in the dark-mode preview before downloading.
Is my SVG uploaded to a server?▾
No. The conversion happens in your browser with the HTML5 canvas. The file never leaves your device.

Related tools and guides