One file, every size
Vector icons scale from a 16px browser tab to a 512px maskable icon with zero extra assets. No more exporting a dozen ICO sizes for every logo tweak.
Minify, recolor, preview, and export — with native browser APIs only. Nothing is uploaded.
Tip: drag & drop a .svg file anywhere onto this panel.
Overrides every fill or stroke value instantly — none is always preserved.
Interactive favicon preview
Workflow
Editor exports carry bulky prologs, metadata, and formatting whitespace that browsers never need. Strip them, normalize the quoting, encode once, and every consumer — stylesheets, favicon tags, and inline markup — shares the same lean source of truth.
Drop raw markup into the editor or drag a file onto the panel. The original byte size appears instantly as a badge above the editor.
Strip the XML declaration, editor metadata, and comments, collapse whitespace, and flip inner double quotes to single quotes so the result nests safely inside CSS url("...").
Use the color tweaker to override fill or stroke in one click, then flip the browser-tab mockup between light and dark to verify the icon stays legible.
Grab the CSS background, URL-encoded or Base64 data-URI, favicon link tag, or minified SVG — or export a 32x32 / 64x64 PNG rendered locally on canvas.
Favicons
The ICO format bundles fixed raster sizes from a pre-retina era. A single SVG replaces the whole bundle: it stays sharp on any display density, ships in a fraction of the bytes, and remains editable text you can version, theme, and audit like any other source file.
Vector icons scale from a 16px browser tab to a 512px maskable icon with zero extra assets. No more exporting a dozen ICO sizes for every logo tweak.
A cleaned mark is often under 1 KB and can inherit theme colors via currentColor or the tweaker above — impossible with a baked raster ICO.
SVG is markup: diff it in git, lint it in CI, and paste it inline. The minified output below drops straight into HTML or a design-system component.
Performance
Both forms embed SVG without extra HTTP requests, but they pay different costs. URL-encoding keeps the markup nearly the same size and readable, while Base64 inflates every 3 bytes into 4 characters and hides the content. Default to URL-encoding for icons and reach for Base64 only when escaping becomes a fight.
| Aspect | URL-Encoded | Base64 |
|---|---|---|
| Size overhead | ~0–10% over raw SVG | ~33% over raw SVG |
| Readability | Human-readable, diffs cleanly | Opaque blob, unreadable |
| CSS safety | Needs single-quote care (handled here) | Always safe, no escaping edge cases |
| Best for | Small icons, favicons, backgrounds | Large or quirky files, strict pipelines |
FAQ
Never. The optimizer, encoder, and PNG renderer all run locally in your browser tab using built-in web APIs. Your markup is parsed with in-memory regular expressions, encoded with native URL and Base64 functions, and rasterized on a local canvas — the network tab stays silent. Your last draft is remembered only in your own browser localStorage under the key svgkit:state so you can resume after a reload.
Yes for all evergreen browsers: Chrome, Edge, Firefox, and Safari all render SVG favicons from a link tag, with crisp scaling at any DPI. Very old browsers fall back to ignoring the tag, so keep a classic 32x32 PNG alongside it if you must support legacy clients — this page exports that PNG for you in one click.
Prefer URL-encoding for small icons and favicons: it adds almost no size overhead, stays human-readable, and diffs cleanly. Choose Base64 only when the markup contains characters that are painful to escape or when a strict pipeline mangles percent-encoded output. The comparison table above shows the exact trade-offs.