Polyatic Image to SVG
All tools

Image to SVG converter

Turn a logo, icon, signature or drawing into a real SVG of paths, in black and white, in colour, or as single centre lines for a pen plotter or laser. Traced on this device; the picture is never uploaded.

Choose an image or drop or paste (Ctrl/⌘+V) · PNG, JPG, WebP · traced on this device, never uploaded

Open a picture to trace it. Logos and drawings with flat colours work best.

Trace as

128
Pixels darker than this become the shape. Set automatically when you open a picture.

Shapes

8 px
70
Low rounds corners off, high keeps more of them sharp.
1 px
How far a curve may stray from the traced edge. Higher means fewer nodes and smoother curves; 0 gives straight lines only.

Palette

    Tap a swatch to change its colour, merge a colour into another, or make one transparent (often the background).

    Get the SVG

    Open a picture first.

    SVG code

    Privacy: your picture is traced inside this browser and is never uploaded. The page sends an anonymous page-view count and three fixed event names (open, centerline, download), never a file name, a colour or a size.

    How to convert an image to SVG

    1. Open the picture. Tap Choose an image, drop a PNG, JPG or WebP on the box, or copy an image and press Ctrl+V (⌘V on a Mac). The tool picks a preset: black and white for a one-colour mark, colour logo for flat colours, poster for anything busier.
    2. Check the preset. Black and white has a threshold and invert, for signatures, stamps, line art and single-colour cut files. Colour logo keeps 2 to 16 colours; Poster blurs noise slightly first and allows up to 32.
    3. Clean the shapes. Raise Remove specks until dust and JPEG noise vanish. Corners decides which bends stay sharp; Curve fit tolerance trades exactness for fewer nodes. Turn on Outline view and zoom in to see every path.
    4. Fix the palette. Change a colour, merge two shades that should be one, or make the background transparent so only the artwork is left.
    5. For a pen plotter or laser, choose Centerline. Instead of outlining each shape, it follows the middle of each pen line and writes one open stroke per line, so a signature is drawn once, not traced around twice. Set the size in millimetres, then check the counts under the preview.
    6. Save it. Download .svg, or Copy SVG code to paste into HTML, a design tool or a cutting program. The size and node count update as you change settings.

    What it cannot do

    • Photos become thousands of blobs, not a drawing. A face or a landscape traces into many small flat shapes and a large file; the page warns you when a picture looks like a photo.
    • Small text can run together. Letters under about 20 pixels tall merge or lose their holes; trace a larger copy of the picture, or retype the text in a vector editor.
    • Gradients become bands. Each colour is flat, so a smooth fade turns into steps; more colours make narrower steps and a bigger file.
    • Centerline is for lines, not areas. It thins every dark area to its one-pixel middle line, which is right for line drawings, handwriting, signatures and line logos. Filled shapes and photos come out as a tangle of branches (the page warns when a picture is mostly filled); use Black and white for those, where Stroke only follows the edge of each shape instead. Where two lines cross, the strokes may be split at the crossing, and line ends on thick strokes stop about half a stroke width short. The output is an SVG; it does not write G-code, so your plotter or laser software still plans the moves.
    • Large pictures are traced at 1,200 pixels on the long side; the SVG keeps the original width and height, but finer detail than that is not traced.
    • It does not redraw or guess. Blurry or tiny sources give blurry-edged shapes; there is no AI clean-up, and nothing is saved after you close the tab.

    What the numbers mean

    A path is one shape with any holes it has, such as the letter O. A node is a point where one straight line or curve ends and the next begins; fewer nodes means a smaller file that cuts and edits more cleanly. As a reference, a 200 × 200 pixel black circle traces into 1 path of 4 curves, about 0.3 KB, where the same picture as a well-compressed PNG is about 0.7 KB and blurs when enlarged. A three-stripe flag is 3 paths of 4 straight lines each.

    PictureBest presetTypical result
    Signature, stamp, line artBlack and white1 group, tens of paths
    Flat logo, icon, stickerColour logo, 2 to 8 coloursOne group per colour, a few KB
    Cartoon or illustration with shadingPoster, 12 to 24 coloursHundreds of paths, tens of KB
    PhotoPoster, if at allThousands of paths, often bigger than the JPG

    How Centerline works

    The picture is split into ink and paper at the threshold. Specks smaller than the speck setting are dropped and equally small pinholes inside lines are filled, then Zhang-Suen thinning peels the ink away from both sides at once until each line is one pixel wide, down its middle. That skeleton is walked into polylines from end to end and junction to junction. Thinning a thick stroke leaves short whiskers at corners and square ends; branches shorter than Prune spurs are cut (by default a little over the measured line thickness). Line ends within Join gaps of each other that run roughly in line are joined, and at a crossing the straightest pairs are joined first, so an X usually comes out as two strokes. Each line is smoothed slightly and simplified with Ramer-Douglas-Peucker, then the lines are ordered so each one starts near where the last ended, which cuts the distance the pen travels in the air.

    As a check, a 400 × 300 test picture of an 8-pixel-thick L and an 8-pixel ring of radius 80 gives 2 paths, every point of them within 1.5 pixels of the true middle of the strokes, with 1 pen-up move between them. The SVG is <path fill="none"> strokes with no closing Z, so cutting and plotting software treats every line as an open line, not a shape to fill. The stroke width only changes how it looks on screen; the plotter's pen or the laser's beam sets the real width.

    Number under the previewWhat it tells you
    PathsHow many separate strokes; each starts with the pen going down.
    Length of lineTotal drawing distance, in pixels or in millimetres at the size you set; divide by your plotter's drawing speed for a rough time.
    Pen-up movesLifts between strokes (paths minus one) and the distance travelled with the pen up, after ordering.

    Questions

    How do I convert an image to SVG with colour?

    Choose Colour logo. The tool finds 2 to 16 colours (it suggests a number from the picture) and writes one SVG group per colour, each a set of filled paths. Raise or lower the number until the preview matches, merge two colours that should be one, or make the background colour transparent. Poster goes up to 32 colours for illustrations with shading.

    Is this image to SVG converter free?

    Yes, with no account, no watermark and no file limit beyond your device's memory. The tracing runs in your browser, so the picture is never uploaded. Pictures larger than 1,200 pixels on the long side are traced at 1,200 pixels; the SVG keeps the original width and height.

    How do I make an SVG for a cutting machine?

    Use Black and white for a single-colour cut, or Colour logo with Layers set to Cut out so no colour sits on top of another. Raise Remove specks so tiny pieces that cannot be weeded disappear, keep the curve tolerance at 1 px or more for smooth blade paths, download the .svg and import it into your machine's design software. Stroke only gives outlines with no fill if your software asks for that.

    How do I get the SVG code of an image?

    Trace it, then press Copy SVG code, or open SVG code to read it. It is plain path data with a viewBox, so you can paste it straight into HTML or a component, change a fill to currentColor, or shrink it further with the SVG minifier. It never contains an embedded bitmap.

    How do I turn a drawing into single-line SVG paths for a pen plotter?

    Open a scan or photo of the drawing, choose Centerline, and check that the threshold leaves every line unbroken. Raise Join gaps if a line is drawn in pieces, raise Prune spurs if small branches stick out of corners, and raise Simplify for fewer points. Set Size to a width in millimetres and download the .svg; it opens in Inkscape, vpype, LightBurn and most plotter or laser software as open strokes, ordered to keep pen-up travel short.

    Is it a real vector or just the PNG inside an SVG?

    A real vector. Many free converters wrap the bitmap in an <image> tag, which still blurs when enlarged. Here every shape is traced into <path> elements made of straight lines and cubic Bézier curves, so the result stays sharp at any size and each shape can be edited in a vector editor.

    Made with AI tools. · Privacy