eSIM QR Code Generator
Turn an eSIM activation code into a QR code: enter the SM-DP+ address and activation code from your provider and scan the code with your phone, or get a link that installs the eSIM on an iPhone.
Input
Output
Readme
What is an eSIM QR code?
When you buy an eSIM, from your carrier or from a travel eSIM shop, the provider gives you an activation code. Usually it comes as a QR code, but some providers send it as text: an SM-DP+ address (the server that holds your eSIM profile, such as smdp.example.com) and an activation code (a string of letters, digits and hyphens). Phones scan the QR code to download the profile, so turning the text into a QR code saves you typing it in by hand.
Inside the QR code is one line that starts with LPA:1, followed by the SM-DP+ address and the activation code, separated by dollar signs. This format comes from the GSMA's eSIM specification (SGP.22), so every phone that supports eSIM reads it the same way.
How to make one
- Type or paste the SM-DP+ address. If you have the whole code, starting with LPA:1$ or 1$, paste it into this field and the other fields fill in by themselves.
- Enter the activation code. Some providers use an empty activation code; then leave the field empty.
- Fill in the SM-DP+ OID only if your provider gave you one. Most don't.
- Tick "Confirmation code required" if your provider also gave you a confirmation code (a PIN). The phone then asks for it while it installs the eSIM. The confirmation code itself isn't put in the QR code.
Then scan the QR code with the phone. An iPhone's Camera app recognizes it and offers to add the plan. On Android, open the SIM section of the settings (its name differs by brand, such as SIMs or SIM manager) and choose to add an eSIM with a QR code. You can download the QR code as a PNG, JPG, WebP or SVG image and change its size and colors, but keep a strong contrast so phones can still read it.
Installing on the same iPhone
A phone can't scan a QR code shown on its own screen. On an iPhone with iOS 17.4 or later, the iPhone install link does the same job: send the link to the iPhone, open it there, and the eSIM setup starts. It works with Apple's own eSIM setup page, so it only does something on an iPhone.
Keep the code private
An activation code usually works only once, and whoever scans it first gets the eSIM. Don't post the QR code or the install link anywhere public. The code is made in your browser and is never sent anywhere.