Skip to content

Menu

Free tool

Photo to line art

Turn a portrait, pet photo, product shot or sketch into a clean black-and-white line drawing. Set how much detail and shading to keep, preview it live, and download a PNG or an editable SVG. Your photo never leaves your browser.

  • Free, no sign-up
  • Never uploaded
  • Works offline once loaded
Photo to line art

Guide

Photo to line art, explained

Turn a portrait, pet photo, product shot or sketch into a clean black-and-white line drawing. Set how much detail and shading to keep, preview it live, and download a PNG or an editable SVG. Your photo never leaves your browser.

How it finds the lines

Contour looks for the places where brightness changes, the outline of a face, the edge of a sleeve, the line between a pet and the background, and draws them as black lines with a method called XDoG (eXtended Difference of Gaussians) that artists’ tools use for an inked look. It works on the brightness of the picture, so colors do not matter, only contrast.

Detail sets the scale of the lines: higher keeps fine texture such as hair and fabric, lower keeps only the main outlines. Shading fills the darkest areas with solid black, from none at 0 to bold, comic-style shadows at 10. Clean up removes small specks left by noise and grain.

Getting a clean drawing

Photos with even light and a plain background give the cleanest lines. Crop to the subject first, and if the background is busy, raise Clean up and lower Detail until only the shapes you want remain.

For coloring pages, keep Shading low and Line weight on Normal or Bold so the areas are easy to fill. For an illustration or a logo base, download the SVG: the lines are traced into filled vector paths you can scale and edit in Illustrator, Inkscape or Figma.

Sizes and formats

The PNG is black lines on white, or on a transparent background, at the size the photo was read at: up to 1.6 megapixels on the Free plan and 16 on Pro, enough for an A4 print at 300 dpi. The SVG has only the black shapes, ready for a Cricut, a laser or a vinyl cutter.

FAQ

Frequently asked questions

Something else? Write to contour@niamori.ai.

Is this AI?

No. It is a classic edge-detection filter that runs in your browser, so it does not invent details and gives the same result every time. It traces what is in the photo.

Can I make a coloring page from a photo?

Yes. Keep Shading at 0 to 2, set Line weight to Normal or Bold, raise Clean up until the background is empty, then download the PNG and print it.

Is it free?

Yes, with no watermark and no sign-up, for photos up to 1.6 megapixels. Larger photos are read at 1.6 megapixels on the Free plan; Pro reads up to 16 megapixels for finer lines.

Are my files uploaded?

No. Everything runs in your browser, so your files stay on your device. That makes it safe for client artwork and unreleased designs.

What else does Contour do?

Contour converts PNG, JPG and WebP images into clean, editable SVG vectors, also in your browser. The SVG download is free for any single image, traced at up to 1.6 megapixels; Pro traces at up to 16 megapixels and adds batches and PDF, EPS and DXF export.

Turn your next image into a vector.

Free in your browser. Pro adds 16-megapixel tracing, batches and PDF, EPS and DXF export for US$5 a month.