Matter QR Code Generator
Paste the MT: payload of a Matter device to check it and recreate its pairing QR code, for a replacement label or a setup sheet. The payload is checked in your browser.
The text stored in the device's original QR code. It starts with MT: and uses capital letters, digits, hyphens, and periods.
The QR code will contain
Paste the payload to check it.
The payload is checked in this browser and is not sent to ZapToQR. It contains the setup passcode of your device, so keep the printed code where only people you trust can scan it.
What a Matter QR code contains
Every Matter device ships with a setup code. It appears as a QR code and as a long number printed near it. Both carry the same information in different forms: the QR code for scanning with a phone, the number for typing by hand.
The QR code holds a line of text that starts with MT: followed by letters, digits, hyphens, and periods. Packed inside that text are a few values the smart home app needs to find the device and prove that you have it in front of you.
| Value | Size | What it is for |
|---|---|---|
| Vendor ID | 16 bits | Identifies the manufacturer |
| Product ID | 16 bits | Identifies the product model |
| Discriminator | 12 bits | Helps the app pick out this device among others nearby |
| Passcode | 27 bits | The secret that proves you hold the device |
| Discovery capabilities | 8 bits | How the device can be found during setup |
The tool decodes the payload and shows the vendor ID, product ID, and discriminator so you can confirm it is the right device. It confirms that a passcode is present but does not display it.
When you need to recreate the code
- The sticker is worn, scratched, or was painted over, but you saved the payload text earlier.
- The device is installed where the code can no longer be seen, such as inside a wall box, a ceiling fixture, or behind an appliance.
- You keep a setup sheet for a home or a rental with one clear code per device.
- You develop Matter devices and want a clean code for a test unit.
This tool recreates a code from a payload you already have. It cannot produce a code for a device whose payload you do not know, and it cannot convert the numeric pairing code into a QR code, because the number leaves out the vendor and product information that the QR text includes.
How to recreate a Matter QR code
- Find the payload text. Scanning the original code with a QR reader shows it, and some apps and developer tools display it. It starts with MT:.
- Paste it into the box above. Capital letters matter, so do not retype it in lowercase.
- Check the decoded vendor ID, product ID, and discriminator against what you expect for the device.
- Select Make the QR code and download it as PNG or SVG.
- Print it, and label it with the device name and location.
If you still have a photo of the original sticker, you can read the payload out of it with the QR code reader on this site and paste the result here.
Why the tool rejects a payload
The text is not free-form. It encodes a fixed structure, so a single wrong character usually produces values that cannot be valid, and the tool tells you so instead of drawing a code that will fail during setup.
- A letter O was typed for a zero, or a lowercase letter for a capital. The payload uses digits, capital letters, hyphens, and periods only.
- A character was dropped. There are at least 19 characters after MT:.
- You pasted the numeric pairing code. That one is typed into the app and does not go into a QR code.
- The text came from a different kind of code, such as a HomeKit setup code, which uses another format.
Treat the code as a key
The passcode inside the payload is what lets someone add the device to their smart home. A printed code on the outside of a house, in a shared hallway, or in a photo posted online gives that ability to whoever sees it while the device is open for pairing.
Keep printed codes inside, with your other household papers or on the inside of a cabinet door. If you share a setup sheet with a tenant or an installer, share only the codes they need. The payload you paste here is checked in your browser and is not sent to ZapToQR.
Questions people ask
Can I generate a Matter QR code for any device?
Only if you have its payload, the text that starts with MT:. The payload comes from the manufacturer. This tool redraws the QR code for a payload you already have.
Can I turn the 11-digit pairing code into a QR code?
No. The numeric code does not contain everything the QR payload does, so it cannot be converted. Type the number into your smart home app instead.
Is the payload uploaded?
No. It is decoded and checked in your browser. It is not sent to our servers.
Why do you not show the passcode?
It is the secret part of the payload, and you do not need to read it to recreate the code. The tool only confirms that a valid passcode is present.
Will the recreated code work like the original?
It contains the same text, so a smart home app reads the same values from it. Print it large enough and with good contrast, then test it before you put the original out of reach.
What is a test vendor ID?
Vendor IDs 0xFFF1 to 0xFFF4 are set aside for development and testing. Seeing one means the payload belongs to a development device or a sample, not a retail product.
Other QR code types
- URL
- WiFi
- vCard
- Text
- Phone
- SMS
- Location
- Event
- YouTube
- Business card
- Google review
- Google Form
- QR code with logo
- Image to QR
- PDF to QR
- Restaurant menu
- Wedding
- eSIM activation
- Recurring event
- Notion page
- eBay store
- QR code reader
- QR code validator
- Contrast checker
- Print size calculator
- UTM QR code
- Transparent QR code