A simple web app that lets users upload any image (PNG/JPG) and instantly convert it into an SVG file.
Users can preview, copy the SVG code, or download the file to use anywhere.
- 🚀 Upload images (PNG, JPG, JPEG)
- 🔄 Convert raster images into scalable vector graphics (SVG)
- 👀 Live preview of the generated SVG
- 📋 One-click copy to clipboard (SVG code)
- 💾 Download as
.svg - ⚡ Works directly in the browser (no server required)
- Frontend: React / Next.js
- Vectorization: Potrace
- Styling: TailwindCSS (or your chosen framework)
Clone the repository:
git clone https://github.com/shitanshukumar607/imgToSvg.git
cd imgToSvgInstall dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 to view the app in the browser.
- Upload your image (drag & drop or file picker).
- Wait for the image to be processed into SVG.
- Preview the generated SVG.
- Click Copy to copy the SVG code or Download to save it as a file.
- ✏️ Basic SVG editor (resize, recolor, simplify paths)
- 🎨 Presets (outline only, reduced colors, full color)
- 📂 Support batch uploads
- 🤖 AI-assisted vectorization for complex images
Contributions are welcome!
- Fork the repo
- Create your feature branch (
git checkout -b feature-name) - Commit changes (
git commit -m 'Add feature') - Push branch (
git push origin feature-name) - Create a Pull Request