Guide

How to make a QR code on iPhone

Your iPhone's Camera reads QR codes but can't make them. The easiest way is this page: open it in Safari, type your link or details above, and tap Download PNG or Copy image. No app needed. The Shortcuts app also has a Generate QR Code action, and Chrome can make a code for any web page.

01Details

02Theme

03Logo

Optional

How to do it

  1. 1

    Open this page in Safari

    Any browser works, and there's nothing to install.

  2. 2

    Choose what the code opens

    Type or paste a link, or tap a tab for Wi-Fi, WhatsApp, a contact card and more. The code redraws as you type.

  3. 3

    Save or share it

    Tap Download PNG to save the image, or Copy image and paste it into Messages, Mail or Notes.

  4. 4

    Check it reads

    Scan it with another phone, or screenshot it and open the screenshot in Photos, which picks up codes in images.

Safari: every kind of code

The generator at the top of this page runs inside Safari, so the code is made on the phone itself. Links are the default, and the tabs cover Wi-Fi, WhatsApp, contact cards, email, text messages, locations, calendar events and payments. You can add colors and a logo from your photo library.

The tabs matter because each kind of code has its own text format, and the generator writes it for you. A guest Wi-Fi code for a network called Cafe Guest, for example, holds exactly this:

WIFI:T:WPA;S:Cafe Guest;P:latte2026;;

Any phone camera that reads that line offers to join the network. If you type that line yourself, a missing ; is enough for the phone to treat it as plain text.

Copy image puts the code on your clipboard for Messages, Mail, Notes, Pages or Keynote. Download PNG saves it to the Downloads folder in the Files app; pick 2048px if it's going to be printed. To get it into Photos, open the downloaded image and use the Share button.

To keep the generator one tap away, tap Share in Safari and choose Add to Home Screen.

Shortcuts: plain codes from the clipboard

Apple's Shortcuts app has a Generate QR Code action, and Apple's education team publishes a step-by-step guide to building a shortcut with it:

  1. Open Shortcuts, tap +, and search for qr.
  2. Add Generate QR Code and change its input from Text to Clipboard.
  3. Add Save to Photo Album after it, and name the shortcut.
  4. Copy a link, run the shortcut, and the code lands in Photos as your most recent image.

The result is plain black and white, and for anything other than a link or text you'd have to type the right format yourself, like the Wi-Fi line above.

Chrome: the page you're on

In Chrome for iPhone, open the page, tap the Share icon at the top, then Create a QR Code (Google's steps). It only encodes the current page. Our Chrome guide shows how much a long address bloats the code.

Your Wi-Fi, from the Passwords app

On iOS 18 and later, the Passwords app keeps the networks your iPhone has joined (Apple support). Open Passwords, tap Wi-Fi, pick the network, and tap Show Network QR Code. A guest scans it straight off your screen. That's ideal for a friend on your sofa; for a code taped inside a kitchen cupboard, print one from the Wi-Fi QR code generator instead.

Codes from all four methods are static, with the content written into the pattern, so none of them expire. The guide to whether QR codes expire explains which ones do.

Questions people ask

Does this work on iPad?

Yes. The generator, the Shortcuts action and Chrome's Create a QR Code all work the same way on iPad.

How do I scan a QR code on iPhone?

Open the Camera app, point it at the code and tap the link that appears. Our guide to scanning QR codes on iPhone covers Control Center's Code Scanner and what to try when nothing happens.

Written by Last updated