SVG metadata remover

Remove hidden SVG metadata while preserving the artwork

Inspect well-formed UTF-8 SVG markup, remove non-rendered metadata elements and comments locally, and preserve accessibility titles and descriptions.

Private file workbench

Inspect and clean SVG metadata

Local processing only

Drop a SVG file here

We inspect one file at a time inside this browser. Nothing is uploaded.

SVG only · up to 25.0 MB

Removes SVG <metadata> elements and XML comments only. It preserves <title>, <desc>, scripts, event handlers, external references, embedded content, styles, and visible vector markup.

Supported cleanup

The hidden SVG data this tool removes

The tool validates the XML structure and removes precise non-rendered ranges without serialising or rebuilding the remaining vector markup.

Metadata elements

Removes SVG <metadata> elements, including embedded RDF, Dublin Core, creator, rights, identifier, and editor workflow data.

XML comments

Removes non-rendered comments that can retain names, project notes, generator details, source paths, or internal context.

Accessibility preserved

Keeps <title> and <desc> elements because they can provide accessible names, descriptions, and meaningful document context.

Strict verification

Rejects malformed or non-UTF-8 SVG instead of rewriting it, then verifies that targeted metadata and comments are absent.

Know the boundary

Metadata removal is not document redaction

Metadata removal does not make an untrusted SVG safe. Review active content, links, embedded resources, and accessibility text before publishing.

This tool does not remove

  • Accessibility <title> and <desc> elements
  • Scripts, event handlers, foreignObject content, and animation
  • External links, embedded images, fonts, styles, and data URLs
  • Visible text, paths, shapes, optimisation, minification, or sanitisation

Where it helps

When SVG source reveals production context

An SVG can look like a simple image while its XML source contains authorship, rights, project notes, identifiers, or editor-generated metadata.

Publishing icons and illustrations

Remove supported metadata and internal comments before adding SVG assets to a website, design system, public repository, or download pack.

Anonymous or neutral delivery

Clear RDF creator, rights, date, identifier, and comment text before handing vector artwork to another party.

Cleaning generated SVG

Remove metadata containers and export comments while retaining paths, shapes, styles, accessibility text, and the rest of the original XML.

Common questions

Questions about removing SVG metadata

SVG is active XML content, not just an image. These boundaries keep metadata removal separate from security sanitisation.

Why are SVG title and description elements preserved?

SVG <title> and <desc> can provide accessible names and descriptions to assistive technology. Removing them by default could make the graphic less accessible, so this tool leaves them intact.

Does this sanitise scripts, event handlers, or external links?

No. It removes <metadata> elements and XML comments only. Scripts, event attributes, foreign objects, external references, embedded images, styles, and visible content remain and must be security-reviewed separately.

Will the SVG be reformatted or minified?

No. The tool removes exact metadata and comment ranges from well-formed UTF-8 XML. It does not intentionally reformat, optimise, minify, or serialise the remaining markup.

Go deeper

Before you share a SVG file

Practical guidance for checking what the file carries, cleaning the supported metadata, and reviewing everything outside the tool's scope.

More private file tools

Clean another file format

Use the same local-first workflow for other supported documents and audio files.