Free
Try it out, casual use
- Unlimited vectorizing & preview
- Simplify & merge colors
- Clean, optimized SVG output
- SVG, PNG, JPG, PDF, EPS, DXF export
- Re-download saved files for free
- Studio · up to 50 files per batch
AI-NATIVE VECTORIZATION
Potrace traces one color at a time. PerfectVector reads every color at once, with no thresholds to set: on eight JPEGs it wrote 88% fewer anchor points than Potrace at its best setting. Try it on your own image here.
or try by clicking an image
Vectorize and inspect protected previews for free, with no usage limit.
Credits to unlock a finished result: 1. Repeat downloads are free.
THE SHORT VERSION
For color JPEGs, yes. PerfectVector wrote 7,751 anchor points for our eight test images, 88% fewer than Potrace at its best setting (62,916), and matched the clean artwork more closely on all eight, with no settings. Tuning does help Potrace: the best of 43 settings cut its points by 62% and its file size by 66% at the same average pixel match, but finding it took 318 test conversions. For black-and-white line art, keep Potrace: on our line drawing, tuned Potrace wrote half as many points as PerfectVector, in a smaller file.
All eight files added up
Each multiple is against Potrace's better run, Potrace tuned.
All eight files added up
Each multiple is against Potrace's better run, Potrace tuned.
Average share of pixels that miss the clean artwork
Each multiple is against Potrace's better run, Potrace tuned.
Potrace tuned is one setting for all eight images: the best of 43, chosen by checking 318 test conversions against the clean artwork. You will not have that clean artwork for your own images. PerfectVector used no settings.
EVERY IMAGE, MEASURED
Pick an image and compare the same JPEG traced by Potrace at its defaults, by Potrace at its best setting, and by PerfectVector. The paths and points view draws each file's outlines in mint with every anchor point on them.




