Photo to Pencil Sketch

Transform your photos into beautiful pencil sketches instantly. Adjustable line darkness and smoothness.

How it works: The image is converted to grayscale, inverted, blurred, and then blended using color dodge to create pencil-like strokes. Adjust the blur radius and darkness to fine-tune. Edge processing improved for smoother borders.

Supported formats: JPEG, PNG, WebP, BMP. Max size 10MB.
Higher values create softer, more blended strokes.
Multiplier for line intensity (1.0 = normal).

About Pencil Sketch Effect

This tool uses a classic image processing technique to create a pencil sketch effect. The algorithm involves the following steps:

1
Grayscale conversion: The image is desaturated to remove color.
2
Invert: The grayscale image is inverted (light becomes dark).
3
Gaussian blur (approximated): The inverted image is blurred to create softness. Edge extension prevents dark borders.
4
Color dodge blend: The original grayscale and the blurred inverted image are combined using the formula: result = (original) / (255 - blurred) * 255. This creates the sketch lines.

Pro tip: For best results, use high-contrast images with clear edges. Portraits and landscapes work particularly well. Adjust the blur radius to control the thickness of the "pencil" strokes. Enable "Output at original resolution" for high-quality downloads.

Frequently Asked Questions

No, all processing is done entirely in your browser. Your images are never uploaded to any server, ensuring complete privacy.

You can upload JPEG, PNG, WebP, and BMP images. The maximum file size is 10MB to ensure smooth performance.

Yes, use the "Smoothness" slider to control how blended the lines are, and the "Darkness" slider to make the lines more or less intense. Experiment to get the look you want.

By default, the preview is scaled to a max width of 400px for performance. Checking this option will generate the sketch at your image's original size, which is ideal for printing or high-quality saving, but may be slower for large photos.