1001Ferramentas
🔖 Dev

PWA Favicon SVG Generator

Generate a simple inline SVG favicon from letter(s) or emoji and background color. Ready to paste into <head>.

Snippet HTML:

An SVG favicon in one HTML line

The project has no logo yet, but the browser tab is already showing that blank sheet of paper. Producing a full icon set at this stage is disproportionate work. Type up to three characters or an emoji, pick a background and a text color, and you get a link tag with the SVG embedded as a data URI. Paste it into the head and you are done: no new file on the server, no extra request.

The artwork is a 64 by 64 square with rounded corners and centered text at font size 40, family sans-serif. The font itself does not travel with it, so the visitor's system resolves it and the result shifts slightly between Windows, Android and macOS. That size comfortably fits one or two characters. At three, letters touch the edges or spill past them, which is what the live preview next to the output is for.

Despite the PWA in the name, this does not produce a manifest.json, nor the 192 and 512 pixel PNGs Android requires before it offers installation, nor an apple-touch-icon (iOS ignores SVG favicons for home screen icons). Treat it as the tab, address bar and bookmark icon, and generate the rest separately when you package the app. Building the SVG and the snippet happens entirely in your browser.

Frequently asked questions

Does an emoji work as a favicon?
It does, but the glyph comes from the visitor operating system. The same emoji looks different on Windows, Android and iPhone.
Do I still need a favicon.ico at the root?
It is worth keeping one. Older browsers and many crawlers request /favicon.ico directly without reading the link tag.
Can I download the SVG as a file?
There is no download button. The output is the inline snippet ready to paste; turning it into a separate file would mean URL-decoding it by hand.

Related Tools