Skip to main content
ToolsHub

Pencil Sketch Effect

Convert a photo into a hand-drawn pencil sketch using the classic dodge-blend technique, all in real time on your device with one softness control.

Updated

Files never leave your browser
Files never leave your browser

Drop an image here, or click to browse

Turn a photo into a pencil-sketch drawing

How to use Pencil Sketch Effect

The pencil-sketch effect transforms a photograph into something that looks hand-drawn with graphite: clean white paper with darker lines tracing the edges and contours of the subject. It is achieved with a classic image-processing recipe — convert to grayscale, invert, blur, and colour-dodge blend with the original — which mathematically highlights edges while pushing smooth areas to white. This tool runs that whole pipeline live on a canvas in your browser, with a single softness slider that controls how delicate or bold the pencil lines appear, and exports the result at full resolution without uploading your photo.

  1. Drop a photo onto the upload area or click to browse.
  2. Watch the live pencil-sketch preview appear.
  3. Drag the softness slider for lighter or darker lines.
  4. Pick a high-contrast photo for the strongest effect.
  5. Click Download Image to save the sketch as a PNG.

Your data never leaves your device — 100% private processing.

How the dodge-blend sketch works

The effect chains four steps. First the image is converted to grayscale so only luminance matters. That grayscale copy is inverted to a negative, then blurred by the amount the softness slider sets. Finally the original grayscale and the blurred negative are combined with a colour-dodge blend, where each output pixel divides the base by the inverse of the blend layer. Where the two layers nearly cancel — flat, even-toned regions — the result goes white; where edges create a mismatch between the sharp original and the blurred negative, dark pencil lines appear. The blur radius is the only variable: more blur spreads the cancellation and yields lighter, softer strokes.

StepOperationEffect
1GrayscaleRemove colour
2Invert + blurBuild the negative
3Colour dodgeTrace edges as lines

Getting the best sketch from a photo

Because the technique relies on edges, the input photo matters as much as the slider. Sharp, well-lit images with clear outlines — faces, architecture, objects on plain backgrounds — produce crisp, recognisable sketches. Soft, blurry, or low-contrast photos give a faint, washed-out result because there are few edges to trace. If the sketch looks too pale, lower the softness for darker lines or start from a higher-contrast source; if it looks noisy or harsh, raise the softness to smooth the lines. The effect is grayscale by nature, so it suits a graphite or charcoal aesthetic rather than coloured artwork.

Worked examples

Portrait sketch

Inputs: Face photo · softness 8

Result: Clean pencil-style portrait

Building sketch

Inputs: Architecture · softness 5

Result: Bold architectural line art

Glossary

Grayscale
An image using only shades of gray, no colour.
Colour dodge
A blend mode that brightens the base by the blend layer.
Negative
An inverted image where light and dark are swapped.
Edge
A boundary of sharp contrast that the sketch traces as a line.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Image Tools

Explore all Image Tools.