Paste or load SVG
Drop in SVG markup or open a local SVG file in the editor.
View and edit SVG files online. Runs locally in your browser. Free online tool — no sign-up. Clear formulas and worked examples. No account needed.
Loading tool…
Follow these steps for a clear answer.
Drop in SVG markup or open a local SVG file in the editor.
Adjust the source and confirm the vector preview still renders correctly.
Copy the cleaned SVG into your project or design handoff.
Version 1.0.0 · Last reviewed 2026-07-28
preview = SVG DOM render of source textThe SVG Viewer & Editor renders Scalable Vector Graphics (SVG) code in the browser. Paste SVG markup in the code panel and see the vector graphic update in the preview panel.
SVG (Scalable Vector Graphics) is an XML-based format for vector images. Unlike raster formats (JPEG, PNG), SVG scales to any size without quality loss.
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="100" r="80" fill="blue" />
<text x="100" y="105" text-anchor="middle" fill="white" font-size="20">
SVG
</text>
</svg>
<!-- Inline SVG -->
<svg width="100" height="100">
<rect width="100" height="100" fill="green"/>
</svg>
<!-- External SVG file -->
<img src="icon.svg" alt="Icon" width="100" height="100">
.icon {
background-image: url('data:image/svg+xml,...');
}
See Base64 Decoder & Encoder for embedding SVG as data URIs.
| Element | Purpose |
|---|---|
<rect> |
Rectangle |
<circle> |
Circle |
<ellipse> |
Ellipse |
<line> |
Straight line |
<path> |
Complex shapes |
<text> |
Text labels |
<polygon> |
Multi-sided shape |
Key distinctions behind the tool.
Yes for many files, but clean/export for web to remove editor-only metadata when possible.
No—this tool is designed to keep markup in your browser.