logo
GeekFormat

Favicon Generator

Single-Page Favicon Generator

Preview

text · G
--
16×16
--
32×32
--
180
--
192
--
512
Package includes:favicon.ico · 16/32/180/192/512 png · site.webmanifest

HTML Installation Code

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<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="manifest" href="/site.webmanifest">

Place files in your site root and insert the code into <head>.

GeekFormat's online Favicon Generator helps you quickly create a complete website icon pack meeting modern browser standards—no Photoshop or design software needed. Three generation modes: ① Text mode: enter 1-2 letters/characters with 8 font options, font size slider, customizable text color and background color; ② Image mode: upload PNG/JPG/WebP images, auto-centered and cropped to square; ③ Emoji mode: enter or select Emoji for quick generation. Supports square/rounded rectangle/circle shapes with optional transparent background. Real-time preview of 5 sizes (16×16/32×32/180×180/192×192/512×512), regenerates live with 160ms debounce. One-click ZIP download includes: favicon.ico (legacy IE compatible), favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png (iOS bookmark icon), android-chrome-192x192.png, android-chrome-512x512.png (PWA icons), site.webmanifest (PWA configuration), plus standard HTML head link code ready to copy. Pure Canvas local generation—no image uploads.

Use Cases

  • Quickly creating favicons for new personal blogs, company websites, or standalone sites without opening design software
  • Frontend developers generating temporary icons for project demos/prototypes/landing pages
  • Generating text icons with brand initials for internal systems and admin dashboards
  • Using Emojis as favicons for personal projects, open source project documentation sites—fun and hassle-free
  • Generating complete icon packs before client website launches, covering desktop, iOS, Android, PWA sizes in one go
  • Creating dedicated favicons for campaign pages and marketing landing pages matching primary visual colors
  • Generating all required icons and webmanifest config before PWA project packaging
  • Quickly adding favicons to projects deployed on GitHub Pages, Vercel, Netlify
  • Temporarily replacing favicons during development/debugging to preview effects without repetitive export
  • Creating personal favicons with letters or simple Emojis for portfolios/resume websites
  • Understanding favicon sizes and HTML referencing methods while learning web development
  • Replacing old website favicons—one-click generation of a complete modern standard icon pack upgrade

Features

  • Three icon sources: Text (1-2 characters, 8 fonts), Upload Image (PNG/JPG/WebP auto-centered crop), Emoji (12 quick Emojis + custom input)
  • Three shape styles: sharp square, 22% rounded rectangle, circle crop—covering traditional websites to modern app icon aesthetics
  • Transparent background option: one-click toggle between transparent/colored background, adapts to dark mode and different browser tab backgrounds
  • Full text customization: text color + background color pickers, 8 system fonts (Arial/Verdana/Georgia/Times New Roman/Courier New/Impact/Tahoma/Trebuchet MS), font size slider with fine 0.48-0.82 ratio adjustment
  • 8 system fonts: from sans-serif (Arial/Verdana/Tahoma/Trebuchet MS), serif (Georgia/Times New Roman) to monospace (Courier New), bold display (Impact)—matching various brand styles
  • 5-size real-time preview: 16×16 (browser tab), 32×32 (taskbar), 180×180 (Apple touch icon), 192×192/512×512 (Android/PWA)—see results as you adjust
  • Complete standard icon pack: one-click ZIP download with favicon.ico + 5 PNGs + site.webmanifest (7 files total), covering desktop, mobile, and PWA scenarios
  • favicon.ico for legacy browser compatibility: auto-generates standard ICO format file compatible with old IE and other legacy browsers—not just PNGs
  • apple-touch-icon: generates 180×180 icon for iOS Safari 'Add to Home Screen'
  • PWA support: includes 192/512 Android Chrome icons and site.webmanifest config, meeting Progressive Web App requirements
  • HTML code one-click copy: provides standard link tag snippets—just copy and paste into your website's <head>
  • 160ms debounce real-time preview: auto-regenerates after adjusting colors/font/size/shape—see results as you tweak without clicking a generate button
  • Auto-centered image crop: uploaded images are automatically center-cropped to square—no need to pre-crop to 1:1 ratio
  • Pure Canvas local processing: all icons drawn locally via browser Canvas API and ZIP-packed with JSZip—images never uploaded to servers, sensitive logos stay secure

