QR Keychains and Wall Plaques: Sizes, Holes and Mounting

Published by Vysa Trading LLC · Updated November 8, 2026 · 12 min read

Keychains and wall plaques are the two flat formats in 3D QR Generator: a small plate you carry and a larger plate you screw to a wall. This guide gives the exact sizes the tool produces for each module count, shows where the holes go, walks through a wifi plaque for a vacation rental, and explains how to mount a plaque without cracking it.

How the tool sizes a flat plate

Both formats use the same arithmetic. The QR width is the number of modules (the small squares of the code) times the module size: 1.7 mm for Small, 2.3 mm for Medium, 3.0 mm for Large. The tool then adds a margin on every side and a band for the hole. Three formulas cover every size in this guide:

The fixed numbers behind each flat format
KeychainWall plaque
Base thickness3.0 mm3.2 mm
Margin around the code4 mm5 mm
Hole band (extra depth)9 mm8 mm
Text band (extra depth, only with relief text)6.5 mm7 mm
HolesOne, 4.2 mm across, centered, center 5.2 mm from the top edgeTwo, 3.6 mm across, centers 6 mm from the top edge and 6 mm from each side edge
Relief letter height4.5 mm5 mm
Size loaded by its templateSmall (1.7 mm)Medium (2.3 mm)

Example: a keychain for a 25-module link at Small. The code is 25 × 1.7 = 42.5 mm wide. Width is 42.5 + 8 = 50.5 mm, depth is 50.5 + 9 = 59.5 mm, and the finished piece is 3.0 + 1.2 = 4.2 mm thick. Every figure below comes from these same formulas.

Keychain sizes by module count

The module count depends on what the code holds. A short link is usually 21 to 25 modules, a medium link 29, and longer content 33 or more. The tool shows the real count for your content in the Size calculator, so use this table to see what a given count means in millimeters.

Keychain dimensions (width × depth, mm). Height is 4.2 mm at the default 1.2 mm relief.
SizeModulesQR widthWidth × depth, no textDepth with relief text
Small (1.7 mm)2135.743.7 × 52.759.2
2542.550.5 × 59.566.0
2949.357.3 × 66.372.8
3356.164.1 × 73.179.6
Medium (2.3 mm)2148.356.3 × 65.371.8
2557.565.5 × 74.581.0
2966.774.7 × 83.790.2
3375.983.9 × 92.999.4

A Small 25-module keychain (50.5 × 59.5 mm) is smaller than a credit card in both directions, while a Medium 33-module one (83.9 × 92.9 mm) is palm-sized, so for a key ring stay on Small. Each step up in module count adds four modules, or 6.8 mm per direction at Small and 9.2 mm at Medium, which makes a shorter link the most effective way to shrink the plate. Small is also the floor: at 1.7 mm the scan check shows a blue note (modules under 1.9 mm call for a 0.4 mm nozzle or finer and layers of 0.2 mm or less), and modules under 1.5 mm are flagged red.

3D preview of a flat keychain plate with a light base, a raised dark QR code and one small ring hole at the top edge, seen from slightly above and in front
Screenshot of the free tool's 3D preview in Keychain format. The ring hole is at the top edge, and the code is raised on a flat light base.

In the preview, check that the hole sits clear of the code with plain plate around it. Note the proportions too: 3.0 mm of base under 1.2 mm of relief. The corners are rounded with a radius of 6% of the shorter side, about 3 mm on this keychain.

The ring hole: where it sits and how much plastic is left

The hole is a plain through-hole 4.2 mm across, centered side to side, with its center 5.2 mm from the top edge. The measurements in the diagram are for the Small 25-module keychain, and the hole position is the same on every size.

QR code, 42.5 mm5.2 mm3.1 mm plastichole Ø 4.2 mm5.7 mm to the code442.5 mm450.5 mm wide59.5 mm
Top view of a Small, 25-module keychain with real dimensions in millimeters. The hole position is fixed; the QR block is a schematic, not a scannable code.

The hole edge starts 5.2 − 2.1 = 3.1 mm from the plate edge, which is roughly eight lines of a 0.4 mm nozzle. That narrow strip carries the pull of the ring, so it is the part to protect. The 5.7 mm of plain plate between the hole and the code keeps a ring from rubbing on the raised modules.

