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
64x64 preview
Different Sizes
16x16
32x32
48x48
64x64
Preview in light and dark mode
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
📋 Usage Instructions
- 1. Download your favicon files
- 2. Upload them to your website's root directory
- 3. Add the HTML code from the preview panel to your <head>
- 4. Test your favicon in different browsers
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
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
Upload it in the Image tab
Drag the file into the generator above or click to choose it. The preview updates immediately.
- 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
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
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 appears | File it uses |
|---|---|
| Chrome, Edge, Firefox tabs | favicon.svg if declared, otherwise favicon.ico / 32×32 PNG |
| Safari tabs and older browsers | favicon.ico or the 32×32 PNG |
| iPhone and iPad home screen | apple-touch-icon.png (180×180) |
| Android home screen and PWA install | 192×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 see | Cause | Fix |
|---|---|---|
| Blank or tiny preview | No width/height on the root <svg>, only a viewBox | Add width="512" height="512" to the <svg> element |
| Letters in the wrong font | Text uses a web font that is not embedded | Convert text to outlines (paths) in your editor before exporting |
| Black shapes instead of colours | Fills come from an external stylesheet or CSS variables | Export with inline fill attributes or a <style> block inside the file |
| Logo squashed to one side | viewBox is not square, or has extra empty space | Crop the artboard to the mark and use a square viewBox |
| Embedded photo missing | The SVG links to an external image file | Embed 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.