Skip to content
hateitall

Edge Detection

Pull the outlines out of any image for line art, tracing, stencils or computer vision tests.

Processed locallyIn: PNG, JPEG, WebP, GIF, BMP, AVIFOut: PNG, JPEG, WebP, ZIP

Loading tool…

How to use edge detection

  1. Drop an image.

  2. Pick a style: white edges on black, black on white for tracing, or coloured edges.

  3. Add smoothing to ignore noise and fine texture.

  4. Raise the cutoff for clean single weight lines, then export.

What this tool does

  • Sobel gradient magnitude on luminance
  • Gaussian smoothing before detection, sized in full image pixels
  • Hard cutoff for binary edge maps
  • Black on white output ready for printing or tracing

How the result is verified

Each output is decoded again after encoding and checked for the expected width and height.

Frequently asked questions

How do I get clean lines from a noisy photo?

Raise Smooth first to 2 or 3 pixels, then raise the cutoff until the background clears. Black on white is easiest to judge.

Can I use this for a colouring page?

Yes: black on white with some smoothing and a cutoff gives a printable outline. Photo to Pencil Sketch gives a softer hand drawn look.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Graphite or coloured pencil drawing from any photo

PNG · JPEG · WebP +→ PNGLight on device

Raised relief with strength, depth and light direction

PNG · JPEG · WebP +→ PNGLight on device

Two tone image with manual or automatic cutoff and dithering

PNG · JPEG · WebP +→ PNGLight on device

21 effects from duotone and halftone to sketch, glow and RGB split

PNG · JPEG · WebP +→ PNGLight on device

Unsharp mask with amount, radius and threshold

PNG · JPEG · WebP +→ PNGLight on device