Ship & Quality · LOCAL TOOL

SVG Hygiene Inspector

Review the SVG root dimensions, viewBox, embedded scripts, event attributes, and external references from pasted markup.

Runs in this page
No API call
WORKSPACEINPUT → RESULT
01

Your input

LOCAL
SVG Hygiene Inspector inputs
02

Result

Run the tool to see a result.

Your result will appear here. Input is not saved.

Browser-side processingNothing is sent to a tool API.

WHY THIS TOOL EXISTS

A focused job, not a black box.

The report is inspection-only. It does not render or execute the supplied document, which keeps review focused on properties worth checking before the asset is used.

How to use it

  1. Paste SVG source text.
  2. Review root dimensions and flagged elements.
  3. Open and test the asset only in the environment where it will be used.

TRY A WORKING EXAMPLE

Start with known input.

Load this sample into the workspace, run the tool, and compare the result shown below.

Show sample input
{
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><title>Check mark</title><path fill=\"none\" stroke=\"currentColor\" d=\"M4 12l5 5L20 6\"/></svg>"
}

Expected sample result from the local tool

SVG source inspected · 0 finding(s) · 174 bytes.

{
  "width": "24",
  "height": "24",
  "viewBox": "0 0 24 24",
  "hasTitle": true,
  "hasDescription": false,
  "byteLength": 174,
  "findings": []
}

This text scan does not parse the full SVG standard, render the asset, prove safety, or verify licensing.

LIMITS AND INTERPRETATION

What the result cannot tell you.

The scan uses text and XML-like patterns rather than a complete SVG security policy. A clean report is not proof that an asset is safe or correctly licensed.

Inputs are processed in this page and are not written to local storage.