How to Use

  1. Select generation mode: 'Text' to enter letters/characters, 'Image' to upload logo, 'Emoji' to select emoji
  2. Adjust styling: choose font (text mode), adjust font size, pick text and background colors, select shape (square/rounded/circle), choose transparent background option
  3. Observe real-time preview of 5 sizes on the right, confirm 16×16 small icon is legible
  4. Click 'Download ZIP' button to save icon pack locally, copy HTML code snippet, extract files to website root, paste code into <head>

FAQ

What files are included in the generated ZIP package?

7 standard files: favicon.ico (32×32 embedded ICO format for legacy browser compatibility), favicon-16x16.png (browser tab small icon), favicon-32x32.png (browser taskbar/bookmarks), apple-touch-icon.png (180×180 for iOS Safari Add to Home Screen), android-chrome-192x192.png and android-chrome-512x512.png (Android/PWA icons), site.webmanifest (PWA config file defining icons and theme color).

How many characters can I enter in text mode?

1-2 characters recommended (letters, numbers, or CJK characters), such as brand initial 'G', two-letter 'GF', or single character. Since favicon sizes are very small (16×16 pixels is only 16 pixels wide), too many characters become illegible. The tool auto-truncates to max 2 characters.

What image formats are supported for upload?

Three common image formats: PNG, JPG/JPEG, WebP. After upload, the tool automatically center-crops images to square (taking the middle square region)—you don't need to pre-crop to 1:1 ratio. Square logos with clean backgrounds yield best results.

How do I use the generated HTML code?

After downloading and extracting the ZIP, place all files in your website root directory, then copy the provided HTML code (4 lines of link tags) and paste into your webpage's <head> section. The code already includes all necessary icon references—favicon, apple-touch-icon, and manifest.

What's the difference between circle/rounded/square shapes?

Square is traditional favicon style with sharp corners; rounded rectangle is modern website/app style (22% radius); circle suits social media aesthetics or brands requiring circular icons. Note: browsers typically apply their own rounding/masks when displaying favicons—the three shapes mainly affect PWA home screen icon appearance.

What's transparent background for?

Default icons have a background color; enabling transparent background skips drawing the background layer, leaving only text/Emoji/image opaque. Transparent favicons work well for blending with browser tab backgrounds, or if your logo itself is a transparent PNG. Note: when using transparent background in text/Emoji mode, ensure text color is legible on both light and dark backgrounds.

Can I use any Emoji in Emoji mode?

Yes. You can directly input any Emoji (max 2), or choose from 12 commonly provided quick Emojis (🔥🚀✨🎯💡✅🌈🧠💎📦🪄❤️). Emoji rendering depends on system fonts, so appearance may vary slightly across devices.

Why are multiple icon sizes needed?

Different scenarios use different sizes: browser tabs use 16×16, bookmarks/taskbars use 32×32, iOS Add to Home Screen uses 180×180, Android home screens and PWAs use 192/512. Providing only favicon.ico looks blurry on high-DPI screens and mobile; multi-size PNGs ensure crisp display on any device.

Can I generate PWA icons with this?

Yes. android-chrome-192x192.png, android-chrome-512x512.png, and site.webmanifest in the ZIP are prepared specifically for PWAs (Progressive Web Apps). The webmanifest file includes icon paths and theme color configuration—placing it in your website root satisfies PWA icon requirements.

Will uploaded logo images be sent to servers?

No. All icon drawing, resizing, ICO generation, and ZIP packaging happen entirely in your browser locally via Canvas API and JSZip library. Image data never leaves your computer—internal environments and unreleased logos are completely safe.

Why does my 16×16 small icon look blurry?

16×16 pixels is only 256 pixels total—extremely small. If your design is too complex (multiple small characters, too much detail), shrinking it inevitably blurs. Keep favicon designs simple: one letter, a simple shape, or a single Emoji works best. That's why favicons are typically simplified versions of brand logos.

How do I get the browser to show the updated favicon?

Browsers cache favicons aggressively. If you still see the old icon after updating: ① Hard refresh (Ctrl+F5/Cmd+Shift+R); ② Clear browser cache; ③ Add a version parameter to the favicon path (e.g., favicon.ico?v=2).

Do I need both favicon.ico and PNG icons?

