← PNG to SVG

Line art to SVG

Trace line art, sketches, signatures, or scanned drawings into a black and white SVG directly in your browser.

Drag and drop an image, paste one,
or use the button below.

Tracing options

Mode

Palette: 16 colors

Detail

Fewer colors and the Smooth setting give a smaller, cleaner SVG. Logos, icons, and flat artwork trace best.

Line art to SVG

This page is preset to Black and white mode with Detailed tracing, built for line drawings, inked sketches, signatures, stamps, and scanned documents. Light and transparent areas are treated as paper and dropped, so the SVG contains only the dark strokes on a transparent background, ready to recolor or place over anything.

Tracing runs in a Web Worker on your own device using the Canvas API and a self-hosted tracer. Very large images are traced at a reduced working resolution, since a vector does not need every pixel, and the SVG keeps the original dimensions. Your image is never uploaded, and the output is plain SVG you can download or copy as code. No signup, no tracking.


Frequently asked questions

Can I change what counts as ink?

Pixels darker than mid-gray become ink and everything lighter becomes paper. For a faint pencil sketch, increase the contrast or darken the image first so the lines fall below that threshold. For a scan with a gray background, this mode already drops the background for you.

Can I change the settings?

Yes. The preset only picks the starting mode, palette size, and detail. Change any option and the image is retraced in place, with the side-by-side preview updating each time.

More ways to vectorize

View all tools

Use Clean.tools from your AI agent

Clean.tools also runs an MCP server — read-only utility tools your AI agent can call directly. No key, no signup: requests are processed in memory and request contents are never stored.

Claude Code
claude mcp add --scope user --transport http clean-tools https://mcp.clean.tools/mcp
Any MCP client (streamable HTTP, authless)
https://mcp.clean.tools/mcp

Every tool, the REST API, and setup for Cursor, Claude Desktop, VS Code & more →