Skip to content
PixelPatternMaker

String art generator

FreeNo signupPhoto stays on your devicePrintable nail template

Turn a photo into string art: a portrait drawn with one continuous thread wound between nails on a round board. Upload a picture, choose how many nails and lines you want, and the generator works out the thread path. Download a nail template printed at your real board size, the numbered thread sequence, and follow the steps one line at a time. Your photo stays in your browser.

How to make string art from a photo

  1. Upload a photo of one face or object. The generator crops the centre square and works inside the circle.
  2. Choose nails and lines. Start with 200 nails and 3,000 lines, then compare the preview with fewer or more lines.
  3. Adjust line weight and contrast until the preview looks right from a distance. Squint or step back: that is how the finished piece is seen.
  4. Enter your board diameter and download the nail template PDF. Pages print at 100% and tape together using the assembly map.
  5. Hammer the nails through the numbered dots, peel the paper away, and tie the thread to nail 0.
  6. Follow the sequence from the .txt file or the step-by-step player: each line names the nail to wrap next.

What the settings do

SettingEffectStart with
NailsMore nails = more possible line angles and finer detail, but the nails sit closer together200 (150 for boards under 30 cm)
LinesHow many times the thread crosses the board. Too few looks faint; too many turns grey2,500–3,500
Line weightHow much darkness each line "uses up". Higher spreads lines out; lower piles them into the darkest areasMiddle; raise it if hair or shadows turn into solid blobs
ContrastPushes mid-greys toward black or white before threadingRaise for flat or hazy photos
DiameterSets the template size and the thread length estimate; it does not change the pattern40 cm / 16 in

Nail spacing for your board

The gap between nails is the circumference divided by the number of nails. Leave at least 5–6 mm so you can wrap thread without it slipping between neighbours.

Board diameter150 nails200 nails250 nails300 nails
30 cm (11.8 in)6.3 mm4.7 mm3.8 mm3.1 mm
40 cm (15.7 in)8.4 mm6.3 mm5.0 mm4.2 mm
50 cm (19.7 in)10.5 mm7.9 mm6.3 mm5.2 mm
60 cm (23.6 in)12.6 mm9.4 mm7.5 mm6.3 mm

String art materials

  • Board: plywood or MDF at least 12 mm thick, a little bigger than the circle. Paint it white or a light color so the thread stands out.
  • Nails: small panel pins or finishing nails, all driven to the same height (a spacer block helps). Thin heads let the thread slide off when you wrap.
  • Thread: thin, strong, dark thread such as black sewing, crochet cotton or polyester. Thick yarn hides detail; the pattern assumes a fine line.
  • Template and tape: print the PDF at 100% scale (no "fit to page"), check the scale bar, and tape it flat to the board.

Tips and common problems

  • Losing your place is the most common mistake in a 3,000-step project. Tick off lines in the .txt file in batches of 50, or use the step player and leave the tab open.
  • Face looks muddy: crop closer, use a photo with stronger side lighting, and raise contrast. Eyes need to be at least a tenth of the circle wide to read clearly.
  • Picture too grey: reduce lines or raise line weight. Too pale: add lines.
  • Thread slips off: keep even tension and wrap each nail on the same side as you go; take a break with the thread taped down rather than letting it go slack.
  • Accuracy: a greedy algorithm like this one is a good approximation, not a perfect copy. Real thread is also thicker relative to the board than the preview lines, so the finished piece is usually slightly darker.

String art generator: common questions

How does a string art generator work?

It places nails evenly around a circle and then draws one long thread, nail to nail. At every step it tests the lines to all other nails and picks the one that passes over the most remaining dark area of your photo. It then "lightens" that line in its working copy so later lines go elsewhere. After a few thousand steps the overlapping threads build up the picture.

How many nails and lines should I use?

Around 200 nails and 2,500 to 3,500 lines is a good start for a 40 cm (16 in) circle. More nails give finer detail but need a bigger board so the nails are not too close. More lines make the picture darker; past a point they turn everything grey.

How much thread do I need?

The tool adds up the length of every line for the diameter you enter and shows it under the preview. A 40 cm (16 in) circle with 3,000 lines typically needs around 900 m to 1 km of thread; the exact figure depends on the picture. Buy at least 10% more for knots and tension.

Which photos work best?

A single face or subject, close up, with a plain light background and strong light and shadow. Small details, busy backgrounds and low contrast photos do not survive being drawn with straight black lines.

Can I make it smaller or bigger?

Yes. The pattern is the same at any size; only the nail spacing and thread length change. Set the diameter before you download the template so the nail positions print at the correct size across as many pages as needed.

Is my photo uploaded?

No. The thread path is calculated in your browser and the photo never leaves your device.

How do you do string art?

Hammer nails into a board along a template, then wind thread from nail to nail. For shapes, outline and fill them. For photo string art, follow the numbered sequence from this generator so the overlapping lines build up the picture.