QR-Tools

What is QRTools:

QRTools generate QR codes from a URL which is first shorten using goo.gl API.

QRTools can also be used to generate QR codes only (as PNG mime type) for shortened and unshortened URLs.

In attition QRTools can be used as a bookmarklet to generate QR codes on the fly for the pages you are reading.

Usage:

QRTools as a URL shortener:

You can submit a URL at http://qr-tools.appspot.com to generate a shortened URL and a QR code for it.

You can also use a direct URL to QRTools in order to generate the shortened URL and QR, in the form of:

http://qr-tools.appspot.com?url=[URL]

Remember to URLEncode the URL you want to convert.

This function supports both GET and POST requests.

QRTools as a QR PNG generator:

QRTools can generate PNG images of a URL's QR that can be used as img src using a direct URL.

With this method it is possible to generate QR codes for both shortened and unshortened URLS:

For shortened URL use:

http://qr-tools.appspot.com/qr?[url=[URL]

Remember to URLEncode the URL you want to convert.

For unshortened URL, Text or Phone Numbers use:

http://qr-tools.appspot.com/qrl?[url|text|phone]=[URL|String|Phone #]

Remember to URLEncode the URL you want to convert.

By default QRTools will generate a 250px X 250px image of a QR with Low error recovery.

Text and Phone # QRs cannot be shortened.

These properties can be modified (for bot qr/ and qrl/ calls), by adding the following parameters to the image call:

sz=[image width]

err=[error level]

Like so:

http://qr-tools.appspot.com/qr?url=[URL]&sz=500&err=H

http://qr-tools.appspot.com/qrl?[url|text|phone]=[URL|String|Phone #]&sz=500&err=H

These image calls will generate QR with of 500px X 500px with a High level of error recovery.

For example: the URL http://www.google.com would generate the following QR image:

http://qr-tools.appspot.com/qrl?url=http://www.google.com&sz=100

using the following HTML tag:

<img src='http://qr-tools.appspot.com/qrl?[url|text|phone]=[URL|String|Phone #]&sz=100&err=[L|M|Q|H]' />

where: url=[URL]        = http://www.google.com => http%3A%2F%2Fwww.google.com
       text=[String]    = This is a string! => This+is+a+string%21
       phone=[Phone #]  = 01-234-5678 or 01 234 5678 or 012345678
       
       sz=[image width] = 100 => 100px X 100px image
       err=[L|M|Q|H]    = L => Low error recovery

Please note that the 'sz' and 'err' parameters are optional and do not need to be specified.

This function supports both GET and POST requests.

QRTools as a Bookmarklet for URLs:

You can add QRTools to your browser's bookmarks tool bar as a bookmarklet in order to generate QR codes for the pages you are reading.

At present the bookmarklet only generates a 250px X 250px image of a QR with Low error recovery. Also the URL is shortened by default (for easier reading on mobile devices).

To add the bookmarklet to you browser's bookmarks tool bar simply drag and drop the following button on the toolbar:

Generate QR
Click the button to test the Bookmarklet.

Or create a new bookmark using the following code as URL or Location:

javascript:void((function(){j=document.createElement(%22SCRIPT%22); j.src=%22http://qrtools.appspot.com/scripts/QRgen.js%22; document.getElementsByTagName(%22HEAD%22)[0].appendChild(j); })())

To use the bookmarklet simply open a webpage and once it finishes loading click on the bookmarklet. The generated code will appear on the top right corner.

Appendix: QR codes Error Recovery

Error correction capacity
Level L 7% of codewords can be restored.
Level M 15% of codewords can be restored.
Level Q 25% of codewords can be restored.
Level H 30% of codewords can be restored.