Relief text needs a heads-up. You can type up to 24 characters, and the tool lengthens the plate by the 6.5 mm text band (Small 25 goes from 59.5 to 66.0 mm). Letters are 4.5 mm tall and shrink if the text is wider than the plate minus 6 mm (44.5 mm here); the scan check warns in blue when it shrinks them and in red below 3 mm. Keep names short, and check the 3D preview to confirm the lettering does not run into the hole. The text is centered in that band, between the ring hole (or the two plaque holes) and the QR code, so it never lands on a hole.

3D preview of a Small keychain with the relief text "Cafe Luna" centered between the ring hole at the top and the QR code below it.
Screenshot of the free tool: a Small keychain with the relief text “Cafe Luna”. The lettering sits in the text band between the hole and the QR code.

Everyday use and event batches

A keychain lives in a pocket or a bag, so expect the raised code to scuff over time. The default relief is 1.2 mm; a taller relief (up to 2.0 mm) is easier to see but catches more on pocket linings, so there is no perfect setting. Link to a page you control, because the printed code cannot change, and keep spares. A lost-and-found tag should link to a message or contact form, never a home address, since anyone who finds it can scan it.

For a wedding, conference or fair batch:

Wall plaque sizes by module count

The plaque has a 3.2 mm base, a 5 mm margin and two holes at the top, so the default height is 3.2 + 1.2 = 4.4 mm. The last column is the one to use on the wall: the holes sit 6 mm in from each side, so their spacing is always the plate width − 12 mm.

Wall plaque dimensions (mm). Height is 4.4 mm at the default 1.2 mm relief.
SizeModulesQR widthWidth × depth, no textDepth with relief textHole spacing, center to center
Medium (2.3 mm)2148.358.3 × 66.373.346.3
2557.567.5 × 75.582.555.5
2966.776.7 × 84.791.764.7
3375.985.9 × 93.9100.973.9
Large (3.0 mm)2163.073.0 × 81.088.061.0
2575.085.0 × 93.0100.073.0
2987.097.0 × 105.0112.085.0
3399.0109.0 × 117.0124.097.0

Medium covers most plaques. The tool's rule of thumb is that the QR width in millimeters should be at least the scanning distance in centimeters, and never less than the module count × 1.5 mm. By that rule a 75.9 mm code suits scanning from about 75 cm or closer, and a 99 mm code from about 1 m. Enter your own distance in the Size calculator. Even the largest plaque here is far below the 180 mm at which the tool warns about small printer beds.

3D preview of a wall plaque with a light base, a raised dark QR code and two small mounting holes in the top corners, seen from slightly above and in front
Screenshot of the free tool's 3D preview in Wall plaque format. The two mounting holes are in the top corners, and the plate is thicker than the keychain (3.2 mm base).

The diagram shows the Medium 33-module plaque, the size a typical wifi code produces.

QR code, 75.9 mm73.9 mm between hole centers6 mm6 mm13 mm band(5 mm margin +8 mm hole band)75.9 mm5 mm575.9 mm585.9 mm wide93.9mm
Top view of a Medium, 33-module wall plaque (85.9 × 93.9 mm) with real dimensions in millimeters. Adding relief text lengthens the plate by 7 mm, to 100.9 mm; margins and hole positions do not change.

The diagram also shows the room for fasteners. Each hole edge is 6 − 1.8 = 4.2 mm from the nearest plate edge, and each hole center is 7 mm above the top of the code (13 mm band minus 6 mm), so screw heads up to roughly 10 mm across stay clear of the code.

Case study: a wifi plaque for a vacation rental

