Open Converter

Safari pinned tab icon (mask-icon)

Author: Augusto Cesar Perin • Updated:

Add a Safari pinned tab icon with link rel="mask-icon". Use a monochrome SVG and choose a mask-icon color. IcoSmith can export the SVG and your full favicon set.

How to add

  1. Generate your favicon set (ICO + PNGs). Prepare a simple monochrome SVG for Safari.
  2. Place safari-pinned-tab.svg in /public.
  3. Add this to your <head>:
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#0f172a">

FAQ

How do I add a Safari pinned tab icon (mask-icon)?

Add <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#0f172a"> inside your <head>.

Which SVG works best for mask-icon?

Prefer a single-color fill (no strokes/gradients) and keep margins so it doesn’t clip at 16–32 px.

Tips

Common mistakes

Validation

Open Converter