Modern browsers all support PNG favicons, but favicon.ico is the traditional format for old browser compatibility (mainly IE series). The tool generates both for maximum compatibility. PNG alone works for modern browsers, but including both is safer.

Is SVG favicon supported?

Currently generates standard PNG+ICO icon packs. SVG favicons are supported by modern browsers but compatibility is inconsistent. The ZIP covers the vast majority of scenarios; if you need SVG, you can add the SVG file to your HTML head separately.

Does it work on mobile?

Yes. The tool has responsive layout—adjusting parameters, previewing, and downloading all work on phones. However, ICO generation and ZIP packaging require some mobile browser performance; desktop use is recommended for best experience.

About Favicon Website Icons

Favicon (short for Favorites Icon, also called website icon or bookmark icon) is the small icon displayed in browser tabs, bookmarks bar, history, and address bar—one of the most fundamental elements of website brand identity. A website without a favicon shows a blank document icon among tabs, appearing unprofessional; a well-designed favicon lets users quickly find your site among many tabs, making it essential before launch.

Modern websites need more than just a favicon.ico. With mobile proliferation and PWA (Progressive Web App) development, a complete website icon pack requires multiple sizes and formats: traditional favicon.ico for legacy browsers, 16/32 PNGs for browser tabs and bookmarks, 180×180 apple-touch-icon for iPhone/iPad 'Add to Home Screen', 192/512 PNGs for Android home screens and PWA splash screens, plus site.webmanifest telling browsers where these icons are and the theme color. Manually creating all these sizes and writing correct HTML reference code is tedious for developers without design backgrounds.

Text favicons are the quickest approach: most personal blogs, open source projects, and internal systems don't need complex logo designs. A clean text icon using brand initials (like G for Google, F for Facebook) with brand colors works great. The tool provides 8 common system fonts, font size adjustment, and color customization—no Photoshop/Figma needed, create a professional favicon in a minute.

Emoji favicons are a popular simple approach in recent years: Emojis themselves are designer-drawn small icons with vivid colors and high recognition. Using a relevant Emoji (like rocket 🚀 for speed, lightbulb 💡 for ideas, fire 🔥 for trending) as favicon for personal projects, prototypes, or docs sites is fun and convenient—far better than a blank icon, with built-in cross-platform consistency (though rendering varies slightly between systems).

Image mode suits scenarios with existing logos: if you already have a brand logo image, upload it and the tool auto-centers and crops to square, generating all needed sizes. Note that at small sizes icons are only 16 pixels wide—complex logos shrink into an unrecognizable blob. That's why favicons are typically not the full logo but the symbol/mark portion—like Nike's swoosh, Apple's apple, McDonald's M—simple shapes remain legible at tiny sizes.

Why local generation without server upload? First, privacy: unreleased brand logos and client design drafts are sensitive assets—uploading to third-party tool servers carries leakage risk. Second, speed: local Canvas drawing completes instantly, no upload/download wait. Third, reliability: no network needed, works in intranet environments. All image processing uses the browser's native Canvas API; ZIP packaging uses pure-JS JSZip library—no backend service required.

Three shapes (square, rounded, circle) adapt to different platform styles: Windows traditionally uses square icons, iOS/iPadOS uses rounded rectangles (Squircle), Android and some websites use circular icons. The 22% rounding in the tool is a versatile corner radius approaching modern UI aesthetics. Note: browsers typically don't crop favicons to circles when displaying (with a few exceptions)—circles mainly affect appearance after adding to phone home screens.

Notes: ① Favicon effectiveness depends heavily on design simplicity—complex patterns will blur at 16×16, use simple text/graphics/Emojis; ② Emoji rendering depends on OS fonts, appearance may differ across systems; ③ ICO file is generated based on embedded 32×32 PNG, meeting most compatibility needs; ④ Transparent backgrounds may appear as black or white in some old browsers—colored backgrounds are recommended for main sites for reliability.

术语表

