ANSWER

Quick answer

A normal rel=icon candidate can appear in ordinary browser tabs. A historical Safari pinned-tab mask uses a separate SVG declared with rel=mask-icon and a color. An Apple touch icon is a raster image for home-screen shortcuts.

Last verified
July 31, 2026
Evidence
Primary documentation plus transparent editorial analysis
Primary sources
3
FACTS

Safari Pinned Tab Icons, SVG Masks and Touch Icons: key distinctions

AssetPurpose
favicon.svgNormal scalable browser icon
mask-icon SVGDedicated monochrome pinned-tab silhouette
apple-touch-icon.png180×180 home-screen shortcut image
01

Three Apple-facing assets with different jobs

A normal rel=icon candidate can appear in ordinary browser tabs. A historical Safari pinned-tab mask uses a separate SVG declared with rel=mask-icon and a color. An Apple touch icon is a raster image for home-screen shortcuts.

Do not rename one asset to fill all three roles. Their selection rules, artwork assumptions and presentation differ.

Connected next stepFavicon API Automation: Deterministic Generation in CI/CD for the closest prerequisite or comparison.

02

Design the mask artwork

Pinned-tab masks are effectively monochrome silhouettes. Remove gradients, embedded photographs and fine interior detail; make the recognizable shape work as one color against Safari’s chosen presentation.

Use a square viewBox and keep essential geometry away from the edge. Treat the color attribute as presentation metadata rather than proof that multicolor SVG artwork will be preserved.

Connected next stepFavicon MIME Types for ICO, SVG, PNG and Manifests for the next connected implementation decision.

03

Declare only what you support

Place ordinary rel=icon declarations in the shared head. Add rel=mask-icon only when you maintain and test the dedicated SVG mask. Keep apple-touch-icon pointed to the deliberate 180×180 PNG.

Request each path on the production hostname and confirm the MIME type and bytes. A framework catch-all returning HTML with status 200 is not a usable icon response.

Connected next stepOpen the most relevant production tool and verify the decision with a working output.

04

Test Safari surfaces separately

A tab, pinned tab, favorite and iPhone home-screen shortcut can retain different assets and caches. Record the Safari and operating-system version, the exact surface and the date when publishing a manual observation.

Use a new profile or clean device state to separate deployment failures from retained local artwork, but do not present one successful surface as proof of every Apple client.

TOOLS

Apply this guide with the relevant tools

Use the smallest tool that verifies the specific decision described above. Each destination keeps the source format, deployment evidence, or platform purpose explicit.

DOWNLOADABLE EVIDENCE

Review the headings, sources, implementation artifact, and update record for this guide as structured JSON.

Download guide evidence ↓
Evidence scope
Guide
Safari Pinned Tab Icons, SVG Masks and Touch Icons
Coverage
Client behavior can change by browser, operating system, platform version, cache state and deployment configuration. Unperformed manual observations are not claimed.
Q&A

Questions, answered

Is mask-icon the same as an SVG favicon?+

No. A mask icon is a dedicated monochrome pinned-tab asset; a normal SVG favicon can contain a regular multicolor browser design.

Can apple-touch-icon be SVG?+

Use a dedicated PNG for the broadly documented Apple touch-icon workflow.