Design 7 min read

How to Print a QR Code on a T-Shirt So It Still Scans After Washing

By Arvind Sharma Published 2026-11-29 Updated 2026-11-29
Arvind Sharma — Founder, QRPress QR Code GeneratorArvind built QRPress to give small businesses free, print-ready QR codes without scan caps, ads, or expiry. He writes guides focused on practical deployment — payments, printing, and shop-level security.

Most T-shirt QR codes fail for boring reasons: the artwork was a small PNG, the modules were thinner than the ink spread, or the code was printed in low contrast on a dark shirt. The fix is not a clever design. It is a vector file, a module size the print process can hold, and a wash test on the actual garment. This guide walks through all three.

Start With Vector Artwork

A QR code is a grid of hard-edged squares. A raster PNG at 300 DPI is fine for a paper proof, but it gives the printer a fixed number of pixels to resample, and resampling rounds the corners. An SVG or EPS file stays sharp at any size and lets the printer set the exact physical dimensions.

Generate the code at the final size, not at 1,000 pixels and then scale it. If the code is 80 mm wide on the shirt, export it as an 80 mm SVG. Check that the quiet zone is included in the artwork rather than added later by a designer who may crop it.

Keep the payload short. A short link produces fewer modules, which means larger modules at the same physical size. That is the single biggest lever on printability. A 25-character link might fit in a 25 by 25 grid; a 120-character URL can push the same code to 41 by 41 or more.

Choose a Print Method That Holds the Grid

MethodDetailDurabilityBest for
Screen printCoarse; ink spreadsHighLarge runs, bold codes
DTGHigh detailModerateShort runs, complex art
DTF transferHigh detailModerate to highPolyester, multi-colour
Vinyl / heat transferSharp edgesModerateSmall runs, simple shapes

Screen printing is the most durable for a large run, but the ink spread means the code needs larger modules and a simple payload. DTG reproduces fine detail but sits in the fibres and fades with abrasion. DTF transfers are sharp and cheap for short runs, but the film can crack if the shirt is folded along the print.

Ask the printer for the minimum reproducible line width. That number, not a generic rule, sets your module size. If the printer cannot hold a 0.5 mm line, a code with 0.5 mm modules will blur into a grey square.

Size and Placement

A chest code is read at 30 to 50 cm, so 40 to 60 mm wide is a practical size. A back print can be larger, which lets you use a longer payload or a more decorative frame. A sleeve code is small and curved; it needs a short payload and a forgiving scan angle.

Place the code on the flattest panel available. Avoid the seam, the pocket and the area that creases when the wearer sits. On a dark shirt, print a white underbase and then the dark code, with a clear margin around the grid.

Do not print the code over a busy graphic. The scanner needs a clean quiet zone, and a patterned background behind the code reduces contrast even if the code itself is solid black.

Contrast and Colour

Dark modules on a light background scan best. Inverting the code to white modules on a dark shirt works on some phones and fails on others, because the scanner expects dark data on a light field. If the design calls for an inverted look, test it on at least three devices before printing a run.

Colour is fine as long as the luminance difference is large. A deep green or navy on white reads well; a mid-grey on beige does not. The colour contrast guide explains how to check luminance rather than relying on hue.

Avoid metallic inks and glitter. They reflect light in unpredictable directions and can create glare spots that wipe out part of the code under shop lighting.

Wash Test Before the Run

Print one sample on the final shirt with the final ink. Wash it inside out at the temperature you will print on the care label, dry it as the label says, and scan it after 5, 10 and 20 cycles.

ISO 6330 is the reference procedure for domestic washing tests. You do not need a lab to run a useful version: use the same machine, detergent and temperature each time, and record the cycle count when the first scan failure appears.

Scan the washed shirt on a person, not flat on a table. The fabric curves, the light changes, and the code that worked on the proof may fail on the body. If it survives 20 washes on a person, it is ready for production.

Frequently Asked Questions

What file format should I give the printer for a QR code on a T-shirt?

SVG or EPS vector artwork at the final physical size. Vector files keep hard module edges at any size; a PNG can be resampled and blurred.

How big should a QR code be on a T-shirt?

A chest code read at 30 to 50 cm should be about 40 to 60 mm wide. A back print can be larger. The module size matters more than the overall width.

Will a QR code on a T-shirt survive washing?

It depends on the print method and ink. Screen print with silicone or plastisol is the most durable; DTG fades with abrasion. Test the final shirt to ISO 6330 wash procedures before a production run.

Can I print a white QR code on a black T-shirt?

It can work on some phones, but inverted codes fail more often because scanners expect dark modules on a light background. Print a light patch and a dark code on top, or test the inverted design on several devices.

Why does my T-shirt QR code blur?

The modules are smaller than the ink spread the process can hold. Shorten the payload, enlarge the print, or choose a process with finer resolution.

Create Your QR Code Instantly

Generate a short-link QR code and export vector artwork for garment printing. Use our secure, no-registration static systems or spin up a dynamic tracker campaign in seconds.

Create T-Shirt QR Code