Developer

Runs in your browser. No file uploads for processing.

SVG Path Data Validator and Preview (No Upload)

Validate SVG path data, inspect its geometric bounds and length, highlight endpoints, and normalize relative commands to an absolute path locally.

Loading tool...

How to check and normalize SVG path data

  1. Paste only the path data

    Use just the d attribute value. For example, m 5 5 h 20 v 10 z becomes M 5 5 L 25 5 L 25 15 Z.

  2. Inspect bounds and endpoints

    Run the local parser, read any character-position error, and highlight an endpoint. The dashed rectangle shows geometric bounds excluding stroke and transforms.

  3. Copy or export

    Copy the normalized absolute commands or download a fitted minimal SVG with a plain stroke.

Use cases

  • Debug icons by checking which segment extends beyond the intended viewBox.
  • Inspect relative curves and arc endpoints before using a path from a design export.

Limits and privacy

  • Checks the path data string only. No full SVG upload, CSS, transforms, groups, fill-rule analysis or sanitizing other SVG markup. Measurements use your browser's geometry algorithm; curve length is approximate and excludes stroke. Bounds are reported to three decimal places.
  • Supports up to 20,000 characters and 2,000 segments. Coordinates and their resolved positions are bounded to ±1,000,000; normalization uses up to 15 significant digits.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

How can I turn the checked path into an image?

Download the minimal SVG, then use SVG to PNG if you need a raster copy.

Where is the error in my SVG path?

Paste only the d value. The tool reports the one-based character near the unsupported command, separator, flag or missing coordinate.

Does the bounding box include stroke width?

No. It is the geometric bound of the path data, not its rendered stroke, markers, clipping or transforms.

What does the exported SVG contain?

It contains only a fitted viewBox, one normalized path and a plain stroke. The original markup, style and script are not carried over.

Related tools