Photo to Pencil Sketch
Convert any picture into a hand-drawn pencil sketch directly in your browser, with live sliders for shading and line darkness.
Processed on your device — nothing is sent anywhere.
How it works
- Drop a photo onto the tool or click to choose one from your device.
- Move the shading and darkness sliders; the sketch preview updates as you drag.
- Press and hold the preview to compare with the original, then download the sketch as PNG or JPG at full resolution.
Frequently asked questions
- Is my photo uploaded anywhere?
- No. The image is opened, converted, and exported entirely inside your browser using the canvas element. Nothing is sent to a server, and the tool keeps working offline once the page has loaded, so it is safe to use with private photos.
- How does the pencil sketch effect actually work?
- It uses the classic color-dodge technique digital artists apply in photo editors: the image is converted to grayscale, an inverted copy is blurred, and the blurred inverse is dodge-blended over the grayscale. Flat areas cancel out to near white, while edges — where the blur differs from the original — remain as dark pencil-like strokes.
- What do the two sliders control?
- Shading sets the blur radius used in the blend: small values produce a fine line drawing with mostly outlines, larger values bring back soft shading and tonal areas, closer to a graphite drawing. Darkness multiplies the stroke strength, turning faint gray lines into bolder, higher-contrast ones without changing where they appear.
- Which photos convert into the best sketches?
- Images with clear edges and good contrast work best: portraits against plain backgrounds, buildings, pets, and product shots. Very dark or low-contrast photos yield faint sketches — raise the darkness slider to compensate. Busy backgrounds turn into dense line clutter, so tightly cropped subjects usually look cleaner.
- Is the downloaded image full resolution?
- Yes. The live preview is computed on a downscaled copy so the sliders stay responsive, but when you click Download the effect is recomputed on the original pixels with the blur radius scaled to match. A 12-megapixel photo exports as a 12-megapixel sketch, suitable for printing.
About this tool
This tool converts a photograph into a pencil sketch — a grayscale drawing where edges become graphite-like strokes and flat areas fade to paper white. Drop in a photo, adjust two sliders, and watch the drawing form in real time: one slider controls how much soft shading survives the conversion, the other how dark and confident the lines are. Press and hold the preview at any point to flick back to the original for comparison, then export the result as PNG or JPG.
Under the hood it uses the same color-dodge method taught in Photoshop tutorials, computed here on raw canvas pixel data. The photo is first reduced to grayscale, then inverted, and the inverted copy is blurred with a box filter at the radius you choose. Blending that blurred inverse over the grayscale with a color-dodge formula divides one by the other: wherever the two agree the result is white, and wherever they disagree — along edges and texture — dark strokes remain. Everything runs in your browser; the photo never leaves your device, which matters when you are sketching family portraits or unreleased product shots.
Sketch conversions have plenty of everyday uses. People turn portraits into line drawings for custom gifts, coloring pages for kids, tattoo and embroidery references, wedding invitations, and social media avatars. Because the download is rendered at the image’s native resolution rather than the preview size, the output holds up when printed on a card or a poster.
For a clean coloring-page look, keep shading low and push darkness up so only crisp outlines remain. For a realistic graphite drawing, raise shading until midtones reappear and keep darkness near the default. If the result looks washed out, the source photo is likely low contrast — increasing darkness usually fixes it more naturally than re-editing the photo first.