Skip to main content
All Tools

QR Code Generator

A free QR code generator for links, text, WiFi networks, contact cards (vCard), calendar events, map locations, email, phone, SMS and WhatsApp. Download your code as a PNG or SVG, copy it to the clipboard, or add your logo in the middle. It all runs in your browser, so nothing you type or upload leaves your device.

0 bytes0% of M capacity (2331 bytes)
Enter a URL to generate a QR code

How to make a QR code and save it as a PNG

  1. Pick a content type from the menu above the fields, such as URL, WiFi or Contact, and fill in its fields. The code updates as you type.
  2. Pick a size and colors. Keep the foreground dark and the background light, since some scanners can't read inverted codes.
  3. Click PNG to download the image, named after the type (qrcode-url.png, qrcode-wifi.png and so on), or Copy to paste it straight into a document or chat. Click SVG instead if you need a vector file for print.

Make a WiFi QR code

Open the WiFi QR code generator, type the network name and password, and pick the security type. Print it for guests and you never have to read out a 20-character password again.

The network name and password have to match your router exactly, including capital letters and spaces, or the phone will fail to join without saying why. WPA/WPA2/WPA3 covers almost every home router sold in the last decade. Pick WEP only for very old hardware, and None for an open network. Turn on Hidden network if your router doesn't broadcast its name.

On an iPhone or a recent Android phone, the built-in camera reads the code and offers to join the network, with no app needed.

Make a contact (vCard) QR code

The contact QR code generator builds a vCard, the same format your phone uses when you share a contact. Scan it and the phone offers to save a new contact with the name, company, job title, phone numbers, email, website, address and note you filled in. Only the name or company is required, and empty fields are left out.

Every field you add makes the code denser. A business card with a name, mobile number and email gives a small code that scans easily from a printed card, while adding a full address and a long note can double its size. Keep it short if the code will be printed small.

Make a calendar event QR code

With the calendar event QR code generator, enter a title, start and end, and optionally a location and description. Scanning it opens the phone's calendar with the event ready to add, which works well on posters and invitations.

Times are entered in the time zone you choose (your own by default) and converted to UTC inside the code. The scanning phone converts them back to its local time, so someone in another zone sees the right local time for a call or a livestream. Tick All-day for birthdays and conferences, and the event stays on the same date everywhere.

Long descriptions make the code dense quickly. If you have more than a couple of sentences, put the details on a web page and add the link to the description instead.

Make a location QR code

The location QR code generator encodes a latitude and longitude that opens in the phone's maps app. The quickest way to fill it is to copy coordinates from Google Maps (right-click a spot and click the numbers) and paste the pair, like "51.5007, -0.1246", into the latitude field. Both fields fill in.

If you're standing at the place you want to share, click Use my location. Your browser asks for permission first, and the position only goes into the fields on this page.

Other QR code types

Email opens a new message to the address you enter, with the subject and body already filled in. Phone starts a call, and SMS opens a text message with your message ready to send. WhatsApp opens a chat with the number you give it. Include the country code (+44 7700 900123, not 07700 900123), because WhatsApp links only work with the full international number.

A file is far too large to fit inside a QR code. To hand someone a file with a scan, drop it on the share page instead. The sharing dashboard shows a QR code for the link.

Add your logo to a QR code

Upload a PNG, JPEG, WebP or GIF image and it sits in the center of the code. With Excavate on, the squares behind the logo are cleared so the image stays crisp.

The logo hides part of the code, so the generator switches error correction to H, which lets a scanner rebuild up to 30% of missing data. Keep the logo at about 25% of the code's width or less. Past that, scans start to fail, so test with a phone before printing.

Can you turn an image into a QR code?

Not directly. A QR code holds at most about 3 KB of data, and even a small photo is a few hundred KB, so the picture can't fit inside the code. Sites that "convert a PNG to a QR code" upload your image and encode a link to it.

You can do the same without handing the image to anyone. Drop it on the share page, and you get a link. The sharing dashboard shows a QR code for that link, and whoever scans it downloads the image directly from your browser. The catch is that your tab has to stay open while they do. How SpectrShare works explains the peer-to-peer transfer.

QR code FAQ

Should I download a PNG or an SVG?

Use PNG for websites, slides and messages, where a fixed-size image is fine. Use SVG for print, signs or anything you'll resize, because it's a vector file and stays sharp at any size. Both files include your logo if you added one.

What does the error correction level mean?

It's how much of the code can be damaged or covered and still scan: L recovers about 7%, M 15%, Q 25% and H 30%. Higher levels add redundant data, so the code gets denser and holds less. Use H if you add a logo or the code might get scuffed.

What size should I print a QR code?

A rough rule is that a phone can scan a code from about 10 times its printed width. A 2 cm code works from about 20 cm away, and a 30 cm poster from about 3 meters. Shorter links produce fewer, larger squares, which scan from farther away.

Does scanning a WiFi QR code work on iPhone and Android?

Yes. On an iPhone with iOS 11 or later, point the Camera app at the code and tap the banner to join. On Android 10 or later, the Camera app or Google Lens shows the network and connects with one tap. Either way, nobody has to type the password.

Why are calendar event times converted to UTC?

So the event lands at the right moment for everyone. I convert the start and end from the time zone you pick into UTC, and the phone that scans the code converts them back to its own zone. A 9:00 meeting in London shows up as 4:00 for someone in New York, which is what you want. All-day events skip the conversion and stay on the same date everywhere.

Is my WiFi password sent anywhere?

No. The password goes into the QR image and nowhere else. The code is drawn in your browser, nothing is uploaded, and SpectrShare never sees the network name or password. Anyone who can see the printed code can read the password from it, though, so only put it where you'd be happy to tell people the password.

Is anything I type or upload sent to a server?

No. The QR code is drawn by JavaScript in your browser, and your logo is read locally from your disk. SpectrShare never sees the text you encode or the image you add.