Click any element on a webpage and export it as a clean SVG or PNG.
A Chrome Extension for visually picking elements, previewing SVG output, and downloading or copying — with text outlining, Figma optimization, and PNG export.
Website · Install · Contributing
Currently awaiting chrome webstore listing
Meanwhile, install manually from the latest release:
- Download and unzip the release
- Open
chrome://extensions/and enable Developer Mode - Click "Load unpacked" and select the unzipped folder
git clone https://github.com/markusevanger/to-svg.git
cd to-svg
pnpm install
pnpm dev:extensionThen load the extension:
- Open
chrome://extensions/and enable Developer Mode - Click "Load unpacked" and select
apps/extension/dist/
- Element picker — hover and click to select any DOM element
- SVG export — converts elements to clean SVG, including
<img>,<canvas>, and<video> - PNG export — configurable scale factor
- Text outlining — converts text to paths via opentype.js
- Figma optimization — collapses groups, converts paths to rects, normalizes coordinates
- Copy to clipboard — one-click SVG/PNG copy
| Directory | What it is |
|---|---|
apps/extension/ |
Chrome Extension (Manifest V3) |
packages/svg-engine/ |
Shared SVG conversion engine |
apps/web/ |
webtosvg.com — landing page |
apps/studio/ |
Sanity Studio for site content |
Contributions to the extension are welcome! See CONTRIBUTING.md for setup and guidelines.
