title: Favicon Standard - 2022 - svg, ico, png and dimensions?
body: <p>What favicon dimensions, file formats and meta/link tags should be used as of 2022? This includes apple icon, windows, android and other devices people use today.</p>
  <p>I use Opera and I can see it supports svg format. Is it the best solution to use svg nowadays? Is there any option &quot;one file fits all&quot;?</p>
  <p>I've been browsing many websites and checked different &quot;favicon generators&quot;. All of them are years old and work mostly with png files.</p>
  <p><strong>For example:</strong>
  What code should be used for ico and svg?</p>
  <pre><code>&lt;link rel=&quot;icon&quot; href=&quot;favicon.ico&quot; type=&quot;image/ico&quot;&gt;
  &lt;link rel=&quot;icon&quot; href=&quot;favicon.svg&quot; type=&quot;image/svg+xml&quot;&gt;
  </code></pre>
  <p>or should dimensions be specified if ico contains more sizes? I didn't find one good answer.</p>
  <pre><code>&lt;link rel=&quot;icon&quot; sizes=&quot;16x16 24x24 32x32 48x48 64x64&quot; href=&quot;favicon.ico&quot;&gt;
  </code></pre>
  <p>Please provide dimensions, file formats and meta/link tags of what favicons should be used.</p>