Most address QR code tutorials stop at pasting the address into a generator. That produces a code that displays a line of text, not a route. A useful address code points at a Maps URL or at a vCard with a structured ADR field, so the scan either starts navigation or offers to save the contact. The difference is a few characters of syntax, and it decides whether the scan helps or annoys the person holding the phone.
Decide What the Scan Should Do
An address can be encoded three ways, and each one produces a different result on the phone. Pick the outcome first, then build the payload.
| Goal | Payload | Scanner behaviour | Use when |
|---|---|---|---|
| Get directions | Maps search URL | Opens the pin or route in Maps | A customer needs to travel to you |
| Save contact | vCard 3.0 with ADR | Offers Add to Contacts | Business cards, invoices, letterhead |
| Copy the address | Plain address text | Shows text in the scanner | Internal labels or forms |
Plain text is the weakest option. The scanner shows the address and the user has to copy it, paste it into a maps app and hope the app finds the same building. It is acceptable for a shipping label read by staff, and a poor experience on a customer-facing sign.
A Maps URL is the strongest option for customers because it removes the copy-and-paste step. A vCard is the strongest option when the address belongs with a phone number, email and job title, which is why it is the standard choice for business cards.
Build a Maps URL from an Address
The documented format is https://www.google.com/maps/search/?api=1&query=YOUR+ENCODED+ADDRESS. The query parameter accepts a place name, an address, or a latitude and longitude pair. Google's Maps URLs documentation requires api=1 in every link; without it, the address is ignored.
- Write the address the way a local would, including unit, street, city, postcode and country.
- URL-encode it. Spaces become + or %20, commas become %2C, and an ampersand inside a business name becomes %26.
- Test the raw URL in a desktop browser. Confirm the pin is on the correct building, not the middle of the street.
- Paste the tested URL into the location QR code generator and export SVG for print.
The most common failures are not exotic. A missing postcode sends Google to the wrong suburb. A unit number written as 12/34 confuses the parser; write Unit 12, 34 Main Street instead. A hash symbol in a suite number truncates the URL unless it is encoded as %23. If the address is new and Google has not geocoded it yet, the pin will be approximate no matter how clean the string is.
When the address is ambiguous, add a Place ID. The search URL accepts query_place_id alongside query, and the Place ID wins when Google can resolve it. That is the reliable fix for a business park with several buildings at one street address.
vCard ADR: Seven Fields and the Semicolons
The vCard ADR property is a structured value with seven components separated by semicolons: post office box, extended address, street address, locality, region, postal code, and country. Empty components still need their semicolons. A work address for 221B Baker Street, London, NW1 6XE, United Kingdom looks like this:
ADR;TYPE=WORK:;;221B Baker Street;London;;NW1 6XE;United Kingdom
Count the semicolons and you can see the structure. The first two fields are empty, so the value starts with two semicolons. The street is third, the city fourth, the region fifth (empty for London), the postcode sixth, and the country seventh. Put the apartment or suite in the extended address field, not in the street field, if your contact app displays it separately.
Commas and semicolons inside a component must be escaped with a backslash. That matters for company names such as Smith, Jones & Co. and for addresses that already contain a semicolon. Most generators handle the escaping for you, but check the decoded output if you are building the payload by hand.
vCard 3.0 (RFC 2426) is the safer choice for a printed code because older phones and some desktop clients handle it predictably. vCard 4.0 (RFC 6350) adds fields but has uneven reader support. For a static code that will be printed once and scanned for years, use 3.0. The vCard generator builds the payload and lets you download the code.
International Addresses and Awkward Cases
Do not reorder a Japanese, German or Indian address into a US format before encoding it. Keep the local order and the local script. A Japanese customer reading a romaji address has to translate it back before navigating; a Japanese address in Japanese script opens the right pin immediately.
Rural addresses without street numbers are common and are not a bug. Encode the village, district and postcode, then verify the pin. If the pin lands on a field rather than a gate, switch to coordinates and, if the business has a listing, add the Place ID.
PO boxes are a special case. A PO box is not a physical destination, so a Maps link to a PO box is useless for directions. Use the vCard ADR field for mail, and a separate coordinates or Place ID link for visits. If you need both, print two codes with clear labels rather than one code that does neither job well.
Long country names and diacritics are fine in a QR code, but they lengthen the payload. That pushes the code to a higher version, which means smaller modules at the same physical size. If the printed code is small, use the common English country name and test the result.
Print, Place and Test
Size the code for the distance at which it will be scanned. A code on a business card is read at 15 to 20 cm, so 2 to 2.5 cm wide is enough. A code on a shop window read from the pavement needs 10 cm or more. Keep the four-module quiet zone clear and use a dark foreground on a light background.
Test with three devices and check the destination, not just the beep. On an iPhone, confirm the camera opens the map rather than a text preview. On Android, confirm the browser does not strip the query string. On both, confirm the pin is on the correct entrance and that the place card shows the right branch.
An address changes more often than people expect: a shop moves, a clinic adds a suite, a warehouse switches gates. A static code cannot be edited, so a move means a reprint. If the address is likely to change, a dynamic code or a short link you control is the cheaper long-term choice, even though it adds a dependency on a redirect service. The static vs dynamic comparison explains the trade-off.
