QR codes for

How to add QR codes to a book

Make a link QR code to a short address on your own website, place it at least 2 cm wide in the outer margin or at the end of a chapter, and print the address beside it. The code itself can't expire. The address is what has to survive as long as the book does.

01Details

02Theme

03Logo

Optional

How to do it

  1. 1

    Set up short pages on your own site

    Addresses like yourname.com/book/ch3. You can change what's on them later without a new edition.

  2. 2

    Make one code per link

    Paste each address above, or put them in a spreadsheet for the bulk generator.

  3. 3

    Place each code with its address

    At least 2 cm wide, with the short address printed under it.

  4. 4

    Scan the printer's proof

    Check the proof copy, especially on cream or uncoated paper.

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:

  1. 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.
  2. Keep the paths short and dull. /book/ch3 survives a website redesign; /2026/11/bonus-scene-for-chapter-three-final won't.
  3. Redirect, don't delete. If a page moves, point the old address at the new one.
  4. 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.

Written by Last updated