SVG Playground is a free online SVG viewer and editor that runs in your browser. Paste or open an SVG and see it rendered instantly, edit the markup in a live code editor, or draw and adjust shapes visually on the canvas. Nothing to install and no sign-up.
Use it as an SVG code viewer to inspect paths, groups and attributes, as an SVG editor to tweak colours and shapes, or as a playground to try ideas quickly. When the artwork is ready, optimize it with SVGO and export it as PNG, React, React Native, SwiftUI or Base64 code, or share it with a link.
What you can do
- View SVG online: open a file or paste code and the canvas updates as you type.
- Edit SVG code: use the code editor beside the canvas, with the drawing and the markup always in sync.
- Optimize: run SVGO in the browser to strip metadata and shrink path data.
- Convert: export to PNG, React JSX, React Native, SwiftUI or a Base64 data URI.
- Find icons: search the free icons panel and drop an icon straight into your drawing.
- Share: create a link to your SVG to send to a teammate.
Good to know
- Your SVG stays in your browser. Conversion and optimization run locally, so private artwork is not uploaded.
- Edits are saved in your browser, so you can come back to the drawing later.
- Each converter has its own page with options and tips, linked below.
Frequently asked questions
What is the best way to view an SVG file online?
Open SVG Playground, then open the file or paste its code. The SVG renders on the canvas straight away, and the code panel shows the markup next to it.
Can I edit SVG code and see the result live?
Yes. The code editor and the canvas stay in sync, so a change to the markup updates the drawing and a change on the canvas updates the markup.
Is SVG Playground free?
Yes. It is free to use in the browser and needs no account.