Photo to pencil sketch
Turn a photo into a pencil sketch online, free: graphite or colour pencil, with the stroke softness and darkness under your control, saved as a full-size PNG. It is the classic colour dodge method, worked out on your device, so no AI redraws your picture and nothing is uploaded.
How to use it
- Drop, paste or choose a photo, or try the sample.
- Pick Graphite or Colour pencil.
- Move Stroke softness for finer or broader shading, and Darkness for a lighter or heavier hand.
- Download the PNG.
How the sketch is made
This is the colour dodge sketch that retouchers have long done by hand in layer-based editors: turn the photo grey, lay an inverted copy over it, blur the copy and set it to the Color Dodge blend mode. Here the same steps run in one pass.
First each pixel becomes a grey value with the BT.709 luminance weights (0.2126 red, 0.7152 green, 0.0722 blue). The grey picture is inverted and blurred with a Gaussian whose width comes from Stroke softness: 2.6 pixels at softness 1, 7.4 pixels at the default 4, 17 pixels at 10. Then every pixel is blended with colour dodge as the W3C Compositing and Blending specification defines it: result = min(1, grey ÷ (1 − blurred negative)).
The trick is in that division. Where the photo is flat, the blurred negative is exactly the negative, so grey ÷ grey = 1 and the pixel turns paper white. Only near an edge does the blur mix in the other side, and the result drops below 1. That is why skies and walls vanish while outlines, hair and creases stay as strokes, with no edge detector at all.
Darkness then bends the tones with a power curve, from 1.15 at Darkness 1 to 4.3 at Darkness 10 (2.2 by default). Higher powers push greys towards black, the way a heavier hand presses harder.
A worked pixel
Take a dark pixel at the edge of a lit cheek: grey 0.20. The blur reaches into the bright cheek, so the blurred negative there is 0.50. Colour dodge gives 0.20 ÷ (1 − 0.50) = 0.40. With the default darkness, 0.402.2 = 0.13, about 34 on the 0 to 255 scale: a firm pencil line. At Darkness 1 the same pixel is 0.401.15 = 0.35, about 89: a light grey stroke. A pixel in the middle of the cheek, where the light is even, comes out as 255: untouched paper.
Colour pencil keeps the stroke but tints it: each channel becomes stroke × (45% white + 55% of the photo’s own colour). Pure red at full strength turns into 255, 115, 115, a pencil red rather than a paint red.
Settings, measured
On the marble head from the home page (974 × 1200 pixels). Mean is the average brightness out of 255; the dark share is how much falls below middle grey.
| Setting | Mean brightness | Dark share | Looks like |
|---|---|---|---|
| Default (softness 4, darkness 4) | 244 | 2.4% | A light pencil study |
| Darkness 8 | 239 | 4.6% | Heavier lines, same detail |
| Softness 1 | 249 | 0.7% | A fine, sharp pen-like outline |
| Softness 9 | 239 | 4.1% | Broad shading around every form |
Pencil sketch, line art or stencil?
| Tool | What you get | Best for |
|---|---|---|
| Photo to pencil sketch | Grey strokes with soft shading | A drawing look, a shading reference |
| Photo to line art | Pure black lines, optional transparent background | Tracing, colouring pages |
| Photo to stencil | Two or three flat tones as layers | Spray paint, screen printing, value studies |
Tips and limits
- Contrast makes the sketch. A photo in flat, foggy light gives a pale result; raise Darkness rather than Softness.
- Busy backgrounds turn into scribble. Crop close, or pick a photo with a plain wall or sky behind the subject.
- Low-light phone photos carry grain, and grain is edges to colour dodge. A smaller softness keeps the grain fine.
- The download is the size of your photo, up to 2400 pixels on the long side.
From sketch to your own drawing
A sketch version shows where the edges and the darks sit, which makes it a useful step between a photo and your own drawing. Print it and copy it by eye, or trace the main lines first. On iPhone and iPad, Traceline turns a photo into outline, shading or grid lines and shows them over your paper through the camera, so the drawing ends up in your own pencil.
Related tools
Questions people ask
How do I make a photo look like a pencil drawing?
Load it here, pick Graphite, and adjust softness and darkness until the strokes look right. Download the PNG.
Is there a free photo to sketch converter online with no AI?
Yes, this one. It is a colour dodge blend of the photo with a blurred negative of itself, done in your browser. Nothing is generated, there is no sign-up and no watermark.
How do you do the pencil sketch effect in Photoshop?
Desaturate the photo, duplicate the layer, invert the copy, set it to Color Dodge and add a Gaussian Blur to it. This page runs those same steps for you.
Do I need an app or Canva for this?
No. It runs in any modern browser on a phone, tablet or computer, with nothing to install.
Can I make a coloured sketch?
Yes. Choose Colour pencil and the strokes take the colours of the photo, lightened like pencil on paper.
Can I get just the outline of a photo?
For clean outlines without shading, use photo to line art. It draws single black lines and can save them on a transparent background.
What size is the download?
The size of your photo, up to 2400 pixels on the long side.
Is my photo uploaded?
No. Everything happens in your browser.