This is a worked example, not a customer story. Imagine a lakeside cabin rental called Cedar Lodge. The owner is tired of texting the wifi password to every guest and wants a plaque by the door that joins the network when a phone scans it.

  1. Create a guest network on the router. Name it something guests will recognize, such as Cedar Lodge Guest, with a password you use nowhere else. Many routers can isolate guest devices from your own; check the router's documentation.
  2. Load the template. Open the wifi plaque template and use its button. The tool opens in Wall plaque format, Medium size, Wifi mode, 1.2 mm relief.
  3. Enter the network. Fill in the name and password, set the security type (WPA is the usual choice for a password-protected home network), and tick hidden only if the name is hidden.
  4. Read the size and add a label. The Size calculator shows the module count and width; compare it with the plaque table. A relief line such as Guest wifi tells guests what the code is for.
  5. Check, print, test. Fix anything red in the scan check, print, and scan the finished plaque on two phones before screwing it to the wall.

What is stored in the code

A wifi code holds text, not a link. For the example network with the password Loon;Kayak:2026, the tool generates:

WIFI:T:WPA;S:Cedar Lodge Guest;P:Loon\;Kayak\:2026;;

Parts of the wifi string
PartMeaningIn the example
WIFI:Tells the phone this is network login dataWIFI:
T:Security type: WPA, WEP or nopassT:WPA;
S:Network name (SSID)S:Cedar Lodge Guest;
P:Password (left out for an open network)P:Loon\;Kayak\:2026;
H:true;Added only if you tick the hidden-network boxNot used
;Final semicolon that closes the string;

Which characters get escaped

Semicolons and colons are separators, so a password containing them would be misread. The tool puts a backslash in front of five characters in the name and password. You type normally and never add backslashes yourself.

Characters escaped by the tool
You typeStored asWhy
\ (backslash)\\The escape character itself
; (semicolon)\;Separates the fields
, (comma)\,Reserved by the wifi format
: (colon)\:Separates a field name from its value
" (double quote)\"Reserved by the wifi format

