Which tool do I need?
| What you want to do | Tool |
|---|---|
| Make the small icon shown in browser tabs (a favicon) | Favicon generator |
| Make an iPhone home-screen icon or 192/512 px app icons | Favicon generator |
| Get a transparent PNG from an SVG logo | SVG to PNG |
| Upload an SVG somewhere that accepts only JPG | SVG to JPG |
| Pad a logo picture into a square | Square image with padding |
| Make icons and images smaller | Compress image |
The icons a website needs
| File | Size | Where it shows |
|---|---|---|
| favicon.ico | 16, 32 and 48 px | Browser tabs, bookmarks, next to search results |
| apple-touch-icon.png | 180 px | iPhone and iPad home screens |
| icon-192.png | 192 px | Android home screens |
| icon-512.png | 512 px | Web app install and splash screens |
They are all the same picture at different sizes, so reducing each one from a single source gives the cleanest result. Use a square source of 512 px or more, ideally a transparent PNG; for an SVG logo, first export a 1024 px PNG with SVG to PNG.
When to use SVG, PNG or JPG
| Format | What it is | Good for |
|---|---|---|
| SVG | A drawing described as shapes; sharp at any size, small files | Logos and icons on websites, design sources |
| PNG | Pixels, can be transparent, crisp text and lines | Logos in documents and slides, app icons, screenshots |
| JPG | Pixels, no transparency, best for photos | Upload forms that accept only JPG, pictures with photos |
On your own website, use the SVG as it is. Convert to PNG or JPG only for places that do not take SVG, such as chat apps, documents and upload forms.
Your files never leave this device
Drawing the icons, building the ICO file and turning SVG into pictures all happen inside your browser. An SVG is loaded only as a picture, so any script inside it never runs.