Favicon
Favorites Icon (website icon), small icon displayed in browser tabs, bookmarks bar, address bar—a fundamental element of website brand identity, typically named favicon.ico.
favicon.ico
Traditional Windows icon format file that can embed multiple icon sizes, included for IE and legacy browser compatibility. Modern browsers support PNG favicons but ico files have best compatibility.
apple-touch-icon
Icon used by iOS Safari for 'Add to Home Screen', 180×180 pixels—Apple-specific website icon for home screen bookmarks.
site.webmanifest
PWA (Progressive Web App) JSON configuration file defining app name, icons, theme color, launch behavior—required for modern websites to deliver app-like experiences.
PWA (Progressive Web App)
Progressive Web App—websites that can install to phone home screens like native apps, requiring large-size icons and manifest configuration files.
Canvas API
Browser-native 2D drawing API, used by this tool to draw various icon sizes locally without server-side image processing.
JSZip
Pure JavaScript ZIP compression library for creating and downloading ZIP files in-browser; used by this tool to package all icon files.
160ms Debounce
Wait 160ms after parameter adjustment before regenerating icons, avoiding redraws on every millisecond during slider drags for smoother experience.
Center Crop
After image upload, automatically crop the middle square region to 1:1 ratio—users don't need to manually pre-crop images.
DPI/High-Resolution Screens
High-DPI screens (e.g., Retina) map multiple physical pixels per CSS pixel; providing large PNGs (32/180/512) ensures crisp icon display on high-resolution screens.
Transparent Background
Skip drawing the icon background layer, leaving only foreground text/image—allows blending with browser tab backgrounds for special design needs.
Browser Cache
Browsers cache favicon files to reduce requests; hard refresh or version parameter needed to see new icons after updates.

Icon Size Usage Reference

Purpose of each file in the ZIP package:

FilenameSizeUse Case
favicon.icoMulti-size embeddedLegacy compatibility, address bar, IE browsers
favicon-16x16.png16×16Browser tab small icon
favicon-32x32.png32×32Taskbar, bookmarks bar, shortcuts
apple-touch-icon.png180×180iPhone/iPad Add to Home Screen
android-chrome-192x192.png192×192Android home screen icon, PWA small icon
android-chrome-512x512.png512×512PWA splash screen, install dialog
site.webmanifestJSON textPWA config file, defines icons and theme color

Three Shape Styles Explained

Scenarios best suited for each shape:

ShapeStyle CharacteristicsBest For
SquareSharp corners, traditional classicTraditional websites, Windows desktop, admin systems
Rounded22% rounded corners, modern and smoothModern websites, SaaS products, mobile-first style
CirclePerfect circle, social media aestheticSocial products, personal brands, app icons

Available Fonts List

8 system fonts supported in text mode:

Font NameTypeStyle Description
ArialSans-serifUniversal, modern, neutral—safest choice
VerdanaSans-serifWide letterforms, legible—designed for screens
Trebuchet MSSans-serifHumanist, friendly and rounded
TahomaSans-serifCompact, crisp—commonly used on Windows
GeorgiaSerifClassic and elegant, suited for traditional/reading-focused sites
Times New RomanSerifClassic formal, academic/news traditional style
Courier NewMonospaceProgrammer/technical feel, code aesthetic
ImpactDisplay BoldThick and attention-grabbing, strong display presence

Privacy & Security

All icon drawing, format conversion, ICO generation, and ZIP packaging in this Favicon Generator happen entirely in your browser locally via Canvas API and JSZip. Your uploaded images, entered text/Emojis, and selected color parameters are never uploaded to any server, nor recorded or stored. All file generation completes in local memory; temporary data is automatically cleared on page close. Unreleased logos, brand design drafts, and other sensitive content are completely safe to use.

Authoritative References

Troubleshooting

Browser says ZIP is unsafe after download?

ZIP files are generated locally by browser JSZip without passing through servers—completely safe. Some browsers may warn about locally generated downloads; select 'Keep' to proceed. File contents are images and JSON text only—no executable code.

Why does uploaded image preview look cropped?

The tool automatically performs 1:1 square center-crop on uploaded images. If you upload a rectangular image, edges will be cropped. Best results come from uploading square logos, or placing your logo centered on a square canvas before upload.

16×16 preview looks really blurry?

16×16 is genuinely a very small size—complex patterns inevitably blur. This is not a tool issue but a size limitation. Simplify your design: fewer characters, less detail, high-contrast colors—simple shapes remain clear at 16px.

Browser still shows old favicon after replacement?

Browsers aggressively cache favicons. Solutions: ① Ctrl+F5/Cmd+Shift+R hard refresh; ② Open in new tab; ③ Clear browser cache and images; ④ Add query parameter ?v=2 to favicon path to force update; ⑤ Check in incognito window to verify new icon.