Skip to content
Find a tool

Photo to Line Art

Draw a photo as clean black lines, then download the lines as vector paths.

Free · runs in your browser · nothing is uploaded

Open on Outlinecut

This embed was switched off for this website. Open on Outlinecut

Add this tool to your siteFree embed code, no sign-up. Keep the credit link.

Embed this tool

Copy this code into your website, blog or class page. The tool runs inside your page.

Optional settings, added to the address after embed=1: &accent=0f6b5c (colour, 3 or 6 hex digits). Other parameters are ignored.

Please keep the credit link below the tool.

Photo to line art here means finding the edges in a picture and redrawing them as clean black lines on white, with colour and shading dropped. An edge filter (XDoG, a difference-of-Gaussians method) picks the lines, and the tool traces them into vector paths sized in millimetres. Three sliders shape the result: Line detail (blur) from 0.5 to 4, Line amount from -40 to 40 and Thicken lines from 0 to 4 pixels. You can download SVG, PDF, DXF or PNG. The result is not an AI redraw. The same photo with the same settings always gives the same lines, and a table below shows how strongly Line amount reacts.
Photo to line art example

How to use the Photo to Line Art tool

  1. Drop a photo on the tool, paste one, or press Choose image. Try a sample loads a demo.
  2. Set Width (5 to 600 mm, default 100). The height follows the photo.
  3. Set Line detail (blur) (0.5 to 4, default 1.2). Low values keep small features and texture, high values keep broad shapes only.
  4. Move Line amount (-40 to 40, default 0) in small steps. Negative values drop the weaker lines, positive values add lines.
  5. Raise Thicken lines (0 to 4, default 0) if the lines are too thin to see or to cut.
  6. Use Remove specks up to (0 to 40, default 8) to drop stray dots and Smoothing (0 to 100, default 50) to round the traced curves.
  7. Add Contrast (-100 to 100) when the photo is flat. Tick Invert to swap lines and background.
  8. Compare Original, Result and Overlay, which lays the lines over your photo.
  9. Press Download SVG, Download PDF, Download DXF or Download PNG.

Under the preview, the stats line shows the finished size in millimetres plus the number of paths and nodes, which is a quick way to see how busy the drawing is. Photos with a clear subject and good contrast need the fewest changes. Start with the defaults, then change one slider at a time and watch the preview before you touch the next.

What is a photo to line drawing conversion?

It keeps the edges of a photo as lines and removes the colour and shading, so the picture reads like a pen drawing. The lines can then be printed as a colouring page, engraved, or cut. Here the lines are vector paths, so they can be resized without getting blurry.

How do I convert a photo to a line drawing?

Load the photo, let the edge filter run at its defaults, then tune Line detail and Line amount until the drawing shows what you want. First the photo is scaled to at most 1,400 px on its long side, then the dark side of every edge is found, and those pixels are traced into vector shapes at your width.

  1. Start with the defaults of 1.2 for Line detail and 0 for Line amount.
  2. Lower Line detail (blur) for more fine lines, or raise it to ignore texture.
  3. Adjust Line amount one step at a time.
  4. Add Thicken lines last, because it grows every line equally.
  5. Download the format you need.

How sensitive is Line amount?

Very. Each step on the slider shifts the edge threshold by 0.01, and light areas become black quickly once it is positive. The table shows the share of a test picture (a shaded gradient with a disc and a stripe) that came out black at each setting. A real photo will differ, but the pattern is the same: stay close to zero.

Line amountShare of picture drawn black
-100%
-50.9%
-31.6%
0 (default)1.8%
+111%
+263%
+598%

Thicken lines grows the lines by whole pixels of the analysis picture. On the same test picture, 0, 1, 2 and 4 steps gave 1.8%, 2.5%, 3.2% and 4.8% black.

What types of photos work best?

Photos with a clear subject, even light and a calm background give clean lines. Busy backgrounds, fine textures such as grass or fur, and low-contrast photos create many small marks. Raise Line detail (blur) and Remove specks up to for those, or try Contrast first.

What file formats can I download?

FormatContents
SVGVector paths sized in mm
PDFVector page cut to the artwork
DXFThe same lines for CAD or laser software
PNGBlack lines on white, as a bitmap

Can I turn a photo into a colouring page?

Yes. The lines print as black on white, so the PNG works as a colouring page. Raise Thicken lines by a step or two if the lines look faint on paper.

Answers to common questions

Is this an AI tool?

No. It applies an edge filter and traces the result, so there are no style presets, prompts or redrawing. The same photo and settings always give the same file. You change the look with the sliders.

Can I customise the sketch style?

Within limits. Line detail, Line amount and Thicken lines change how many lines appear and how heavy they are. There are no pencil, ink or cartoon presets.

Can I remove the background?

No. The tool draws the edges it finds, including those in the background. Use a photo with a plain background, or remove it first in another program.

How is line art different from an outline?

Line art draws all the edges in the picture. An outline follows only the outer contour of the subject. For that, use Photo to Outline.

Can I clean up a drawing I already have?

Yes. Line Art Converter is built for scans and sketches, where the lines already exist. This page is for photos.

What happens to my photo?

It is processed in your browser. Nothing is uploaded.

Does it add a watermark?

No. The files you download are only your lines.