Favicon Generator
Generate favicon files in multiple sizes from text or an uploaded image using Canvas API. Download individual PNGs or a ZIP with all sizes and ready-to-use HTML link tags.
关于此工具
Create professional favicons for your website without Photoshop or an online service that uploads your files. The generator works entirely in the browser using the Canvas API. Two creation modes give you flexibility. Text favicon mode lets you type 1–2 characters (initials, an icon glyph, or a symbol), choose from several font families, set the foreground color, background color, and optionally enable rounded corners or a circular shape — perfect for quickly generating a branded icon for a project. Image favicon mode lets you upload any image (PNG, JPG, SVG, WebP) and crops it to a square by letting you pan and scale the crop window, then downsizes it to each target resolution. The tool generates all standard sizes: 16×16 (browser tab), 32×32 (taskbar), 48×48 (Windows), 64×64, 128×128, and 180×180 (Apple Touch Icon for iOS bookmarks). A browser tab mockup shows a realistic preview of how the favicon looks at 16×16 next to a sample page title. Each size is available for individual PNG download. Clicking Download All as ZIP packages every size plus a snippet of the recommended HTML link tags ready to paste into your document head.
使用方法
- 1 Choose 'Text' or 'Image' mode.
- 2 For Text mode: type 1–2 characters, pick a font, foreground color, and background color, then adjust the shape (square, rounded, circle).
- 3 For Image mode: upload an image, use the crop tool to select the square region you want, then click Apply Crop.
- 4 Preview the favicon at 16×16 in the browser tab mockup.
- 5 Click the download icon next to any individual size to save that PNG.
- 6 Click 'Download All as ZIP' to get all six sizes plus the ready-to-use HTML snippet.
常见问题
在浏览器中交互式裁剪、旋转和翻转图像,支持预设宽高比。
在 HEX、RGB、HSL、HSV 和 CMYK 之间转换颜色 — 实时预览。
Resize and compress images in the browser using Canvas API — by percentage, exact dimensions, or max dimension — with batch processing and ZIP download.
将SVG标记转换为CSS background-image数据URI——URL编码或Base64格式。