Skip to content
Image Runs offline

SVG Preview

Render SVG markup live and export it as a data URI or PNG.

Input

0 chars

Preview

0 chars
Ctrl

Questions

Is it safe to paste SVG here?

The preview renders inside a sandboxed iframe with scripting disabled, so embedded script in the SVG cannot run or reach this page. That sandbox is the reason SVG gets special handling: an SVG file is XML that can carry scripts, which is why user-uploaded SVGs should never be served from your own origin.

Why does my SVG not scale?

Almost always a missing viewBox. Without it the browser has no intrinsic coordinate system to map onto the display size, so width and height become fixed pixels. Add viewBox="0 0 W H" matching the original dimensions.