How to extract svg as file from web page

When the SVG is integrated as <svg ...></svg> markup directly into the HTML page.

  1. Right click on the SVG to inspect it in developer tools
  2. Find the root of the <svg> element and right click to “Copy element”
  3. Go to https://jakearchibald.github.io/svgomg/ and “Paste markup”
  4. Download your optimized SVG file and enjoy

Leave a Comment