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.

ValueSizeWhat it is for
Vendor ID16 bitsIdentifies the manufacturer
Product ID16 bitsIdentifies the product model
Discriminator12 bitsHelps the app pick out this device among others nearby
Passcode27 bitsThe secret that proves you hold the device
Discovery capabilities8 bitsHow 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

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

  1. 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:.
  2. Paste it into the box above. Capital letters matter, so do not retype it in lowercase.
  3. Check the decoded vendor ID, product ID, and discriminator against what you expect for the device.
  4. Select Make the QR code and download it as PNG or SVG.
  5. 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.

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