Handy Tool Works

SVG ViewBox Check

Inspect an SVG's declared width, height and viewBox, then compare the viewport and drawing ratios.

Input

Inputs are processed on this device.

Result

Run the check to see a result here.

    How to use the result

    The viewBox contains x, y, width and height. The last two values define the drawing ratio. Percentages and relative viewport units are shown as declared.

    Format and method reference