This page is an online two dimensional code generator which is written in PHP. It can generate QR Code, Data Matrix, Aztec Code and Micro QR Code.
Using the form on this page, you can create two dimensional code images that trigger various actions on the scanner device. Don’t forget to install Qrafter or Qrafter Pro (why two versions?) to scan and generate QR Codes if you have an iPhone or iPad. So far, this page created 4,993,496 codes since I started counting in January, 2010.
Please be sure to read the Notes and FAQ sections below before requesting help in the comments if you encounter any problems with code generation (Especially for Micro QR Codes or backslash characters you may encounter on some codes!).
This page is very popular and because of that, it gets an incredible amount of comment spam. Sometimes legitimate comments can get caught as spam and I can miss them, so if your comment does not appear after some time, you can contact me from the email address on my contact page.
READ THIS FIRST:
I am getting many questions about scanning the codes created on this generator. Most of them are about some problem with the scanner not detecting the content of the code properly. This generator follows established standards strictly and most scanner apps except Qrafter and Qrafter Pro for iOS don’t follow those standards completely. So, if you somehow end up with an unexpected result after scanning a code, it is because that your scanner was developed lousily. If you are on iOS, use Qrafter or Qrafter Pro for guaranteed standards compatibility. For other platforms, please contact the developers of your scanner app to tell them to start following the standards that were established for a reason.
Notes:
You can follow me or Qrafter on Twitter.
QR Code is far more widespread than Data Matrix, Aztec Code or Micro QR Code. Actually Micro QR Code is rarely used and is only given here as a technology preview. If you want to create a campaign for your products using a 2D Code, make sure that you are using QR Codes, not the other types.
Data Matrix and Aztec Code have significantly lower capacity (4096 alphanumeric characters for QR Code, 3067 for Aztec Code and 2335 for Data Matrix), so if you would like to encode a lot of text, select QR Code.
To create the best readable code for long URLs, use one of the URL shortening services so that the resulting code is as small as possible. I personally prefer bit.ly over the others.
Micro QR Code cannot hold more than 35 numeric and 21 uppercase alphanumeric characters, and it can hold even less characters when you use lowercase characters. When encoding a URL into a Micro QR Code, try using all uppercase characters for longer URLs. I don’t know of a scanner that supports Micro QR Code though.
If your input cannot be encoded, the generator will give a warning. In that case, lower the character count in your input and try again.
If your device cannot interpret the encoded 2D Code properly, it probably means your scanner program is written poorly or does not have the capability of decoding that particular code format; or your device does not accept that action, because all codes created by this script and the content within them are compliant to all necessary published standards (vCard standards, URL encoding schemes, NTT DoCoMo standards, etc.).
While we are talking on standards, let me open the topic up a little bit more. Sadly most scanners out there do not follow special character escaping standards. Characters like “:” or “;” are special characters in vCard, meCard or vEvent specifications, and they should be properly escaped for the input to be interpreted correctly. This generator follows these standards correctly, and so a URL field like “http://example.com” becomes “http\://example.com” after escaping. The problem is, some scanners do not know how to handle this escaped character and break altogether. If you encounter such problem, select No for Escape Special Characters in vCard, meCard or vEvent creation. But while you will be able to read those QR Codes in broken scanners, be aware that, your 2D Code will not be standards compliant and you may not be able to add a URL that includes a second colon (for example as a port number separator) or semicolon when you do that. If you are on iPhone or iPad, I strongly suggest that you ditch your broken scanner and download Qrafter or Qrafter Pro. They are fully compliant to said standards. This way, I hope that developers will be forced to create scanners that obey standards that were established for a reason.
Data Matrix, Aztec Code and Micro QR Code do not support characters other than ASCII because of their spec, so if your input has international characters, always use QR Code. Another caveat of Micro QR Code is that, it is not supported by most of the scanner programs out there. As for Kanji and Cyrillic characters, again, only QR Code should support them.
Always use dark colors for foreground color and light colors for background color. If there is not enough contrast between foreground and background colors, your device will most probably fail to decode the code. Another warning: The EPS version I had to use does not support transparency, so you should use another format if you are going to have transparent foreground or background in your codes.
Twitter Profile Image Overlay option overlays your Twitter profile image onto a code that includes your Twitter profile URL. Images created with this option will behave very oddly with vector image formats. You have been warned! 🙂
Currently you can do the following actions with 2D codes generated with this form:
- You can browse to a website.
- You can bookmark a website.
- You can make a phone call.
- You can send a short message.
- You can send an e-mail.
- You can create a vCard (v2.1 or v3.0) with coordinates to add a contact to your device.
- You can create a meCard to add a contact to your device.
- You can create a vCalendar event to add to your calendar.
- You can create iTunes app and review URLs for iOS devices.
- You can create
market://
URLs for searching for publishers or packages on Market app for Android. - You can create Foursquare venue URLs.
- You can create special
youtube://
URLs for YouTube app on iOS. - You can fetch and encode the latest tweet of a Twitter user.
- You can overlay a Twitter profile image over the code.
- You can create a mobile URL to tweet on Twitter.
- You can connect to a WIFI network on Android devices.
- You can read plain or free formatted text on your device.
You can change the block size of the generated image to make it bigger or smaller. Also, you can change the margin size of the image to add more quiet zone if your decoder cannot decode it (Especially Data Matrix seems to need bigger margin sizes). Error correction level for QR Code (ignored for other code types) can be set to 4 different values and higher values may cause the image to be decoded slightly slower. The 4 values can be explained like this:
- Low (L): Up to 7% of errors can be corrected.
- Medium-Low (M): Up to 15% of errors can be corrected.
- Medium-High (Q): Up to 25% of errors can be corrected.
- High (H): Up to 30% of errors can be corrected.
You can choose PNG, PDF, SVG or EPS outputs. SVG will output a vector image XML file, and you can edit it in applications like Adobe Illustrator or Inkscape.
Please be aware that while I make checks for illegal characters to protect my server, I do not check your input for a meaningful value.
The image generation is done using third party encoders. I have only written a handy PHP front end that formats your input and passes it to these encoders.
A note about printing from Roy, a fellow user of this generator: When codes are generated, they are created in RGB (my note: yes even if they are black and white, they are in RGB colorspace) and if they are used in printing, they should be converted to grayscale or CMYK so that, when printed, only the black plate is used. This ensures the highest edge resolution, particularly in smaller sizes.
QR Code Scanners:
The best scanner apps for iPhone and iPad are Qrafter and Qrafter Pro. They are available on the App Store. They are designed for both iPhone and iPad and Qrafter is free with advertisements, while Qrafter Pro is paid with no advertisements. They are able to understand all actions on this generator (and more) and are the most advanced scanners for QR Codes on iPhone and iPad.
For Android, the best option seems to be the Barcode Scanner app from ZXing.
For Nokia Maemo/Meego, you can use Mbarcode according to Ryks, another commenter.
For other devices, you may find one, suitable for your device from Kaywa or QuickMark.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in the United States and other countries.
Qrafter is a registered trademark of Kerem Erkan in the United States, European Union and other countries.
FAQ:
Here is an updating list of frequently asked questions.
Q: Can I change the content of a code I created if I find a mistake?
A: The codes generated on this generator are standalone, which means they have no connection to this generator after being generated. This also means they include the content directly inside them, and if the content needs to change, the generated code image will change. Please test your code images with as many devices and scanner apps as possible to avoid any problems after printing the codes.
Q: Why do I get unwanted characters like a backslash (\) or semicolon (;) in the result when I scan a QR Code?
A: You are using a QR Code reader that cannot parse the contents of QR Codes correctly. Many readers are especially weak at parsing vCards. Use a proper app from the QR Code Scanners list on this page.
Q: Do you harvest the information I enter into this form?
A: No, I don’t use the information you enter to this form in any means. After you create your 2D Code, the information is removed from my server.
Q: Can I track the scan information for the 2D Codes I create on this generator?
A: You can’t track the 2D Codes you create on this generator unless you create your own trackable URL (for example a bit.ly URL) and then enter that URL to generate a QR Code for it on this page.
Q: Do the 2D codes that were created on this generator have an expiration date?
A: No, all codes generated on this generator can be used as long as you want.
Q: Can I use the codes I create on this generator commercially? Do I need to pay any fees?
A: You can use the codes created on this generator both commercially and personally. There are no fees to pay. The only favor I ask back is the promotion of Qrafter or Qrafter Pro on your site as your recommended reader app for iOS devices. But it is only a request, you are not obliged to do that. 🙂
Q: What is the minimum size for a QR Code so that it can be scanned with all devices?
A: The answer to this question cannot be given with exact proportions. New devices with autofocus cameras can scan very small QR Codes, but old devices that don’t have autofocus cameras will have problems with scanning codes smaller than one or two inches. Also it depends on the size of the information that you put into the QR Code. You need to test your QR Code with many devices, old and new to find the best compromise.
Q: Can I overlay an image on top of the QR Code like the one in “Twitter Profile Image Overlay” action of this generator?
A: Yes you can. Create a QR Code with highest error correction and select a vector output. This way, using your preferred image editor, you can overlay an image that’s up to 30% of the QR Code. Be careful not to overlay the image on top of the 3 alignment squares though.
Are you able to create a qr code for pictures? If so, how can I do this on the IPad?
You can’t do that. Even a small picture has too much information to be encoded into a QR Code.
How do you add to the clipboard contents on the IPad?
I could not understand your question. Can you be more specific?
Hi Kerem,
do you know about any app that automatically sends vcard data as vcf file to a predefined mail address? I don’t need address data in my phone, I need them in mail client…
Thanks and regards,
Tim
PS
What about the size of your QR codes? I cannot use them as long as they nearly cover the whole screen and I can’f find any option to create them with normal size?
Hi Tim,
There is no such app as far as I know. You can send the vCard after scanning it though, if you are using Qrafter or any app that recognizes vCards.
The codes my generator creates are streched on the screen. You need to right click and save them to your computer. Then you can use an image processing app like Photoshop to get them to your preferred size.
Hi Kerem:
Is there a way to have the code automatically launch the url or does it always go to a “click” option?
That’s a choice made on the reader side Brad, it’s not something about the content of the QR Code.
Urgent: Why are QR Codes generated by different generators with same error correction settings different?
Hi Kerem,
Excellent & nice work here.
How can I make a QR vCard for a Spanish guy?
It means using words with accent and another language (char set)
all the best
Hi Saul,
You can already do that. The generator had a problem with accented letters but I corrected it a few moments ago.
Hi Kerem,
Your QR code generator no longer accepts æ ø å (as in Norwegian language), though it used to do. Why is this?
Thanks,
Pia
Hi Pia,
Corrected the problem.
That was quick! Thanks 🙂
Hi Kerem,
Thanks for the above, I’ve created a new code and now having further issues:
I’ve generated a code that goes here : au.oakley.com/cipher
but other peoples QR code readers are taking them to: ca.oakley.com (our Canadian website)
This is very strange as my QR code reader takes me to the correct site. Do you know why this would be happening?
Thanks,
Neil
Hi there,
I created a code on here to use for a campaign we are doing here at Oakley.
The code initially worked fine but I tested the codes on after they were printed and in-store and I’m getting the error message:
“your generator session seems to have expired. Please refresh the page”
1. I urgently need to fix this, do you have any idea why this would have happened?
2. Do you know of a solution to this, will I need to re-create a code, or can the original code be fixed?
Cheers,
Neil
had the codes printed I a
Hi Neil,
It seems like you did not save the code to your computer and continued serving it from my site. You should save it to your computer and continue testing using that file.
You’ll need to recreate a new code. The current one cannot be fixed. I’ll take the necessary measures to make sure this does not happen again.
Is it possible to embed more details on one QR code – e..g website, Facebook and twitter?
If you are using Qrafter or Qrafter Pro, you can create a vCard with website, Facebook, Twitter, and other social networks. Adding them to this generator will make it complicated, but I’ll find a way to make it look less complicated in the near future.
That would be great
Excellent work here. Thanks much.
Curious, is there an API available for this? I have to batch generate about 200 QR codes for vCalendar events.
Currently there is no API, I am working on that.
how can i create identification system with one place for caring identification and two mobile aplications , one for identificate somenoe with diplaying QR code ond the screen , and the other for identification-scan QR code and check in central base if it s correct person, help please
Phew… I just read through 24 pages of comments and didn’t really see an answer to my question. Hope I didn’t just miss it.
Regarding vCard address fields, I’ve noticed that street, city, state, zip all get inserted into the street field when scanning a code and adding a contact. What I’m not clear about is whether this is a limitation of your generator, a limitation of the vCard format (I’m not sure there is a way to split those fields), or a limitation of the reader I am using (Barcode Scanner and QRDroid, both on Android). Can you tell me where the problem is, and if there are any ways to work around it so that the fields are separated when saving a contact?
Also, in your notes section it says “You can create a vCard (v2.1 or v3.0) with coordinates to add a contact to your device.”. However, I don’t see a way to add coordinates, though it does appear that the vCard format supports this via the GEO field.
Thanks for all of your work on this… I am going to try out Qrafter on my iPad this weekend… looks great.
Hi Paul,
That’s the limitation of the reader. It can’t parse the address correctly. And I removed the GEO field from the vCard because neither iPhone nor Android supports it. I forgot to correct the documentation it seems.
I think I found a bug in your website generator. If you say you want a transparent background in an EPS, you sill end up with white backgrounds between the bits of code.
Jeff, as you can see in the Notes section, the EPS output of the generator currently does not support transparency.
I am trying to create a QR that will automatically BOOKMARK a website to a smartphone
I get this:
MEBKM:TITLE:OE;URL:www.officeessentials.com
thanks very much
and you have a great site
Please put “http://” before the URL Mike. I’ll try to correct this issue in the next release of Qrafter. Be aware that automatic bookmarking is impossible on iPhone.
Hi I wanted to know if I can track the performance of the QR Code?
Please see the FAQ section Chris.
Hi, I am a graphic designer and I am starting a “custom branded” QR site. I need to add a QR Code Generator to my site and prefer yours. Is there any way to use your Generator on my site? I would exclusively recommend Qrafter as the scanner of choice. Thanks!
Yes, Kanji characters are readable with images generated by your PHP program. Well done 🙂
Thanks Li-cheng!
Hi Kerem
This is the link from iTunes linkmaker.
http://itunes.apple.com/us/artist/liquid-air-lab/id300985750?uo=4
When I click on it with a browser (on a laptop), it works and redirects to open iTunes appstore. I don’t know if it does the same via iPhone or iPad.
Thanks for your help!
Yes it does. iPhone handles such URLs correctly and opens the App Store or iTunes apps automatically. You can also write itms:// instead of http:// and it will do the same thing.
I get “your generator session seems to have expired. Please refresh the page”
I’ve tried multiple browsers aside from of course refreshing the page and still get this error.
Also, I don’t suppose there’s any way to upload a csv file for multiple qr codes? or if you know of another site that could do this?
Thanks
Sorry about the problem. It was a configuration error on my side. It is all fixed now. Currently there is no way to upload a csv file, but I am working on that.