How to Add a Favicon in WordPress
WordPress calls it a Site Icon and handles every size for you. Here's the 60-second walkthrough.
Check favicons on any website
Install the FetchFavicon Chrome Extension to extract, preview, and validate favicons instantly.
Via the Customizer
Appearance → Customize → Site Identity → Site Icon. Upload a square 512×512+ PNG and click Publish.
Via your theme
For custom control, override get_site_icon_url() in functions.php. Useful when you want different icons per site section.
Why isn't my favicon updating?
Browsers cache favicons aggressively. Hard-refresh, or append ?v=2 to the favicon URL once to bust the cache.
Platform Dimension Specifications & Compression Benchmark
Standard dimension requirements across search engines, mobile OS, and WebAssembly Oxipng lossless byte reduction.
| Target Platform / OS | Required Dimensions | Format & Delivery | Oxipng Wasm Weight | Byte Savings |
|---|---|---|---|---|
| Google Search SERP | 48×48 px (multiples of 48) | .ico, .png | 4.6 KB | -68.9% |
| Apple iOS / iPadOS Safari | 180×180 px | .png (apple-touch-icon) | 14.8 KB | -67.9% |
| Android Chrome & PWA | 192×192 px & 512×512 px | .png (site.webmanifest) | 59.1 KB | -69.3% |
| Windows Edge & Desktop | 16×16, 32×32, 48×48 px | Multi-resolution .ico | 8.8 KB | -69.5% |
| Legacy Web Browsers | 32×32 px / 16×16 px | .ico (/favicon.ico) | 3.1 KB | -67.0% |
* Benchmark measurements based on lossless RGBA Oxipng WebAssembly compression executing locally in modern web browsers.
FAQ
How do I add a favicon in WordPress without code?
Go to Appearance → Customize → Site Identity → Site Icon. Upload a square 512×512+ PNG and click Publish.
What favicon size does WordPress require?
WordPress asks for at least 512×512 pixels. It auto-generates smaller sizes from your upload.
Why is my WordPress favicon not updating?
Browsers cache favicons heavily. Hard-refresh or append ?v=2 to the favicon URL once after uploading a new icon.