OneSVG Studio

Vectorize Black & White Logos to SVG

Upload a black-and-white logo or icon — Sharp handles grayscale and thresholding, Potrace traces smooth Bezier paths, and SVGO finishes optimization. The output is an ultra-light SVG, perfect for web or print.

Mono Vectorize
Logos, icons, handwriting — the more contrast, the better.
Black/white threshold128

0 = dark, 255 = bright. Adjust until the logo is crisp.

Turdsize (drop small spots)2
Alphamax (curve smoothness)1.00

About Mono Vectorize

Potrace is Peter Selinger's legendary black-and-white tracer (2001-present), embedded in Inkscape, LibreOffice Draw, and dozens of other tools. Its strengths: naturally smooth Bezier curves, extremely light output paths, and a very fast algorithm.

We preprocess images with Sharp: grayscale, threshold (to the level you choose), convert to PNM. Then Potrace traces the paths and SVGO optimizes. For simple logos the result is typically 2-20KB.

  • Potrace Bezier smoothing
  • Real-time threshold slider 0-255
  • Turdsize to drop noise
  • Alphamax to tune curvature
  • Automatic SVGO multipass
  • Ultra-light output: 2-20KB for logos

How to vectorize a B&W logo

  1. 1

    Prepare the input

    A logo or icon with clear contrast. The higher the contrast, the cleaner the trace. PNG, JPG, WebP supported.

  2. 2

    Upload the file

    Drop into the upload area. Images over 2048px are resized first.

  3. 3

    Tweak threshold

    Default is 128. Logos on dark backgrounds want lower (80-100), bright backgrounds want higher (150-180).

  4. 4

    Click start

    Sharp + Potrace + SVGO run in sequence. Usually under 5s for a simple logo.

  5. 5

    Preview and download

    The final SVG is a few KB. Copy to your code or use directly.

When to use Mono Vectorize?

Vectorize a company logo
Only have an old PNG? Upload it for a crisp SVG that scales to business cards, banners, and favicons.
Convert handwriting to SVG
Scan a signature or calligraphy piece, vectorize it into paths for design use.
Create line-art icons
Light UI icons for a project's icon library without resorting to an icon font.
Laser/CNC engraving
Pure SVG paths are the standard format for laser cutters, CNC machines, and plotters.

Pure Potrace SVG vs fake base64 SVG

A 500×500px single-color logo converted with OneSVG Mono vs tools that wrap the raster in base64.

CriterionPure SVG (OneSVG Potrace)Fake SVG (base64)
Root element1-2 <path> tags with Bezier curves<image href="data:image/png;base64,...">
File size for a 500×500 logo2-20 KB30-200 KB (10× heavier)
Logo curve renderingNaturally smooth BezierVisible jaggies on zoom
Use as an SVG favicon✅ Perfect❌ Too heavy
Laser / CNC engraving✅ Machine reads paths directly❌ Unusable
T-shirt / screen printing✅ Sharp at any size❌ Needs a high-res source
Recolor via CSS✅ fill="currentColor" works❌ Fixed

How does Potrace work?

Potrace is Peter Selinger's black-and-white tracer (2001-present), used by Inkscape, GIMP, LibreOffice Draw, and many Adobe workflows. Pipeline: 1-bit bitmap → path tracing (Marching Squares-like) → polygon reduction → Bezier smoothing.

Before Potrace we preprocess the input with Sharp: grayscale → threshold (the 0-255 level you pick) → 1-bit bitmap → PBM file (Sharp can't emit PBM directly, so ImageMagick's convert bridges the gap). The turdsize parameter drops regions under N pixels² to clean up noise.

Alphamax (default 1.0) controls curvature: 0 yields straight polygons, 1.3334 is very smooth. Opttolerance (default 0.2) governs path merging — the quality/size trade-off. Finally, SVGO optimizes; output is typically 2-20 KB.

Mono Vectorize FAQ

Can I trace color images?
Yes, but they'll be binarized via threshold. For real color output, use Color Vectorize instead.
What threshold should I use for a logo?
128 is the default. If the logo looks faded, drop to ~100. If fine strokes are disappearing, raise to ~160 to keep them.
What is Turdsize?
The minimum area (in pixels) a region must have to be traced. Raise to 5-10 to remove noise from scanned images.
Why does my output have holes inside the logo?
Your threshold is too high and is cutting away solid parts. Lower it, or increase the source contrast before uploading.