Skip to main content
unraster

Photo to line art SVG. Clean outlines you can scale.

Turn a picture into a line drawing SVG that scales to any size. Make a black-on-white edge image, trace it free in your browser, and the file stays on your device.

or drop images ·

Basic SVG is free in your browser · Advanced SVG 1 credit · Pricing →

A red mug, from edge image to line drawing SVG.

A self-made 3D render of a red mug on a saucer against a plain background. A difference-of-Gaussians filter (the idea behind Find Edges in a photo editor; the preparation step is not part of Unraster) turned it into black edges on white, and that image went through Basic.

CompareBasic is free · Advanced is 1 credit
Original image
Original edge image of a red mug on a saucer
Basic SVG Free · in your browser
edge image of a red mug on a saucer as a Basic SVG
Advanced SVG 1 credit to convert
edge image of a red mug on a saucer as an Advanced SVG

Both SVGs are real output from the source image above. Downloading an example is free; making your own Advanced SVG costs 1 credit.

The same kind of picture traced without an edge pass.

A rendered still life of a sphere, a cylinder and a box on a grained table with a soft shadow, sent straight through Basic. It comes back as flat colour regions, not lines.

CompareBasic is free · Advanced is 1 credit
Original image
Original still life of a sphere, a cylinder and a box
Basic SVG Free · in your browser
still life of a sphere, a cylinder and a box as a Basic SVG

The Basic SVG is real output from the source image above. Downloading the example is free; Advanced SVG costs 1 credit on your own image.

How to turn a photo into a line drawing SVG

High-contrast subjects on plain backgrounds trace best. Photos, soft shadows and textured backgrounds give broken or noisy lines.

One image: free Basic SVG in your browser (no upload). Advanced SVG is 1 credit; free allowances apply. Unraster traces an edge image; it does not find the edges in a colour photo.

  1. Pick a picture with one clear subject

    A single object on a plain background, in even light, gives the cleanest lines. Crop tightly: textured tables, grass, fabric and soft shadows all turn into stray marks.

  2. Make a black-on-white edge image first

    Unraster traces the pixels you give it and does not find outlines in a colour picture. Use a photo editor (Find Edges, Photocopy or a sketch filter) or any line-art tool to get dark lines on white, then raise the contrast until the lines are solid black. The mug above used a difference-of-Gaussians filter: blur 2.5 minus blur 5.0, then a threshold.

  3. Upload it and run Basic SVG

    Choose, drop or paste the edge image (PNG, JPG or WebP up to 20 MB). Basic SVG traces it in your browser, costs nothing and the file is never uploaded.

  4. Check gaps, then download

    Zoom to 400% and look for broken lines and doubled edges. Downloads are free. Keep the white background if the lines go on white; for a transparent background, subtract the white shapes from the black ones in your vector editor (see the note on filled outlines below).

What to expect from a photo-to-line-art trace

A colour picture is not a line drawing yet
Sent straight in, the still life above became flat colour regions (615 paths and 541 fills) with no outlines. The line look comes from the edge image you feed in, not from the trace.
Contrast decides which lines survive
The mug has strong edges, so every outline came through; its soft shadow left only a few ragged dashes under the saucer. Where a picture has little contrast, an edge filter draws no line and the trace has a gap. Raise contrast or redraw missing edges before tracing.
Busy texture becomes dashes
Wood grain, fabric and shadows survive an edge pass as short marks. Crop them out, or use a plain background, before you trace.
Filled outlines, not pen strokes
The SVG is made of filled shapes with some thickness, not stroke paths with an adjustable line width. Each hollow is a white shape stacked on a black one (19 white and 20 near-black paths in the mug), so deleting the white shapes fills the outlines in solid black. A pen plotter or cutter that wants single-line strokes needs a centreline tool.
Need cut-out shapes instead?
For a one-colour stencil with bridges, or a solid silhouette, use Image to stencil or Image to silhouette. For sticker art with flat colours, see Sticker to SVG. This page is for lines.
Left: a red mug on a saucer, rendered in colour. Right: the black-on-white edge image made from it, which is the file that was traced.
Left: the rendered mug. Right: the black-on-white edge image made from it, the file that was traced.

Basic SVG is free. Advanced SVG is 1 credit.

You pay only when you get the file. Need editable slides instead? Image to PowerPoint.

Credit pack No subscription

A few files a month · no subscription

$9.90one-time

  • Covers 15 Advanced SVGs, one at a time
  • Batch up to 10 SVGs as a .zip: 2 credits each, against 1 credit for a single SVG. A subscription batches at the single-file price.
  • $0.66 per credit
  • Credits last 12 months

Subscription

Regular decks, every month

$19.90/ month

Billed monthly

  • Covers 50 Advanced SVGs every month
  • Batch up to 10 SVGs as a .zip at the single-file price: 1 credit each.
  • $0.40 per credit
  • Each month’s credits last 90 days

Prices in USD. Optional AI Clean-up is 1 credit. Free Advanced conversions: 1 per device without an account (once it is used, log in), 1 more with a Google login. Email-only accounts pay 1 credit. Cancel or change plans anytime in Credits & billing.

Secure checkout by Stripe

Questions

Anything else? Email us.

How do I turn a picture into a line drawing?

In two steps: first make a black-on-white edge image from the picture (Find Edges or a sketch filter in a photo editor, or an AI line-art tool), then trace that image to SVG here. Basic SVG is free and runs in your browser.

Does Unraster turn a photo into line art by itself?

No. It traces the pixels you upload as vector shapes. A colour photo comes back as flat colour regions, not outlines, so the edge image has to come from a filter or another tool first.

Will the SVG have strokes I can change the width of?

No. The lines are traced as filled outline shapes, so you cannot change line weight with a stroke setting. If you need uniform single lines, convert the shapes with a centreline or offset tool in a vector editor.

Why does my photo turn into flat colour blobs?

Basic SVG traces colour areas. A photo has smooth gradients and grain, so it becomes bands and specks of colour. Convert the photo to black edges on white first, as in the mug example above.

Which photos make good line art?

A single object or building on a plain background, shot in even light and cropped tight. High-contrast pictures give clean lines; portraits, fur, foliage, textured backgrounds and soft shadows give broken or noisy ones.

Is this the same as a stencil or a silhouette?

No. A line drawing keeps the outline and inner edges of a subject. A stencil or silhouette fills shapes to cut out. For cut-out shapes use the Image to stencil tool.

What if my picture is already a pen sketch?

Then skip the edge step. Photograph or scan the drawing on white paper and use the hand-drawn sketch to SVG page, which is made for dark ink on white.

Can I put a line drawing into PowerPoint instead?

Yes. If the drawing is a diagram with labels, the textbook diagram to editable PowerPoint page rebuilds the text and shapes as editable objects (PowerPoint output is 2 credits; a failed conversion is not charged). A traced SVG itself is not editable text.

Is Basic SVG free, and what does Advanced cost?

Basic SVG is free and unlimited and runs in your browser, so your image is not uploaded. Advanced SVG costs 1 credit, charged only when a file is delivered; if it fails you are not charged. Guests get one free Advanced conversion per device, then one more after signing in with Google, or two when signing in with Google directly. Email-code accounts have no free Advanced conversions.

Trace your line art into an SVG you can scale.

Or drop one PNG, JPG or WebP anywhere on this page.

My files

Pick up where you left off. Saved on this browser.

A fresh canvas awaits.

Images you convert will appear here.

Clearing browser data removes this history.