Skip to main content
Preparing workspace

Photo to Sketch

Photo to line sketch in your browser: line weight, edge cutoff, ink and paper colours, transparent PNG export. Also pencil shading. Nothing uploaded.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Photo to Sketch

Convert any photo into a realistic pencil sketch with adjustable intensity, zoom, before/after compare, and one-click download.

Photo to Sketch makes two looks from one photo. Line sketch finds the contours with a Sobel edge filter and draws them as lines on paper you choose, with live Edge Cutoff and Line Weight controls, six one-tap looks and a transparent-background PNG export. Pencil shading converts a photograph into a pencil drawing using the classic four-step dodge pipeline: the image is reduced to luminance grayscale (0.299R + 0.587G + 0.114B), that layer is inverted, the inversion is softened with a separable box blur, and the two are recombined with a colour-dodge blend so only the edges survive as graphite lines. Three sliders expose the parts that matter — blur radius 1–20 px for how soft the shading reads, contrast −60 to +80 for how hard the darks bite, and sketch intensity 0–100% for how far the result moves from the original photo. A colored-pencil toggle tints the finished lines with each pixel's original hue, and the output saves as PNG.

How to use Photo to Sketch

  1. Drop an image on the Drop a photo to sketch panel, press Select Photo, or paste with Ctrl+V. JPG, PNG and WEBP are supported, up to 25 MB; other files get a plain-language error.

  2. Move the Sketch Controls sliders — Blur Radius from 1 to 20 px, Contrast from -60 to 80, Sketch Intensity from 0 to 100% — and switch on Colored Pencil to tint the lines with each pixel's own hue.

  3. Choose Pencil shading or Line sketch at the top. In Line sketch, tap a look (Clean outline, Fine technical, Bold marker, Blueprint, Chalkboard, Transparent lines), then adjust Edge Cutoff, Line Weight 0-6 px, Line colour and Paper; Undo and Redo (Ctrl+Z) step back through changes. You can also paste a photo with Ctrl+V. Then watch the sketch draw itself under the preview: Pause, Replay, pick 0.5x to 4x speed or drag Drawing progress; Save drawing as video appears where your browser can record it.

  4. Compare the sketch against the original in the preview, then press Download PNG to save altftool-sketch-<timestamp>.png, or New Photo to start again.

Why use Photo to Sketch

  • Line controls you can see working

    Edge Cutoff drops faint speckle to paper and Line Weight thickens contours from 0 to 6 px, with a live preview, Undo and Redo, so you can tune a clean line drawing instead of accepting one fixed filter.

  • Ink, paper and transparent export

    Pick a line colour, paper (white, cream, blueprint, chalkboard) or Transparent, invert for light lines on dark, and download a PNG whose alpha channel holds only the lines.

  • The blur radius is a real control

    Radius is the parameter that decides whether you get tight hatching or broad soft shading, and it is exposed directly from 1 to 20 pixels rather than hidden behind a preset name.

  • Blend, don't just switch

    Sketch intensity mixes the dodged line layer back against the plain grayscale, so 0% is a straight black-and-white photo, 100% is full line art, and everything between is available.

  • Colored pencil from the original hues

    The colour mode multiplies each finished line value by that pixel's own RGB, giving a tinted coloured-pencil look drawn from the actual photo rather than a flat sepia wash.

Common use cases

  • Making a transparent-PNG line layer from a photo: choose Transparent lines, download, and place the outlines over colour in a painting or layout app.
  • Preparing a simple colouring-page outline: Bold marker or Clean outline with Edge Cutoff raised and Line Weight 2-3 px, printed on white paper.
  • Turning a portrait into a pencil-style print for a birthday gift, dropping the intensity to about 70% so the face keeps some tonal shading instead of collapsing to pure outline.
  • Making a line-art reference from a photo to trace or paint over, with blur radius pushed high so the drawing keeps only strong contours.
  • Producing a sketched header image for a blog post or invitation where a literal photograph would look too busy, then comparing before and after on the same frame before downloading.

Frequently asked questions

How do I turn a photo into a line sketch?

Open the tool, choose Line sketch, add a photo (drop, browse or paste), then pick a look or move Blur Radius, Edge Cutoff and Line Weight until the outlines suit you. The compare slider shows the photo next to the result, and Download PNG saves it.

Link to answer
Can I get a transparent background?

Yes. In Line sketch choose the Transparent paper swatch or the Transparent lines look. The preview shows a checkerboard and Download transparent PNG saves an image where only the lines are opaque. Invert is switched off for transparent paper because there is no paper colour to swap.

Link to answer
What do Edge Cutoff and Line Weight do?

Edge Cutoff removes weak edges (texture, noise) and makes strong ones solid; at 0 the lines stay soft. Line Weight grows every line outward by 0 to 6 pixels, so higher values read as a marker rather than a fine pen.

Link to answer
Can I paste a photo or undo a change?

Paste an image from the clipboard with Ctrl+V (Cmd+V on Mac), or drop a new file anywhere on the studio to replace the photo. Undo and Redo buttons, or Ctrl+Z and Ctrl+Shift+Z, step back and forward through your settings; fast slider drags count as one step.

Link to answer
Does it make a vector SVG?

No. The result is a PNG drawn from pixels in your browser. Tracing to scalable vector paths is not offered, so for print at large sizes start from a large photo (up to 2000 px on the longest side is processed).

Link to answer
Can I watch the sketch being drawn and save it as a video?

Yes. Under the preview the sketch draws itself stroke by stroke, darkest outlines first and light shading last; use Pause, Replay, the 0.5x to 4x speed buttons or the Drawing progress slider. With reduced motion switched on it does not play by itself and the slider draws it at your pace. Save drawing as video records the animation as WebM or MP4 in your browser, only where the browser supports MediaRecorder on a canvas; elsewhere, download the PNG instead. Nothing is uploaded.

Link to answer
What is Line sketch mode?

Instead of the dodge blend, Line sketch finds the edges in the blurred photo with a Sobel filter and draws them as dark contour lines on white paper. Blur Radius decides how much fine texture is ignored and Sketch Intensity how bold the lines are.

Link to answer
How does a photo become a pencil sketch?

Grayscale the photo, invert it, blur the inverted copy, then colour-dodge the grayscale with that blur — the formula is result = base × 255 / (255 − blend). Areas where the original and its blurred inverse nearly cancel come out white, and only places with a sharp local change stay dark, which is exactly what a pencil line is.

Link to answer
Which settings give the most realistic result?

Start with a blur radius around 6, contrast near +20 and intensity around 85% — the defaults — then raise blur for softer, broader shading and lower intensity if the face has gone too stark. High-contrast, well-lit photos with a clean background convert best; flat or noisy images produce speckled lines.

Link to answer
What image formats and sizes work?

JPG, PNG and WEBP are accepted, and anything larger than 2000 pixels on its longest edge is scaled down to that before processing so the conversion stays responsive. The finished sketch downloads as a PNG at the processed dimensions.

Link to answer
Is my photo uploaded anywhere?

No. The file is decoded into a canvas and every step — grayscale, blur, dodge, blend — runs on the pixel data in your own browser, so the photo never leaves the device and there is nothing to delete from a server afterwards.

Link to answer