SVG Metadata Remover: Strip Hidden Metadata from SVG Files

Find and delete author names, editor data and file paths that SVG editors leave behind.

SVG Metadata Remover tool

1Add your SVG

Drop your SVG here, or click to browse Or paste SVG code anywhere on the page. Nothing is uploaded.
No file?

2Adjust the options

3Preview and download

Live preview
sample.svg
Input and output codeView, edit and copy the code
Input SVG code
Output

Under the hood

How SVG Metadata Remover works

An SVG metadata remover finds and deletes the hidden data editors leave in SVG files, such as author names, software versions and file paths. It shows exactly what it found.

  1. <metadata>…</metadata>inkscape:version="1.2"<!-- note -->

    Scan for hidden data

    The tool counts XML declarations, metadata blocks, editor attributes, comments, titles and data attributes in your SVG.

    Pattern counts
  2. Choose what to remove

    Six switches control the removal: metadata, editor data, comments, XML declaration and DOCTYPE, title and desc, and data-* attributes.

    Option switches
  3. Strip the data

    Each enabled category is removed in turn, and the size saved by each is measured.

    Regex passes
  4. metadataeditorcomments

    Show the findings

    A table lists every category with how many items were found and how many bytes were saved.

    Per-category report
The four stages of the SVG Metadata Remover, from your input to the finished file.

Why remove SVG metadata

Privacy
Editors can embed names, dates, project notes and file paths.
Smaller files
Hidden data adds bytes with no visual benefit.
Cleaner code
The file contains only what draws the picture.

Step by step

SVG Metadata Remover process

Four steps clean an SVG of metadata. Review the table to see what was hiding.

  1. Add your SVG

    Drop a file, paste code or press the sample button. The sample contains an author, comments and editor data.

    Tip: See what is found.

    Drop SVG
  2. Pick what to remove

    Leave the first four switches on. Turn on title and desc or data-* attributes if needed.

    Tip: Title removal hurts accessibility.

    MetadataEditor dataComments
  3. Read the report

    The table shows each category and how many items were removed.

    Tip: The before and after previews match.

  4. Download the clean SVG

    Press Download to save it.

    Tip: Rendered locally.

    Download SVGsvg-metadata-remover.svg

Use the SVG Metadata Remover

Reference

SVG Metadata Remover settings / conversion chart

The table lists categories and what each contains. The chart shows typical weights.

Typical share of hidden data

Typical share of hidden dataEditor data: 5/5; Metadata block: 4/5; Comments: 2/5; Declaration: 1/5.Editor data5/5Metadata block4/5Comments2/5Declaration1/5
Guide: editor data and metadata are usually the heaviest.

At a glance

  • Converts best: Editor data.
  • Needs the most care: Declaration.

Guide: editor data and metadata are usually the heaviest.

SVG Metadata Remover categories
CategoryWhat it containsRemoved by default
XML declaration and DOCTYPEXML version and DTD referenceYes
<metadata> blockRDF data, creator, license, datesYes
Editor dataInkscape, Sodipodi, Illustrator and Sketch attributesYes
CommentsNotes and generator tagsYes
Title and descAccessibility textNo
data-* attributesCustom data from toolsNo

Answers

SVG Metadata Remover FAQ

Questions people ask about the SVG Metadata Remover, answered for this specific use case.

What hidden data does an SVG contain?

Editors such as Inkscape, Illustrator and Sketch can embed author names, software versions, project notes, dates and file paths.

Will removing metadata change how my SVG looks?

No. Metadata does not draw anything.

Should I remove the title and desc?

Only if you do not need accessibility text. Screen readers use them.

Does it remove ids?

No. IDs are kept because shapes and gradients may refer to them.

Is my file uploaded?

No. The cleaning runs in your browser.

Ready to try it?

Your result is one drop away.

Open the SVG Metadata Remover

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.