SVGOMG.net How to optimize

Remove metadata and editor noise

Design-tool exports often ship with doctype declarations, XML processing instructions, comments, and metadata blocks that browsers never use. These transforms are among the safest byte savings in SVGO and are enabled by default on SVGOMG.net for most production assets.

SVGO plugins in this topic

  • Remove doctype removeDoctype

    Removes the <!DOCTYPE svg> declaration. Browsers do not need it for inline SVG and it only adds bytes.

  • Remove XML instructions removeXMLProcInst

    Strips <?xml version="1.0" encoding="UTF-8"?> and similar processing instructions at the top of the file.

  • Remove comments removeComments

    Removes XML comments left by editors and hand-authored notes.

  • Remove <metadata> removeMetadata

    Deletes <metadata> blocks (often license, layer names, or XMP from Adobe tools). Safe byte savings with no visual effect.

  • Remove editor data removeEditorsNSData

    Removes editor-specific namespaced attributes (Adobe, Sketch, Figma cruft) that browsers ignore.

  • Remove <title> removeTitle

    Removes <title> elements used for accessibility tooltips in standalone SVG documents.

  • Remove <desc> removeDesc

    Removes <desc> long-description elements, saving bytes when not needed.

Related topics

Try it

Open SVGOMG.net, load your SVG, and toggle the plugins above in the Features panel.