Free SVG viewer, editor, and converter. Paste SVG code to preview it live, recolor it (per color or all at once), set a transparent or solid background, and download it as SVG, PNG, JPG, or WebP. A free tool by lilAgents.
Live version: https://lilagents.com/tools/svg/
This is the standalone, open-source build, a self-contained Astro site. The canonical hosted version is folded natively into the lilAgents website.
- Live preview of pasted SVG over a transparent checkerboard
- Detects the colors an SVG actually uses and lets you remap each one, plus a recolor-everything option
- Transparent or solid background for both preview and raster export
- Export SVG, or rasterize to PNG / JPG / WebP at 1x, 2x, 4x, or a custom width
- Prettify or minify the markup, copy the SVG, a data URI, or a CSS
background-image - Sanitizes pasted markup (strips scripts, event handlers, and external references) before rendering
pnpm install
pnpm dev # dev server
pnpm build # production build -> dist/
Astro + Tailwind CSS + vanilla JS. 100% client-side; no backend, no API keys.
MIT. See LICENSE. Made with love by lilAgents.