Character
A sticker-style mascot with dark outlines and small eye highlights. Turn on paths and points to see Potrace's clusters along the outlines.
| Tool | Anchor points | File size | Fill colors | Pixel match |
|---|---|---|---|---|
| Potrace | 19,114 | 392 KB | 8 | 98.0% |
| Potrace tuned | 8,492 | 159 KB | 8 | 98.1% |
| PerfectVector | 473 | 16.1 KB | 8 | 99.3% |
Fox mascot: Paths and points
One card per test image. Tuning cut Potrace's points on every image, and PerfectVector wrote fewer than both Potrace runs on seven of the eight. The exception is the line art, where tuned Potrace is the leanest.
Shorter bar is better. Each card has its own scale; multiples are against Potrace's better run.
Simple icon
Badge with lettering
Logo with text
Icon set
Character
Flat illustration
Detailed illustration
Black-and-white line art
| Image | Potrace1.16 | Potrace tuned1.16 | PerfectVectorproduction engine, 2026-11-17 |
|---|---|---|---|
| Coffee cup iconSimple icon | 19,340anchor points417 KB8 fill colors80.8% pixel match | 3,538anchor points65.0 KB8 fill colors81.0% pixel match | 98anchor points3.7 KB4 fill colors99.7% pixel match |
| Honeycrust Bakery badgeBadge with lettering | 33,004anchor points689 KB8 fill colors97.3% pixel match | 13,597anchor points254 KB8 fill colors97.9% pixel match | 698anchor points20.5 KB4 fill colors99.2% pixel match |
| Northpeak wordmarkLogo with text | 3,999anchor points85.8 KB8 fill colors98.4% pixel match | 700anchor points16.7 KB8 fill colors98.5% pixel match | 165anchor points4.3 KB4 fill colors99.6% pixel match |
| Four weather iconsIcon set | 19,932anchor points423 KB8 fill colors97.6% pixel match | 8,850anchor points166 KB8 fill colors97.9% pixel match | 221anchor points6.5 KB4 fill colors99.7% pixel match |
| Fox mascotCharacter | 19,114anchor points392 KB8 fill colors98.0% pixel match | 8,492anchor points159 KB8 fill colors98.1% pixel match | 473anchor points16.1 KB8 fill colors99.3% pixel match |
| Lighthouse at sunsetFlat illustration | 7,820anchor points150 KB8 fill colors90.2% pixel match | 2,550anchor points50.7 KB8 fill colors89.9% pixel match | 282anchor points7.6 KB13 fill colors99.6% pixel match |
| Windowsill still lifeDetailed illustration | 60,064anchor points1.20 MB8 fill colors81.2% pixel match | 23,680anchor points442 KB8 fill colors81.3% pixel match | 2,662anchor points83.0 KB26 fill colors98.2% pixel match |
| Lemon branch line artBlack-and-white line art | 2,821anchor points65.1 KB1 fill colors96.5% pixel match | 1,509anchor points34.9 KB1 fill colors95.6% pixel match | 3,152anchor points117 KB2 fill colors97.8% pixel match |
| All eight images (pixel match is the average) | 166,094anchor points3.37 MB57 fill colors92.5% pixel match | 62,916anchor points1.16 MB57 fill colors92.5% pixel match | 7,751anchor points258 KB65 fill colors99.1% pixel match |
Pixel match is the share of pixels within 32 of 255 levels, in every channel, of the clean artwork before JPEG compression. It shows how much noise each SVG carried over; it is not a judgement of design quality. The sample images were generated for this test with an AI image model.
AT A GLANCE
Potrace is a free tracing library that many apps build on. PerfectVector is a hosted converter that reconstructs shapes instead of tracing pixels.
| PerfectVector | Potrace | |
|---|---|---|
| Made by | PerfectVector, with its own engine | Peter Selinger |
| Version tested | Production API, Nov 17, 2026 | 1.16, released Sep 17, 2019 |
| License and price | Free to convert and preview; credits unlock downloads | Free, GPL |
| Color | Every color in one pass, grouped into a small palette | Black and white only; color needs one pass per color, run by another tool |
| Settings to choose | None required | Threshold or color count, speckle size, corner smoothing and curve tolerance |
| Circles and rectangles | Written as circle, ellipse and rectangle elements where the drawing has them | Traced as curved outlines |
| JPEG noise in our test | Smoothed out; highest pixel match on all eight images | Carried into the outlines, even at the best setting we found |
| Where it runs | In the browser, with nothing to install | Command line, and inside apps such as Inkscape |
| Developer API | Hosted REST API: send an image and get the SVG back, or a status link to check if it takes longer | C library (potracelib) to build into your own software |
| AI assistants (MCP) | MCP server for Claude, ChatGPT, Claude Code and Codex: ask in plain words, get SVG files | No official MCP server |
| Your image | Uploaded to PerfectVector to convert | Stays on your computer |
PerfectVector is not affiliated with, endorsed by, or sponsored by the Potrace project. Potrace is named only so readers can compare tracing results.
THE RIGHT TOOL
Potrace is fast, free, open source and runs on your own computer. PerfectVector is built for a different job: a color file you will open and edit.
Whichever you choose, open the SVG at a large zoom, count its colors and check that small details survived. PerfectVector uploads your image to its servers to convert it; Potrace runs on your computer.
METHOD
One script prepared the inputs and ran Potrace at its defaults on November 17, 2026, and at the tuned setting on November 18. PerfectVector converted the same files through its public Developer API. Nobody edited any output.
Eight original images were generated with an AI image model: flat icons, a badge and a wordmark with lettering, a mascot, two illustrations and one black-and-white line drawing.
Each image was resized to 1000 px (the wordmark to 1200 × 292) and saved as a JPEG at quality 45 with 4:2:0 chroma subsampling. Every run received these exact bytes.
Potrace reads one color, so each color image was reduced to eight colors and traced once per color, with the layers stacked, as Inkscape's multiple-scan mode does. The line drawing was traced once in black and white.
We tried 43 combinations of color count (4, 8 or 16), speckle size (turdsize 2 to 100), corner smoothing (alphamax 1 or 1.334) and curve tolerance (opttolerance 0.2 or 1.0). The tuned run is the one with the fewest anchor points whose average pixel match was no worse than the defaults.
Anchor points are counted as Illustrator and Figma show them: one per segment end, without handles. A circle or ellipse counts as 4, a rectangle as 4, a rounded rectangle as 8. File size is the SVG as saved.
Each SVG was rendered with resvg at the input size and compared with the artwork before compression. Pixel match is the share of pixels within 32 of 255 levels in every channel.
| Run | Version | How it ran | Settings |
|---|---|---|---|
| Potrace | 1.16 | potrace command line (Homebrew bottle) | --turdsize 2 --alphamax 1 --opttolerance 0.2 (documented defaults); color images quantized to 8 colors (Pillow FASTOCTREE, no dithering) and traced once per color, stacked, as Inkscape's Trace Bitmap multiple-scan color mode does; black-and-white sample traced once at threshold 128 |
| Potrace tuned | 1.16 | potrace command line (Homebrew bottle), same color method as the default run | run on 2026-11-18 with the same inputs: --turdsize 75 --alphamax 1.334 --opttolerance 1.0, 8 colors: the fewest anchor points among 43 tested combinations (4, 8 or 16 colors, turdsize 2 to 100, alphamax 1 or 1.334, opttolerance 0.2 or 1.0) whose average pixel match was no worse than the defaults; black-and-white sample traced once at threshold 128 |
| PerfectVector | production engine, 2026-11-17 | Developer API POST https://api.perfectvector.com/v1/vectorizations | defaults; no parameters sent |
Every input JPEG and SVG on this page opens from its card above. The figures file lists every count, file size, SHA-256 hash, version and setting used here. The settings files list every setting we tried and its results, and the clean originals are the artwork that pixel match is scored against.
All figures (JSON)Every Potrace setting we tried (JSON)Clean originals (ZIP, 5.47 MB)
I'd tried everything and been let down every time — I'd given up, figuring today's tech just couldn't do this. And you actually built it. If this is real, it's genuinely incredible.
It converts at even better quality than I expected — it preserves the character of the original better than anything else I've tried.
PerfectVector is impressively fast, and the output quality is already very good. With a bit more refinement it could easily compete with the leading tools.
Way more detailed than I expected. Opening Illustrator to convert every single time was such a chore — bookmarked.
Tried it — it's accurate. Simple images actually expose detail differences more than complex ones do, and this nails them.
It depends on the image. For color JPEGs, logos and illustrations, PerfectVector wrote 88% fewer anchor points than tuned Potrace on our eight test images and matched the clean artwork more closely on all eight. For black-and-white line art, Potrace itself is hard to beat: it was the leanest tool on our line drawing.
Not directly. Potrace converts a black-and-white bitmap into outlines. To get color, a tool has to reduce the image to a few colors and run Potrace once per color. On our lighthouse image, eight colors were not enough to keep the red lantern, which came out white.
Potrace does not read JPEG. It takes bitmaps such as BMP, PBM or PGM, so convert the JPEG first, for example with ImageMagick: magick input.jpg -threshold 50% input.pbm, then potrace -s input.pbm -o output.svg. That works for black-and-white artwork. A color JPEG has to be split into one layer per color first, which is what Inkscape's Trace Bitmap does in its multiple-scan mode.
On our eight JPEGs, the best single setting was --turdsize 75 --alphamax 1.334 --opttolerance 1.0 with eight colors. It cut anchor points by 62% and file size by 66% against the defaults, with the same average pixel match. A larger turdsize removes more JPEG specks; with eight colors, turdsize 100 dropped average pixel match just below the defaults.
You can reuse the setting, but it may not be the best one for your images. We found it by running 43 settings on all eight images and checking every result against the clean artwork before JPEG compression. With your own images you only have the JPEG, so you can judge settings by eye but cannot measure which one comes closest, and each new kind of image may need a new search. PerfectVector takes no settings: the results on this page are its first and only run.
Yes. Inkscape's Trace Bitmap is built on Potrace. Its multiple-scan color mode reduces the image to a set number of colors, traces each one separately and stacks the results, which is how we ran Potrace on the color images here.
Potrace follows the edge of every black region, and JPEG compression leaves rings of noise around edges. Each ragged step can become a new point, and in color mode every layer is traced separately, so a shared edge is traced more than once. At its defaults Potrace wrote between 2,821 and 60,064 points per image in our test.
On our line drawing, yes for size: tuned Potrace wrote 1,509 anchor points in a 35 KB file, against PerfectVector's 3,152 points in 117 KB. PerfectVector matched the clean artwork more closely (97.8% against 95.6%), so check fine hatching at a large zoom before you choose.
No. PerfectVector uses its own engine. Instead of following the pixel edge, it estimates the shapes the artwork was drawn with and writes curves, circles and rectangles into the SVG.
Vectorizing and preview are always free and unlimited — you only spend a credit when you download a finished file.
You can check it. Every input JPEG and output SVG opens from this page, and figures.json lists the versions, settings, file hashes and counts. The clean originals that pixel match is scored against, and the results of every setting we tried, can be downloaded from the method section, so you can recount any figure or rerun the same versions on the same JPEGs.
Vectorizing and preview are always free and unlimited — you only spend a credit when you download a finished file.
Unlimited vectorizing & preview