Other punctuation (hyphens, underscores, !, # and spaces inside a name) is stored as typed. Two details: the tool trims spaces from both ends of the network name but not the password, so an accidental trailing space in a password stays in the code; and accented letters usually take more than one byte each, which can push the code up a size.

Why wifi codes usually land around 33 modules

The format costs 18 characters before you add anything: WIFI:T:WPA;S: is 13, ;P: is 3 and the closing ;; is 2. The name and password come on top, and each escaped character counts twice. Standard QR capacities at the tool's normal error-correction level (M) are about 14 bytes for 21 modules, 26 for 25, 42 for 29, 62 for 33 and 84 for 37, which gives approximately these ranges:

Approximate module count for a wifi code
Network name + password (characters)Approximate modulesPlaque at Medium (width × depth)
Up to about 82567.5 × 75.5 mm
About 9 to 242976.7 × 84.7 mm
About 25 to 443385.9 × 93.9 mm
About 45 to 663795.1 × 103.1 mm

Ticking the hidden option adds 7 characters. A descriptive name of 15 to 20 characters plus a generated password of 12 to 20 is already 27 to 40, which is why 33 modules is the common result. The example string is 52 characters long, so it comes out at approximately 33 modules. These are estimates from standard QR capacities; the tool displays the actual module count for what you enter, and that number is the one to trust.

One trap: a logo or emoji in the center switches the code to the highest error-correction level (H), which holds far less. The same 52-character string would then need approximately 41 modules, a plaque about 104 mm wide at Medium. Leave the center empty on a wifi plaque.

Choosing the size

For the Cedar Lodge example at approximately 33 modules:

A shorter set-up, Lake House with the password sunny-days (38 characters in the code), comes out at approximately 29 modules and 76.7 × 84.7 mm at Medium. Still, never weaken a password just to save a few millimeters.

Privacy: the plaque shows the password

The password is stored in the code as plain text. Anyone who can scan the plaque can join the network, and any QR reader app can show the raw string, password included. That suits guests and does not suit strangers, so:

Mounting a wall plaque

Mounting options for a plaque
OptionGood forWatch out for
Screws (with plugs in drywall or masonry)Permanent installs in reception areas, shops and rentalsThe holes are 3.6 mm and straight, with no countersink, so the screw head sits on top of the plate
NailsWood or soft walls where a screw is inconvenientMany nail heads are smaller than 3.6 mm and pull through; hammering can crack the plate
Foam mounting tapeSmooth, clean walls and doorsDust and texture weaken the bond; check the tape's weight rating
Removable adhesive stripsRentals and temporary signsFollow the rating and the wait time before hanging
Magnets or a backing plateFridge doors, metal frames, boards fixed to the wallMagnets can shift, so use two or more

For tape and strips, estimate the weight: an 85.9 × 93.9 × 3.2 mm base is about 25.8 cm³, and PLA is around 1.24 g/cm³, so a fully solid plate is about 32 g (less with infill). Pick a tape or strip rated well above that.

Which screw fits a 3.6 mm hole

wall (a pilot hole or plug is usually needed)plate 3.2 mmhole 3.6 mm3.0 mm shank leaves about 0.3 mm each sidehead wider than 3.6 mm(about 5.5 to 6 mm on a small pan head)
Cross-section of a plaque screwed to a wall (not to scale for the wall). A 3 mm screw passes through the 3.6 mm hole with about 0.3 mm to spare on each side, and a head wider than the hole presses the plaque flat.

How not to crack it

Hang a plaque at roughly chest or eye height in even light, with no mirror or window facing it. If it will not scan once installed, see Why a 3D-Printed QR Code Won't Scan.

Keychain, wall plaque or table stand?

The three formats share one QR generator and differ in shape, fixing method and print workflow. Example sizes use 25 modules for the keychain and stand and the 33-module wifi code for the plaque.

The three formats compared
KeychainWall plaqueTable stand
ShapeFlat plateFlat plateWedge tilted 38°, 5 mm front lip
Base thickness3.0 mm3.2 mm3.0 mm
Margin4 mm5 mm4 mm
HolesOne, 4.2 mmTwo, 3.6 mmNone
Text band6.5 mm7 mm8 mm
Example size (W × D × H)Small 25: 50.5 × 59.5 × 4.2 mmMedium 33: 85.9 × 93.9 × 4.4 mmMedium 25: 73.5 × 61.4 × 53 mm
Scanned fromIn the hand, closeArm's length or moreAcross a table
Two-color printOne color change, after the baseOne color change, after the baseColors alternate over many layers
Single-color printerPause at layer 15 (0.2 mm layers)Pause at layer 16 (0.2 mm layers)Not suitable: the code is tilted
Main riskScuffs and a cracked ring holeGlare and a loose mountTipping, spills, wipe-downs

Choose the keychain when the code must travel with a person, the plaque when information belongs to a place, and the table stand when people read it from a seat. The layer numbers assume a 0.2 mm first layer and 0.2 mm layers; the tool's Printer guide recalculates them for your layer height. See Two-Color 3D Printing for QR Codes for the full workflow.

Before you hand them out

Frequently asked questions

How thick should a keychain be?

The keychain base is 3.0 mm thick and the code adds 1.2 mm by default, so the finished piece is about 4.2 mm. That is usually sturdy enough for everyday use. For rough handling, print it in PETG rather than trying to make it thicker.

Can I use a different hole size?

The tool has no hole-size setting: the keychain hole is 4.2 mm and the plaque holes are 3.6 mm. If you edit the file in a slicer or modeling app, keep at least about 3 mm of plastic between a hole and any edge, as the default keychain does (3.1 mm).

Does a wifi code work on every phone?

Recent versions of iOS and Android generally read wifi codes from the camera and offer to join. Older devices may need a scanner app, so keep the network name visible as relief text too.

Will the plaque survive outdoors?

PLA can warp in strong sun. For a porch or a garden gate, use PETG or ASA, and check the code regularly. A plaque outdoors also shows the wifi password to anyone passing by.

What screw fits the plaque's 3.6 mm holes?

An M3 machine screw (3.0 mm) or a #4 wood or drywall screw usually fits with a little play. A #6 is probably too tight. Choose a head wider than the hole, add a small washer if unsure, and tighten by hand until just snug.

Is it safe to put my wifi password in a QR code?

The password is stored in the code as plain text, so anyone who can scan the plaque can read it. Use a guest network, hang the plaque indoors, and replace it when you change the password.

Try it in the tool

Put this guide into practice with these free tools:

Make your own 3D QR code

Pick the keychain or wall plaque format, try wifi mode if you need it, and check the preview before you print.

Open the free tool