Create QR Codes on iPhone, iPad & Mac – Quick Guide
In this article
Yes, you can create QR codes on iPhone, iPad and Mac without installing any third‑party software by using Apple’s Shortcuts app, which is built into iOS, iPadOS and macOS.
What You'll Need
- An iPhone, iPad or Mac that is running iOS 15, iPadOS 15 or macOS Monterey (or later). The Shortcuts app is included by default on these versions.
- An internet connection if you prefer to use an online generator as a backup.
- A piece of text, a URL, contact information, or any data you want encoded into the QR code.
Step‑By‑Step
- Open the Shortcuts app on your device. On iPhone or iPad, tap the gray Shortcuts icon; on Mac, launch it from the Applications folder or Spotlight.
- Tap the + button (or click File > New Shortcut on Mac) to create a new shortcut.In the shortcut editor, tap Add Action. In the search bar that appears, type “Generate QR Code”. The action appears under the Scripting category; select it.
- Tap the placeholder text “Text” inside the “Generate QR Code” action. Enter the data you want to encode – for example, a website address, a Wi‑Fi password, or a vCard string. You can also leave the field empty and later provide the text via the shortcut’s input.
- Below the QR‑code action, add a Quick Look action (search for “Quick Look”). This will display the generated QR code immediately after the shortcut runs.
- Optionally, add a Share action if you want to send the QR code to another app, save it to Files, or copy it to the clipboard.
- Give the shortcut a clear name such as “Create QR Code”. On iPhone/iPad you can also tap the settings icon (three dots) and enable “Show in Share Sheet” so the shortcut appears whenever you tap the Share button in other apps.
- Tap Done (or click the close button on Mac) to save the shortcut.
- To use the shortcut, either open it directly from the Shortcuts app or invoke it from the Share sheet. On iPhone/iPad, open the app or webpage you want to turn into a QR code, tap the Share icon, scroll to “Shortcuts”, and select “Create QR Code”. On Mac, right‑click a file or URL, choose “Share”, then pick the shortcut.
- The QR code will appear in a Quick Look preview. From there you can tap or click the Share button to save the image, add it to Notes, or send it via Messages.
Common Mistakes
- Leaving the text field blank. If you don’t supply any input, the QR code will encode an empty string, which most scanners treat as invalid.
- Using the wrong data format. A URL must include the full protocol (https://) or some scanners will not recognise it as a link.
- Not enabling the shortcut in the Share sheet. Without this, the shortcut won’t appear when you try to share from other apps, forcing you to open Shortcuts each time.
- Saving the QR image at a low resolution. The Quick Look preview is suitable for on‑screen use but may look pixelated when printed. Use the “Save File” action and choose a larger PNG export if you need print‑quality.
Tips
- Combine the QR‑code shortcut with “Ask for Input” to prompt you each time for the text you want to encode. This makes a single shortcut useful for many different purposes.
- Use the “Copy to Clipboard” action after Quick Look if you frequently need to paste the QR image into documents or presentations.
- On macOS, you can assign a keyboard shortcut to the QR‑code shortcut via System Settings > Keyboard > Keyboard Shortcuts > Services. This lets you generate a QR code with a single key press.
- If you need colour QR codes, add a “Markup” action after Quick Look, then use the colour picker to change the background or foreground before saving.
- For quick one‑off QR codes, you can also use the built‑in “Share” menu on iOS: tap the Share icon on a webpage, then choose “Copy Link”. Open the Shortcuts app and run the shortcut – the copied link will be used automatically if the shortcut is set to accept the clipboard as input.
Troubleshooting
- The shortcut does not appear in the Share sheet. Open Shortcuts, tap the three‑dot settings for the shortcut, and ensure “Show in Share Sheet” is toggled on. On macOS, verify the shortcut is saved in the
~/Library/Shortcutsfolder. - The generated QR code cannot be scanned. Double‑check the input data for extra spaces or line breaks. Use the “Trim Whitespace” action before the QR generator to clean the text.
- The QR image looks blurry when printed. Add a “Resize Image” action after “Generate QR Code” and set the width to at least 800 px. Larger dimensions produce sharper prints.
- Shortcuts crashes or freezes. Make sure your device is running the latest iOS, iPadOS or macOS version. Restart the device, then open Shortcuts again. If the problem persists, delete and recreate the shortcut.
- Unable to save the QR code. Check that the “Save File” action points to a folder you have permission to write to (e.g.,
~/Documents/QR Codeson Mac or the Files app’s “On My iPhone” location on iOS). Grant the Shortcuts app access to Files in Settings > Privacy > Files and Folders.
Frequently Asked Questions
Can I generate a QR code without using Shortcuts?
Yes, you can visit any reputable online QR‑code generator in Safari, enter the data, and download the image. However, Shortcuts keeps everything on‑device and avoids ads.
Do QR codes created on iPhone work on Android devices?
Absolutely. QR codes follow an open standard, so any scanner on Android, Windows, or other platforms can read a code generated on iOS or macOS.
Is there a limit to how much data a QR code can hold?
Standard QR codes can encode up to 4,296 alphanumeric characters, but the more data you add, the denser the pattern becomes, which can affect scan reliability on small prints.
Can I embed a logo in the QR code?
Shortcuts does not provide a built‑in way to overlay a logo. You would need to export the QR image and edit it in an image‑editing app such as Pixelmator or Photoshop.
How do I create a QR code for a Wi‑Fi network?
Use the “Text” field format: WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;. The shortcut will turn that string into a scannable QR code that most phones recognise as a Wi‑Fi credential.
Can I automate QR‑code generation for multiple items?
Yes. Build a shortcut that reads a CSV file from Files, loops through each line with a “Repeat With Each” action, generates a QR code for each entry, and saves them to a folder.