Plan the addresses before the layout
A book can sit on a shelf for thirty years, and every code in it is frozen at the moment of printing. A code made here holds the address directly, so there's no service in the middle that can switch it off. What can break is the address itself, and that part is your job:
- Use your own domain, like
yourname.com/book/ch3. A link shortener or a QR company's address lives only as long as that company keeps it. - Keep the paths short and dull.
/book/ch3survives a website redesign;/2026/11/bonus-scene-for-chapter-three-finalwon't. - Redirect, don't delete. If a page moves, point the old address at the new one.
- Set the domain to auto-renew. A lapsed domain breaks every code in every copy at once.
Done this way, you can swap the video behind chapter 3 or fix a worksheet without a new edition.
What goes in the code, and how big to print it
For https://yourname.com/book/ch3, our generator makes a version 3 code, 29 squares across. At 2 cm wide each square is 0.69 mm, which prints cleanly on book paper. A reader holding the book 20 cm from their phone needs about 2.3 cm by our size calculator, so 2 cm is the floor and a little more is safer. Longer addresses add squares; see the size guide before you go below 2 cm.
Book interiors are usually printed in one ink, and the code should be solid black. Grey codes on cream paper are where scanning gets unreliable; the contrast checker shows why. Square modules (the preset above) hold their shape when ink spreads into uncoated stock.
Download the SVG for InDesign, Affinity or any layout tool that takes vector art. Print-on-demand services want a print-ready PDF, and vector art embeds in it without blurring.
Where it goes on the page
- The outer margin, beside the paragraph it belongs to. The gutter, where the page curves into the spine, bends the code.
- A box at the end of a chapter: "Watch the demo: scan or visit yourname.com/book/ch3".
- The back matter, for your newsletter or the next book in the series.
- The back cover, only well clear of the ISBN barcode, so a bookshop scanner can't grab the wrong one.
Always print the address under the code. Some readers won't scan, and some will be reading after today's phones are gone.
Ebooks are different. A reader would need a second device to scan their own screen, so make the link tappable there and keep the codes for print.
A workbook with fifty codes
One code per exercise is a lot of pasting. Put the addresses in a spreadsheet, one per row, and the bulk QR code generator makes a folder of SVGs in your browser, named so your layout person can match them to pages. Teachers making their own materials will find more in QR codes for teachers.